|
请教一个问题:
用源里的内核,启动后会加载很多的模块,即使我在rc.conf里面设定
MOD_AUTOLOAD="no"
还是会加一大堆根本用不到的模块,吓死人的
- [tingxx@Archlinux ~]$ lsmod
- Module Size Used by
- ipv6 250560 8
- nls_cp437 5760 1
- vfat 11008 1
- fat 48540 1 vfat
- fuse 35856 0
- ehci_hcd 29960 0
- uhci_hcd 29712 0
- usb_storage 78656 0
- usbcore 116256 4 ehci_hcd,uhci_hcd,usb_storage
- snd_intel8x0 29340 1
- snd_ac97_codec 94624 1 snd_intel8x0
- snd_ac97_bus 2176 1 snd_ac97_codec
- snd_pcm_oss 38176 0
- snd_mixer_oss 16384 1 snd_pcm_oss
- snd_pcm 78084 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
- snd_timer 20100 1 snd_pcm
- snd 46432 8 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
- soundcore 7776 1 snd
- snd_page_alloc 8200 2 snd_intel8x0,snd_pcm
- tulip 48672 0
- xfs 593004 0
- reiserfs 256880 2
- jfs 187004 0
- ext3 127880 0
- jbd 56212 1 ext3
- sata_qstor 7556 0
- sata_promise 9092 0
- sata_sil24 9476 0
- sata_nv 7044 0
- sata_mv 16008 0
- sata_vsc 6148 0
- sata_via 6020 0
- sata_uli 4868 0
- sata_svw 5764 0
- sata_sx4 11780 0
- sata_sis 5636 0
- sata_sil 7432 0
- DAC960 71360 0
- cciss 29984 0
- sx8 15756 0
- cpqarray 19172 0
- mptfc 10120 0
- mptspi 6536 0
- mptsas 16652 0
- mptctl 23044 0
- mptscsih 32336 3 mptfc,mptspi,mptsas
- mptbase 46308 5 mptfc,mptspi,mptsas,mptctl,mptscsih
- megaraid_mbox 25232 0
- megaraid_sas 24492 0
- megaraid_mm 9380 1 megaraid_mbox
- ata_piix 8324 0
- osst 51616 0
- megaraid 37700 0
- sym53c8xx 74260 0
- atp870u 30848 0
- aha152x 37304 0
- aic79xx 272596 0
- aic7xxx 177840 0
- ahci 11396 0
- pdc_adma 7556 0
- libata 54284 15 sata_qstor,sata_promise,sata_sil24,sata_nv,sata_mv,sata_vsc,sata_via,sata_uli,sata_svw,sata_sx4,sata_sis,sata_sil,ata_piix,ahci,pdc_adma
- raid_class 4992 0
- nsp32 23828 0
- aacraid 56832 0
- ipr 59424 0
- imm 11016 0
- parport 33864 1 imm
- 3w_xxxx 25248 0
- tmscsim 20800 0
- dc395x 33552 0
- 3w_9xxx 31520 0
- a100u2w 9408 0
- BusLogic 23332 0
- sr_mod 15140 0
- qlogicfas408 6664 0
- st 35744 0
- sg 27804 0
- dmx3191d 11392 0
- lpfc 157120 0
- scsi_transport_sas 15360 1 mptsas
- qla1280 117132 0
- sd_mod 14976 0
- ide_floppy 16000 0
- ide_cd 37792 0
- cdrom 36144 2 sr_mod,ide_cd
- ide_disk 14336 5
- via82cxxx 8836 0 [permanent]
- trm290 4228 0 [permanent]
- triflex 3328 0 [permanent]
- slc90e66 5248 0 [permanent]
- sis5513 13196 0 [permanent]
- siimage 10624 0 [permanent]
- serverworks 8328 0 [permanent]
- sc1200 6656 0 [permanent]
- rz1000 2560 0 [permanent]
- piix 9476 0 [permanent]
- pdc202xx_old 9984 0 [permanent]
- pdc202xx_new 8448 0 [permanent]
- ns87415 4012 0 [permanent]
- it821x 7684 0 [permanent]
- hpt366 18048 0 [permanent]
- hpt34x 4608 0 [permanent]
- generic 4356 0 [permanent]
- cy82c693 4228 0 [permanent]
- cs5530 5120 0 [permanent]
- cmd64x 10780 0 [permanent]
- atiixp 5520 0 [permanent]
- amd74xx 14364 0 [permanent]
- alim15x3 11280 0 [permanent]
- aec62xx 6912 0 [permanent]
- ide_core 116940 28 usb_storage,ide_floppy,ide_cd,ide_disk,via82cxxx,trm290,triflex,slc90e66,sis5513,siimage,serverworks,sc1200,rz1000,piix,pdc202xx_old,pdc202xx_new,ns87415,it821x,hpt366,hpt34x,generic,cy82c693,cs5530,cmd64x,atiixp,amd74xx,alim15x3,aec62xx
复制代码
更怪的是我在rc.conf里面
MOD_BLACKLIST=(ipv6 nls_cp437 xfs jfs jbd)
为什么重启后这些模块还加载呢?
我想把一些我根本不用的模块从内核里除去,如何做?
以前我都是使用自己编绎的内核,今天我装了一个fuse,竟然在自己编绎的内核里
modprobe fuse 说找不到fuse,只能在官方的内核里才能加载上:(
真是怪呀 |
|