PDA

View Full Version : Too Many Modules loaded



haidara
10-04-2003, 03:54 PM
Hello,

I have installed Knoppix on the harddrive, things are working OK, but I have noticed that there are too many modules loaded (using lsmod), most of them are not used. I know those were probably needed to autodetect the hardware but is there any way to prevent them from loading.. here is the output of my lsmo:


[knoppix@compaq knoppix]$ lsmod | sort
8139too 15816 0 (unused)
Module Size Used by Not tainted
ac 1824 0 (unused)
ac97_codec 13556 0 [i810_audio]
adma100 840 0 (autoclean) (unused)
aec62xx 5988 0 (autoclean) (unused)
af_packet 13640 0
agpgart 41752 1
alim15x3 7764 0 (autoclean) (unused)
amd74xx 10084 0 (autoclean) (unused)
autofs4 9876 0 (unused)
battery 5760 0 (unused)
cdrom 29152 0 (autoclean) [sr_mod ide-cd]
cmd640 2916 0 (autoclean) (unused)
cmd64x 8004 0 (autoclean) (unused)
crc32 2912 0 [8139too]
cs5530 3728 0 (autoclean) (unused)
cy82c693 2156 0 (autoclean) (unused)
ds 7060 1 [orinoco_cs]
ext3 65188 1 (autoclean)
fan 1632 0 (unused)
fat 32088 0 [msdos]
fbcon-cfb16 4168 0 (autoclean) [vesafb]
fbcon-cfb24 4456 0 (autoclean) [vesafb]
fbcon-cfb32 3816 0 (autoclean) [vesafb]
fbcon-cfb8 3560 0 (autoclean) [vesafb]
generic 1928 0 (autoclean) (unused)
hermes 6020 0 [orinoco_cs orinoco]
hid 21892 0 (unused)
hpt34x 2504 0 (autoclean) (unused)
hpt366 15492 0 (autoclean) (unused)
i810_audio 24476 1
ide-cd 32448 0 (autoclean)
ide-core 98968 2 (autoclean) [ide-cd ide-detect trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415 hpt366 ide-disk hpt34x generic cy82c693 cs5530 cmd64x cmd640 amd74xx alim15x3 aec62xx adma100 pdc202xx_new]
ide-detect 10832 0 (autoclean)
ide-disk 16800 2 (autoclean) [hpt366]
input 3648 0 [hid mousedev]
jbd 42340 1 (autoclean) [ext3]
lp 7168 0 (autoclean)
mii 2496 0 [8139too]
mousedev 4340 1
msdos 6124 0 (unused)
nls_iso8859-1 2844 0 (unused)
ns87415 2056 0 (autoclean) (unused)
ntfs 54624 0 (unused)
opti621 2668 0 (autoclean) (unused)
orinoco 35668 0 [orinoco_cs]
orinoco_cs 4596 1
parport 26568 1 (autoclean) [parport_pc lp]
parport_pc 23816 1 (autoclean)
pcmcia_core 47200 0 [orinoco_cs ds yenta_socket]
pdc202xx_new 7972 0 (autoclean) (unused)
pdc202xx_old 11460 0 (autoclean) (unused)
piix 8328 1 (autoclean)
processor 8344 0 [thermal]
radeon 80884 0
rtc 6792 0 (autoclean)
rz1000 1064 0 (autoclean) (unused)
sc1200 5264 0 (autoclean) (unused)
scsi_mod 95360 1 (autoclean) [sr_mod]
serverworks 8348 0 (autoclean) (unused)
siimage 9092 0 (autoclean) (unused)
sis5513 11792 0 (autoclean) (unused)
slc90e66 4848 0 (autoclean) (unused)
soundcore 3940 2 [i810_audio]
sr_mod 14776 0 (autoclean) (unused)
thermal 6276 0 (unused)
triflex 2476 0 (autoclean) (unused)
trm290 2506 0 (autoclean) (unused)
unix 15532 106 (autoclean)
usb-uhci 23696 0 (unused)
usbcore 63468 0 [hid usb-uhci]
vesafb 9992 63 (autoclean)
yenta_socket 10816 1


thanks

Dave_Bechtel
10-06-2003, 07:05 AM
--Good Lord... I've never seen that many modules loaded that didn't need to be. As root, edit /etc/modules and '#' comment out the ones you don't need. I did this for things like ntfs and xfs that I'll never use.


