在你点击复制之前:我已经尝试了Intel Corporation 7260 版本 63 没有无线问题。我已经加载了正确的微代码/lib/firmware
,并且正在运行内核版本 3.11。
我在全新安装 Kubuntu 13.10 时遇到了一些问题:我的无线网卡可以在实时 USB(使用 unetbootin 创建)上使用,但在已安装的系统上,驱动程序无法加载,并显示回溯错误,无法探测(硬件地址?),错误为 -12。有人有什么想法或建议吗?谷歌搜索无果。
来自kern.log
(10指界面,因此省略了一些信息):
---[ cut here]---
WARNING CPU: 10 PID: 302 at /build/buildd/linux-3.11.0/drivers/net/wireless/iwlwifi/pcie/rc.x:1059 iwl_pcie_alloc_ict+0x1cb/0x210 [iwlwifi]()
Modules linked in: iwlwifi(+) parport_pc psmouse cfg80211 ppdev serio_raw snd_hda_codec_realtek snd_hda_intel(+) bnep rfcomm snd_hda_codec bluetooth snd_hwdep lpc_ich snd_pcm snd_page_alloc snd_seq_midi (and many others)
CPU: 10 PID: 302 Comm: kworker/10:1 Tainted: GF 3.11.0-18-generic #32-Ubuntu
Hardware name: ASUSTeK COMPUTER INC. Z9PE-D8 WS/Z9PE-D8 WS, BIOS 5304 11/18/2013
Workqueue: events work_for_cpu_fn
(12 memory addresses here, 1st, 4th and 10th are very small, 4th is nil)
Call Trace:
[address] dump_stack+0x45/0x56
[address] warn_slowpath_common+0x7d/0xa0
[address] warn_slowpath_null+0x1a/0x20
[address] iwl_pcie_alloc_ict+0x1cb/0x210
[address] iwl_trans_pcie_alloc+0x26a/0x400
[address] iwl_pci_probe+0x1d/0xc0
(9 trace entries omitted)
---[ end trace (address) ]---
iwlwifi:probe of 0000:84:00.0 failed with error -12
lspci
:
84:00.0 Network controller: Intel Corporation Wireless 7260 (rev 04)
lsmod
:
iwlwifi 165636 0
cfg 80211 480503 1 iwlwifi
dmesg | grep 84:00
pci 0000:84:00.0: [8086:08b1] type 00 class 0x028000
pci 0000:84:00.0: reg 0x10: [mem 0xfb100000-0xfb101fff 64bit]
pci 0000:84:00.0: PME# supportd from D0 D3hot D3cold
pci 0000:84:00.0: Signaling PME through PCIe PME interrupt
iwlwifi 0000:84:00.0: can't disable ASPM; OS doesn't have ASPM control
iwlwifi 0000:84:00.0: irq 133 for MSI/MSI-X
iwlwifi: probe of 0000:84:00.0 failed with error -12
dmesg | grep iwl
iwlwifi 0000:84:00.0: can't disable ASPM; OS doesn't have ASPM control
iwlwifi 0000:84:00.0: irq 133 for MSI/MSI-X
WARNING CPU: 10 PID: 302 at /build/buildd/linux-3.11.0/drivers/net/wireless/iwlwifi/pcie/rc.x:1059 iwl_pcie_alloc_ict+0x1cb/0x210 [iwlwifi]()
Modules linked in: iwlwifi(+) parport_pc psmouse cfg80211 ppdev serio_raw snd_hda_codec_realtek snd_hda_intel(+) bnep rfcomm snd_hda_codec bluetooth snd_hwdep lpc_ich snd_pcm snd_page_alloc snd_seq_midi (and many others)
[address] iwl_pcie_alloc_ict+0x1cb/0x210
[address] iwl_trans_pcie_alloc+0x26a/0x400
[address] iwl_pci_probe+0x1d/0xc0
iwlwifi: probe of 0000:84:00.0 failed with error -12
dmesg | grep -i error
ioapic: probe of 0000:00:05.4 failed with error -22
ioapic: probe of 0000:80:05.4 failed with error -22
ERST: Error Record Serialization Table (ERST) support is initialized.
nouveau: probe of 0000:04:00.0 failed with error -22
nouveau: probe of 0000:83:00.0 failed with error -22
iwlwifi: probe of 0000:84:00.0 failed with error -12
EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
lsmod | grep iwl
iwlwifi 165636 0
cfg80211 480503 1 iwlwifi
modprobe
执行 iwlmvm之后的命令相同:
iwlmvm 161339 0
mac80211 597268 1 iwlmvm
iwlwifi 165636 1 iwlmvm
cfg80211 480503 3 iwlwifi,mac80211,iwlmvm
但是,我仍然不知道wlan0
如果我的ifconfig
和iwconfig
在 modprobe 之后没有返回任何有趣的东西
cat /etc/modprobe.d/iwlwifi.conf
与下面 Chili555 的答案中粘贴的版本相匹配。
此行下面是安装程序中运行的示例。
dmesg | grep iwl
iwlwifi 0000:84:00.0: can't disable ASPM; OS doesn't have ASPM control
iwlwifi 0000:84:00.0: irq 132 for MSI/MSI-X
iwlwifi 0000:84:00.0: loaded firmware version 22.0.7.0 op_mode iwlmvm
iwlwifi 0000:84:00.0: Detected Intel(R) Dual Band Wireless AC 7260, REV=0x144
iwlwifi 0000:84:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:84:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:84:00.0: ieee80211 phy0: Selected rate control algorithm 'iwl-mvm-rs'
iwlwifi 0000:84:00.0: L1 Disabled; Enabling L0S
iwlwifi 0000:84:00.0: L1 Disabled; Enabling L0S
lspci | grep 84:00
:
84:00.0 Network controller: Intel corporation Wireless 7260 (rev 73)
(检测到不同的修订版本(?!))
安装程序使用内核 3.11.0-12-generic,已安装的系统运行内核 3.11.0-18-generic
在此先感谢您的时间。
答案1
首先,我会获得一个临时的有线以太网连接并完全更新您的系统(如果还没有的话):
sudo apt-get update && sudo apt-get -y upgrade
sudo reboot
检查日志以查看问题是否仍然存在:
dmesg | grep iwl
接下来,在您的 lsmod 中,我们看不到 iwlmvm。它是否正确加载?
lsmod | grep iwl
如果没有,请尝试加载它:
sudo modprobe iwlmvm
你的 /etc/modprobe.d/iwlwifi.conf 文件是否正确完成?我的是:
# /etc/modprobe.d/iwlwifi.conf
# iwlwifi will dyamically load either iwldvm or iwlmvm depending on the
# microcode file installed on the system. When removing iwlwifi, first
# remove the iwl?vm module and then iwlwifi.
remove iwlwifi \
(/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \
&& /sbin/modprobe -r mac80211
如果不正确,则需要恢复。如果您需要指导,请告知我们。
最后,这里有一些有趣的信息吗?
dmesg | grep 84:00
dmesg | grep -i error
84:00 是无线网卡的 PCI 总线。如果出现 ACPI 或 IRQ 错误,您可以尝试将 BIOS 重置为默认值。
一旦我们找到一些线索,我会根据需要编辑我的答案。
答案2
我最终通过从头安装 14.04 测试版然后在重新启动之前运行更新来修复它:
$ sudo su
# mount /dev/sda1 /target
# mount -o bind /dev /target/dev
# mount -o bind /sys /target/sys
# mount -o bind /tmp /target/tmp
# mount -o bind /proc /target/proc
# mount -o bind /etc/resolv.conf /target/etc/resolv.conf
# chroot /target
# apt-get update
# apt-get dist-upgrade