在新的 Thinkpad carbon 上安装 Ubuntu 15.10 后,我必须添加两个内核参数i915.preliminary_hw_support=1
才能nolapic
使 Ubuntu 正常运行。安装似乎没问题,但 wifi 控制器不起作用。
以下是和的输出lshw -C network
:lspci -nnk | grep 0280 -A2
dmesg | grep iwl
$ lshw -C network
WARNING: you should run this program as super-user.
*-network UNCLAIMED
description: Network controller
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:04:00.0
version: 3a
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: latency=0
resources: memory:f1100000-f1101fff
*-network
description: Ethernet interface
product: Ethernet Connection I219-LM
vendor: Intel Corporation
physical id: 1f.6
bus info: pci@0000:00:1f.6
logical name: enp0s31f6
version: 21
serial: 54:ee:75:90:ec:ac
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=3.2.5-k firmware=0.13-4 latency=0 link=no multicast=yes port=twisted pair
resources: irq:11 memory:f1300000-f131ffff
*-network
description: Ethernet interface
physical id: 1
logical name: enx00eb4e68052d
serial: 00:eb:4e:68:05:2d
size: 1Gbit/s
capacity: 1Gbit/s
capabilities: ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8152 driverversion=v1.08.1 (2015/07/28) duplex=full ip=192.168.178.87 link=yes multicast=yes port=MII speed=1Gbit/s
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.
fabian@PizCavradi:~$ lspci -nnk | grep 0280 -A2
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Device [8086:0130]
05:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a802] (rev 01)
fabian@PizCavradi:~$ dmesg | grep iwl
[ 2.598435] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 2.681639] iwlwifi 0000:04:00.0: pci_enable_msi failed(0Xffffffda)
[ 2.747142] iwlwifi 0000:04:00.0: invalid TLV len: 3180/4294967295
[ 2.747259] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-14.ucode failed with error -2
[ 2.749072] iwlwifi 0000:04:00.0: Driver unable to support your firmware API. Driver supports v15, firmware is v421399808.
[ 2.749672] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-12.ucode failed with error -2
[ 2.749674] iwlwifi 0000:04:00.0: request for firmware file 'iwlwifi-8000C-12.ucode' failed.
[ 2.749847] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-11.ucode failed with error -2
[ 2.749849] iwlwifi 0000:04:00.0: request for firmware file 'iwlwifi-8000C-11.ucode' failed.
[ 2.749856] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-10.ucode failed with error -2
[ 2.749857] iwlwifi 0000:04:00.0: request for firmware file 'iwlwifi-8000C-10.ucode' failed.
[ 2.749858] iwlwifi 0000:04:00.0: no suitable firmware found!
[ 2.751430] iwlwifi 0000:04:00.0: Unsupported splx structure
sudo modprobe iwlwifi
没有返回任何内容,以太网连接正常。所以看起来我的 wifi 控制器固件有问题。我已经做了一些更新,并尝试了其他帖子中的建议,但都没有成功。
那么有人能解决我的问题吗?提前谢谢!
感谢您的回复!uname -a
返回
Linux PizCavradi 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:13:01 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
无线控制器不再无人认领,但它仍然无法工作。dmesg | grep iwl
现在的输出是
$ dmesg | grep iwl
[ 2.690951] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 2.691504] iwlwifi 0000:04:00.0: pci_enable_msi failed(0Xffffffda)
[ 2.820257] iwlwifi 0000:04:00.0: loaded firmware version 15.195093.0 op_mode iwlmvm
[ 2.824280] iwlwifi 0000:04:00.0: Unsupported splx structure
[ 2.863303] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x208
[ 2.867954] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 2.868894] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
[ 2.874298] iwlwifi 0000:04:00.0: can't access the RSA semaphore it is write protected
[ 9.574405] iwlwifi 0000:04:00.0: Failed to load firmware chunk!
[ 9.574406] iwlwifi 0000:04:00.0: Could not load the [0] uCode section
[ 9.574408] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
[ 9.574875] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
[ 9.574895] iwlwifi 0000:04:00.0: L1 Enabled - LTR Enabled
有趣的是,当我跑步时,sudo modprobe -r iwlwifi
我sudo modprobe iwlwifi
的笔记本会冻结,我必须按下电源按钮才能关闭。重新启动后,就可以sudo modprobe iwlwifi
正常工作了。
答案1
您缺少最新固件。您可以打开终端并执行以下操作来安装它:
sudo apt-get update
sudo apt-get install git
git clone https://github.com/OpenELEC/iwlwifi-firmware.git
cd iwlwifi-firmware/firmware
sudo cp iwlwifi-8000* /lib/firmware
sudo modprobe -r iwlwifi
sudo modprobe iwlwifi
你的无线网络应该可以正常工作。不过可能需要重新启动。
如果此固件无效,请尝试:
wget http://mirrors.kernel.org/ubuntu/pool/main/l/linux-firmware/linux-firmware_1.157_all.deb
sudo dpkg -i linux-firmware*.deb
重启。
我建议我们暂时尝试使用较新版本的驱动程序。请将此文件下载到您的桌面:https://www.kernel.org/pub/linux/kernel/projects/backports/stable/v4.4.2/backports-4.4.2-1.tar.gz右键单击它并选择“在此处提取”。现在返回终端:
cd ~/Desktop/backports-4.4.2-1
make defconfig-iwlwifi
make
sudo make install
重启。如果这个和固件都有效,我建议我们安装整个 4.4.6 内核。
注意:假设您的安装是英文的;如果不是英文,并且桌面名称不同,请用上面的内容替换。例如:
cd ~/Escritorio/backports-4.4.2-1
让我们尝试更新的固件文件:
cd /lib/firmware
sudo wget https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-19.ucode
sudo wget https://git.kernel.org/cgit/linux/kernel/git/iwlwifi/linux-firmware.git/plain/iwlwifi-8000C-21.ucode
重启。然后再次粘贴:
dmesg | grep iwl
回顾你上次的贴子,我非常关心这一点:
[2.678204]iwlwifi 0000:04:00.0:pci_enable_msi 失败(0Xffffffda)
我认为这个错误报告与以下相关:https://bugzilla.kernel.org/show_bug.cgi?id=114101建议添加启动选项中断轮询。
请执行以下操作:
gksudo gedit /etc/default/grub
如果您没有文本编辑器 gedit,请使用 nano 或 kate 或 leafpad。找到以 GRUB_CMDLINE_LINUX_DEFAULT 开头的行,并将 irqpoll 添加到末尾。结果应类似于:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash irqpoll"
仔细校对,保存并关闭文本编辑器。现在执行以下操作:
sudo update-grub
重新启动并再次显示:
dmesg | grep iwl