Hello,

I have installed Knoppix on the harddrive, things are working OK, but I have noticed that there are too many modules loaded (using lsmod), most of them are not used. I know those were probably needed to autodetect the hardware but is there any way to prevent them from loading.. here is the output of my lsmo:


[knoppix@compaq knoppix]$ lsmod | sort
8139too 15816 0 (unused)
Module Size Used by Not tainted
ac 1824 0 (unused)
ac97_codec 13556 0 [i810_audio]
adma100 840 0 (autoclean) (unused)
aec62xx 5988 0 (autoclean) (unused)
af_packet 13640 0
agpgart 41752 1
alim15x3 7764 0 (autoclean) (unused)
amd74xx 10084 0 (autoclean) (unused)
autofs4 9876 0 (unused)
battery 5760 0 (unused)
cdrom 29152 0 (autoclean) [sr_mod ide-cd]
cmd640 2916 0 (autoclean) (unused)
cmd64x 8004 0 (autoclean) (unused)
crc32 2912 0 [8139too]
cs5530 3728 0 (autoclean) (unused)
cy82c693 2156 0 (autoclean) (unused)
ds 7060 1 [orinoco_cs]
ext3 65188 1 (autoclean)
fan 1632 0 (unused)
fat 32088 0 [msdos]
fbcon-cfb16 4168 0 (autoclean) [vesafb]
fbcon-cfb24 4456 0 (autoclean) [vesafb]
fbcon-cfb32 3816 0 (autoclean) [vesafb]
fbcon-cfb8 3560 0 (autoclean) [vesafb]
generic 1928 0 (autoclean) (unused)
hermes 6020 0 [orinoco_cs orinoco]
hid 21892 0 (unused)
hpt34x 2504 0 (autoclean) (unused)
hpt366 15492 0 (autoclean) (unused)
i810_audio 24476 1
ide-cd 32448 0 (autoclean)
ide-core 98968 2 (autoclean) [ide-cd ide-detect trm290 triflex slc90e66 sis5513 siimage serverworks sc1200 rz1000 piix pdc202xx_old opti621 ns87415 hpt366 ide-disk hpt34x generic cy82c693 cs5530 cmd64x cmd640 amd74xx alim15x3 aec62xx adma100 pdc202xx_new]
ide-detect 10832 0 (autoclean)
ide-disk 16800 2 (autoclean) [hpt366]
input 3648 0 [hid mousedev]
jbd 42340 1 (autoclean) [ext3]
lp 7168 0 (autoclean)
mii 2496 0 [8139too]
mousedev 4340 1
msdos 6124 0 (unused)
nls_iso8859-1 2844 0 (unused)
ns87415 2056 0 (autoclean) (unused)
ntfs 54624 0 (unused)
opti621 2668 0 (autoclean) (unused)
orinoco 35668 0 [orinoco_cs]
orinoco_cs 4596 1
parport 26568 1 (autoclean) [parport_pc lp]
parport_pc 23816 1 (autoclean)
pcmcia_core 47200 0 [orinoco_cs ds yenta_socket]
pdc202xx_new 7972 0 (autoclean) (unused)
pdc202xx_old 11460 0 (autoclean) (unused)
piix 8328 1 (autoclean)
processor 8344 0 [thermal]
radeon 80884 0
rtc 6792 0 (autoclean)
rz1000 1064 0 (autoclean) (unused)
sc1200 5264 0 (autoclean) (unused)
scsi_mod 95360 1 (autoclean) [sr_mod]
serverworks 8348 0 (autoclean) (unused)
siimage 9092 0 (autoclean) (unused)
sis5513 11792 0 (autoclean) (unused)
slc90e66 4848 0 (autoclean) (unused)
soundcore 3940 2 [i810_audio]
sr_mod 14776 0 (autoclean) (unused)
thermal 6276 0 (unused)
triflex 2476 0 (autoclean) (unused)
trm290 2506 0 (autoclean) (unused)
unix 15532 106 (autoclean)
usb-uhci 23696 0 (unused)
usbcore 63468 0 [hid usb-uhci]
vesafb 9992 63 (autoclean)
yenta_socket 10816 1


thanks