LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Loading modules in Debian 3.1(kernel 2.6) (https://www.linuxquestions.org/questions/debian-26/loading-modules-in-debian-3-1-kernel-2-6-a-332405/)

swmok 06-11-2005 02:05 AM

Loading modules in Debian 3.1(kernel 2.6)
 
Hi All:

I've installed the Debian 3.1 (with kernel 2.6).
When I type "lsmod", there are a lot of modules which I don't need:
Module Size Used by
ipt_MASQUERADE 3968 6
iptable_nat 22828 2 ipt_MASQUERADE
ip_conntrack 32908 2 ipt_MASQUERADE,iptable_nat
iptable_filter 3072 0
ip_tables 16896 3 ipt_MASQUERADE,iptable_nat,iptable_filter
ipv6 229892 6
psmouse 17800 0
evdev 9088 0
pcspkr 3816 0
uhci_hcd 29328 0
ohci_hcd 19460 0
ehci_hcd 27908 0
usbcore 104164 3 uhci_hcd,ohci_hcd,ehci_hcd
eepro100 28300 0
pci_hotplug 30640 0
intel_agp 20512 1
e100 30080 0
mii 4864 2 eepro100,e100
agpgart 31784 1 intel_agp
capability 4872 0
commoncap 7168 1 capability
ide_cd 38176 0
cdrom 35740 1 ide_cd
genrtc 9332 0
ext3 109672 1
jbd 54552 1 ext3
ide_generic 1664 0
piix 12448 1
ide_disk 16768 3
ide_core 125028 4 ide_cd,ide_generic,piix,ide_disk
unix 26036 14
font 8576 0
vesafb 6688 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 3712 1 vesafb

Which file I should amend? or What should I do?
such that the system don't load these modules initially.

Thanks.

mrcheeks 06-11-2005 02:31 AM

have a look at /etc/modules

swmok 06-13-2005 03:35 AM

Hello:

I found that the "/etc/modules" contains the following modules only.

ide-cd
ide-disk
ide-generic
psmouse


How can I remove other modules or stop load it at start up?

Thanks.

short101 06-13-2005 03:45 AM

Which modules do you think you dont need. You could blacklist them in hotplug or discover. See how you go.

swmok 06-13-2005 04:16 AM

Hi:

Thanks for your reply.

As my machine is rather OLD, I want to save memory as much as possible.
So, I want unload those related to USB, HOTPLUG, ... ...
Thanks.

DeIgor 06-22-2005 02:35 PM

Same problem
 
Hello All!
I have a same problem. Anybody can help?

crashmakerMX 06-23-2005 11:12 AM

I think the best way to save memory would be to compile your own kernel and select only the things you need.

i'm not using modules at all. everything i need is built-in

liquidtenmilion 06-23-2005 11:15 AM

you can just type

rmmod modulename

to remove the modules, and to stop them from loading, maybe /etc/hotplug/blacklist?

DeIgor 06-23-2005 12:16 PM

Same problem
 
Quote:

Originally posted by liquidtenmilion
you can just type

rmmod modulename

to remove the modules, and to stop them from loading, maybe /etc/hotplug/blacklist?

I tried with eepro100 and it loading again ((

But how can I load e100 instead eepro100?


All times are GMT -5. The time now is 08:41 AM.