[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian modules



JJ van Gorkum wrote:
Jim Popovitch wrote:
I've installed Debian Sarge on a few *servers*, and I see that the
default kernel loads many more modules than I need (snd_*, floppy,
vesafb, etc.)  Is there a way to prevent Sarge from loading a bunch of
crap automatically?

Jim,

We are all shooting in the dark here... can you post the output of a
lsmod and lspci so we can see what we are talking about...

Here's the lspci output from a server (running 2.6.8-3-686):

0000:00:00.0 Host bridge: Intel Corp. 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02) 0000:00:02.0 VGA compatible controller: Intel Corp. 82865G Integrated Graphics Device (rev 02) 0000:00:1d.0 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #1 (rev 02) 0000:00:1d.1 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #2 (rev 02) 0000:00:1d.2 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #3 (rev 02) 0000:00:1d.3 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB UHCI #4 (rev 02) 0000:00:1d.7 USB Controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
0000:00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev c2)
0000:00:1f.0 ISA bridge: Intel Corp. 82801EB/ER (ICH5/ICH5R) LPC Bridge (rev 02) 0000:00:1f.1 IDE interface: Intel Corp. 82801EB/ER (ICH5/ICH5R) Ultra ATA 100 Storage Controller (re
v 02)
0000:00:1f.3 SMBus: Intel Corp. 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02) 0000:00:1f.5 Multimedia audio controller: Intel Corp. 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller
 (rev 02)
0000:01:08.0 Ethernet controller: Intel Corp. 82562EZ 10/100 Ethernet Controller (rev 02)

the /etc/modules on this system contains just this:

e100
ext3
ide-cd
ide-detect
ide-disk

and here's the lsmod output:

af_packet              22568  0
sg                     39168  0
ppdev                   9924  0
snd_pcm_oss            55080  0
snd_pcm                98728  1 snd_pcm_oss
snd_page_alloc         11752  1 snd_pcm
snd_timer              25732  1 snd_pcm
snd_mixer_oss          20096  1 snd_pcm_oss
snd                    57156  4 snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
soundcore              10272  1 snd
floppy                 61200  0
sr_mod                 17316  0
parport_pc             36900  0
parport                41800  2 ppdev,parport_pc
tun                     9344  1
ipv6                  264836  8
capability              4520  0
commoncap               7232  1 capability
ide_cd                 42656  0
cdrom                  40732  2 sr_mod,ide_cd
e100                   32608  0
mii                     5120  1 e100
genrtc                  9588  0
ext3                  127240  1
jbd                    62616  1 ext3
mbcache                 9348  1 ext3
ide_generic             1408  0
piix                   13440  1
ide_disk               19296  3
ide_core              139940  4 ide_cd,ide_generic,piix,ide_disk
sd_mod                 21728  0
ata_piix                8132  0
libata                 41700  1 ata_piix
scsi_mod              125228  4 sg,sr_mod,sd_mod,libata
unix                   28756  124
font                    8320  0
vesafb                  6656  0
cfbcopyarea             3872  1 vesafb
cfbimgblt               3040  1 vesafb
cfbfillrect             3776  1 vesafb

-Jim P.



Reply to: