You are not logged in.
Pages: 1
Hi all, i hope i'm in the right section of the forum
this is my lsmod output, i'm seeing that some modules are used by nobody (i guess the 0 means that...) so i was wondering if you think it's better if i unload them and blacklist on rc.conf
lsmod
┌─[smau @ neplero]-[~/Torrents]
└─[11:33:52]-[ $ ]> lsmod
Module Size Used by
ipv6 282582 16
tun 13261 2
cpufreq_ondemand 8085 0
freq_table 2395 1 cpufreq_ondemand
fuse 58564 4
snd_hda_codec_intelhdmi 15636 1
snd_hda_codec_idt 52475 1
arc4 1354 2
ecb 2017 2
b43 174524 0
ssb 45271 1 b43
snd_hda_intel 22642 1
mac80211 171772 1 b43
i915 291818 2
snd_hda_codec 68413 3 snd_hda_codec_intelhdmi,snd_hda_codec_idt,snd_hda_intel
uvcvideo 60298 0
snd_pcm_oss 39107 0
drm_kms_helper 23753 1 i915
uhci_hcd 21684 0
lib80211_crypt_tkip 8357 0
snd_pcm 70222 3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
i2c_i801 8550 0
videodev 38395 1 uvcvideo
drm 160140 3 i915,drm_kms_helper
i2c_algo_bit 4999 1 i915
snd_mixer_oss 17107 1 snd_pcm_oss
snd_hwdep 6244 1 snd_hda_codec
usbhid 38631 0
btusb 11500 0
snd_timer 19213 1 snd_pcm
r8169 34925 0
ehci_hcd 34938 0
lib80211 3942 1 lib80211_crypt_tkip
usb_storage 42489 0
st 36975 0
mmc_core 51748 2 b43,ssb
psmouse 53142 0
serio_raw 4536 0
joydev 9800 0
cfg80211 126658 2 b43,mac80211
i2c_core 17842 6 i915,drm_kms_helper,i2c_i801,videodev,drm,i2c_algo_bit
video 18746 1 i915
hid 75973 1 usbhid
snd 57203 11 snd_hda_codec_intelhdmi,snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_pcm,snd_mixer_oss,snd_hwdep,snd_timer
snd_page_alloc 7097 2 snd_hda_intel,snd_pcm
iTCO_wdt 9157 0
pcmcia 29850 2 b43,ssb
bluetooth 50955 1 btusb
mii 3834 1 r8169
evdev 8852 18
rfkill 15396 2 cfg80211,bluetooth
v4l1_compat 15610 2 uvcvideo,videodev
wmi 5957 0
v4l2_compat_ioctl32 10417 1 videodev
soundcore 6223 1 snd
speedstep_lib 3383 0
shpchp 31236 0
thermal 12079 0
iTCO_vendor_support 1873 1 iTCO_wdt
fan 3314 0
pcmcia_core 29736 1 pcmcia
led_class 2609 1 b43
output 1916 1 video
usbcore 144604 7 uvcvideo,uhci_hcd,usbhid,btusb,ehci_hcd,usb_storage
pci_hotplug 26754 1 shpchp
button 4746 1 i915
acpi_memhotplug 4138 0
processor 29639 2
battery 9612 0
ac 3091 0
intel_agp 28089 1
rtc_cmos 8990 0
rtc_core 14439 1 rtc_cmos
rtc_lib 1842 1 rtc_core
ext4 329882 1
mbcache 5658 1 ext4
jbd2 75681 1 ext4
crc16 1273 1 ext4
sd_mod 26984 5
ahci 35111 4
libata 154643 1 ahci
scsi_mod 94729 4 usb_storage,st,sd_mod,libata
rc.conf
MODULES=(ac acpi_memhotplug battery button processor video btusb intel-agp speedstep-lib drm_kms_helper drm i915 hid i2c-algo-bit i2c-i801 i2c-core evdev joydev !pcspkr !snd-pcsp psmouse serio_raw uvcvideo v4l1-compat v4l2-compat-ioctl32 videodev mmc_core pci_hotplug shpchp wmi rtc-cmos rtc-core rtc-lib !ssb output iTCO_vendor_support iTCO_wdt snd-mixer-oss snd-pcm-oss snd-hwdep snd snd-page-alloc snd-pcm snd-timer snd-hda-codec snd-hda-intel soundcore scsi_mod ahci mii r8169 bluetooth rfkill lib80211_crypt_tkip b43 !wl !lib80211 pcmcia_core pcmcia usbhid usbcore usb-storage ehci-hcd uhci-hcd sd_mod st)
Offline
'Used by 0' means the module is not required by any other currently loaded module. These modules are loaded because they are required to drive your hardware.
You can test this by removing, or rather not loading, b43 for example, and then attempting to connect your wifi device.
Offline
lsmod | grep " 0 " would have given a cleaner output.
How do you expect it to help your situation if you're unloading those modules? In my experience neither power consumption nor boot time get reduced by doing so. All you'll have are a few less modules which will have to be loaded again in case they are needed by certain hardware.
So, imho blacklisting modules should only be done if there is a conflict between modules or if you just don't want a certain function. For instance if the module pcspkr get's in the way of snd-hda-intel like it is (was?) with some intel systems. Or if you have two ethernet cards and they get confused by your system.
Regards,
demian
Last edited by demian (2010-04-15 07:09:39)
no place like /home
github
Offline
Pages: 1