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. |
have a look at /etc/modules
|
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. |
Which modules do you think you dont need. You could blacklist them in hotplug or discover. See how you go.
|
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. |
Same problem
Hello All!
I have a same problem. Anybody can help? |
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 |
you can just type
rmmod modulename to remove the modules, and to stop them from loading, maybe /etc/hotplug/blacklist? |
Same problem
Quote:
But how can I load e100 instead eepro100? |
All times are GMT -5. The time now is 08:41 AM. |