LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1153|回复: 3

为何ARCH还是加载了pcspkr模块呢?

[复制链接]
发表于 2009-7-22 12:00:11 | 显示全部楼层 |阅读模式
%cat /etc/modprobe.d/pcspkr.conf
blacklist pcspkr
blacklist snd_pcsp

%lsmod|grep -i pcspkr
pcspkr                  2404  0
发表于 2009-7-22 13:18:27 | 显示全部楼层
rc.conf里开了autoload_mod肯定还会继续加载pcspkr,因为这时pcspkr.conf是无效的

想解决问题就禁用autoload_mod,然后手工加载自己需要的模块
回复 支持 反对

使用道具 举报

发表于 2009-7-22 13:39:25 | 显示全部楼层
vi /etc/rc.conf

MODULES=( ... !pcspkr !snd-pcsp ... )
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-7-22 14:16:37 | 显示全部楼层
谢谢! 请帮看看哪些模块可以不要

%cat /etc/rc.conf|grep -i module
MODULES=(forcedeth !pcspkr !snd-pcsp snd snd-hda-intel kvm-amd)

%lsmod
Module                  Size  Used by
nls_cp437               5444  1
vfat                   11684  1
fat                    52932  1 vfat
ext3                  135340  1
jbd                    48856  1 ext3
mbcache                 7112  1 ext3
usb_storage            51456  0
nvidia               9548740  20
psmouse                59644  0
agpgart                32756  1 nvidia
sg                     27896  0
ohci_hcd               24116  0
serio_raw               5704  0
i2c_nforce2             6920  0
ehci_hcd               35824  0
i2c_core               22776  2 nvidia,i2c_nforce2
usbcore               149936  4 usb_storage,ohci_hcd,ehci_hcd
k8temp                  4356  0
thermal                13888  0
processor              35864  0
fan                     4392  0
button                  5588  0
battery                10984  0
ac                      4360  0
kvm_amd                32896  3
kvm                   176176  1 kvm_amd
evdev                  10176  3
snd_hda_codec_realtek   206536  1
snd_seq_dummy           2696  0
snd_seq_oss            31168  0
snd_seq_midi_event      7012  1 snd_seq_oss
snd_seq                53744  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          6768  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_hda_intel          26696  7
snd_hda_codec          71716  2 snd_hda_codec_realtek,snd_hda_intel
snd_pcm_oss            40352  0
snd_mixer_oss          17540  1 snd_pcm_oss
snd_hwdep               7624  1 snd_hda_codec
snd_pcm                73768  5 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              21068  4 snd_seq,snd_pcm
snd_page_alloc          8812  2 snd_hda_intel,snd_pcm
snd                    58404  21 snd_hda_codec_realtek,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm_oss,snd_mixer_o
ss,snd_hwdep,snd_pcm,snd_timer
soundcore               6784  1 snd
forcedeth              56432  0
rtc_cmos               11244  0
rtc_core               18048  1 rtc_cmos
rtc_lib                 2500  1 rtc_core
reiserfs              247304  2
sd_mod                 27808  6
sr_mod                 16676  0
cdrom                  36032  1 sr_mod
sata_nv                23564  5
ata_generic             4680  0
pata_amd               11592  0
pata_acpi               4228  0
libata                168428  4 sata_nv,ata_generic,pata_amd,pata_acpi
scsi_mod              110516  5 usb_storage,sg,sd_mod,sr_mod,libata

硬件信息
%lspci   
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
02:00.0 VGA compatible controller: nVidia Corporation G72 [GeForce 7300 LE] (rev a1)

%sudo hwd -e   
Testing: kernel (2.6.30-ARCH) supports uevents

10de:03f0 Audio device: nVidia Corporation module: snd-hda-intel
          MCP61 High Definition Audio
10de:03ef Bridge: nVidia Corporation module: forcedeth
          MCP61 Ethernet
1022:1101 Host bridge: Advanced Micro Devices [AMD] module: -
          K8 [Athlon64/Opteron] Address Map
1022:1102 Host bridge: Advanced Micro Devices [AMD] module: -
          K8 [Athlon64/Opteron] DRAM Controller
1022:1100 Host bridge: Advanced Micro Devices [AMD] module: -
          K8 [Athlon64/Opteron] HyperTransport Technology Configuration
1022:1103 Host bridge: Advanced Micro Devices [AMD] module: k8temp
          K8 [Athlon64/Opteron] Miscellaneous Control
10de:03ec IDE interface: nVidia Corporation module: pata_amd
          MCP61 IDE
10de:03f6 IDE interface: nVidia Corporation module: sata_nv
          MCP61 SATA Controller
10de:03e0 ISA bridge: nVidia Corporation module: -
          MCP61 LPC Bridge
10de:03e8 PCI bridge: nVidia Corporation module: pcieport-driver
          MCP61 PCI Express bridge
10de:03e9 PCI bridge: nVidia Corporation module: pcieport-driver
          MCP61 PCI Express bridge
10de:03e9 PCI bridge: nVidia Corporation module: pcieport-driver
          MCP61 PCI Express bridge
10de:03f3 PCI bridge: nVidia Corporation module: -
          MCP61 PCI bridge
10de:03ea RAM memory: nVidia Corporation module: -
          MCP61 Memory Controller
10de:03f5 RAM memory: nVidia Corporation module: -
          MCP61 Memory Controller
10de:03eb SMBus: nVidia Corporation module: nForce2_smbus
          MCP61 SMBus
10de:03f1 USB Controller: nVidia Corporation module: ohci_hcd
          MCP61 USB Controller
10de:03f2 USB Controller: nVidia Corporation module: ehci_hcd
          MCP61 USB Controller
10de:01d1 VGA compatible controller: nVidia Corporation module: nv
          G72 [GeForce 7300 LE]
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表