我正在使用运行 18.04.2 和内核的联想 T460Linux 4.15.0-46-通用. 无线设置显示“未找到 Wi-Fi 适配器”。我从一开始就禁用了安全启动。我尝试再次启用 Wi-Fi,就像这个帖子没有结果。
$ lspci -nnk | grep -A2 0280
04:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)
Subsystem: Intel Corporation Wireless 8260 [8086:0130]
Kernel driver in use: iwlwifi
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
我已经完成了另一次 apt 更新和固件更新。
$ sudo dkms install rtlwifi-new/0.6
$ sudo apt install bcmwl-kernel-source
参考:升级到 Ubuntu 16.04 后无法查看 Wifi 网络
$ dmesg | grep iwl
[ 3.369900] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 3.379631] iwlwifi 0000:04:00.0: loaded firmware version 34.0.1 op_mode iwlmvm
[ 3.488969] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204
[ 8.672033] iwlwifi 0000:04:00.0: Failed to load firmware chunk!
[ 8.672038] iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers
[ 8.672039] iwlwifi 0000:04:00.0: iwlwifi device config registers:
[ 8.672090] iwlwifi 0000:04:00.0: 00000000: 24f38086 00100406 0280003a 00000000 e1000004 00000000 00000000 00000000
[ 8.672094] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000 01308086 00000000 000000c8 00000000 000001ff
[ 8.672096] iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers:
[ 8.672136] iwlwifi 0000:04:00.0: 00000000: 18489004 00000040 20000000 08000000 00000000 00000000 00000019 00000000
[ 8.672139] iwlwifi 0000:04:00.0: 00000020: 00000014 08040005 00000201 d55555d5 d55555d5 d55555d5 80008040 001f0042
[ 8.672143] iwlwifi 0000:04:00.0: iwlwifi device AER capability structure:
[ 8.672167] iwlwifi 0000:04:00.0: 00000000: 14010001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
[ 8.672168] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000
[ 8.672170] iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[ 8.672183] iwlwifi 0000:00:1c.2: 00000000: 9d128086 00100007 060400f1 00810000 00000000 00000000 00040400 200000f0
[ 8.672185] iwlwifi 0000:00:1c.2: 00000020: e100e100 0001fff1 00000000 00000000 00000000 00000040 00000000 000003ff
[ 8.672187] iwlwifi 0000:04:00.0: iwlwifi root port (0000:00:1c.2) AER cap structure:
[ 8.672196] iwlwifi 0000:00:1c.2: 00000000: 14010001 00000000 00010000 00060011 00000000 00002000 00000000 00000000
[ 8.672198] iwlwifi 0000:00:1c.2: 00000020: 00000000 00000000 00000000 00000000 00000000 00000000
[ 8.672345] iwlwifi 0000:04:00.0: Could not load the [2] uCode section
[ 8.672351] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
[ 8.695742] iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
[ 8.708278] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
$ iwconfig
lo no wireless extensions.
virbr1 no wireless extensions.
enp0s31f6 no wireless extensions.
vmnet1 no wireless extensions.
vmnet8 no wireless extensions.
virbr1-nic no wireless extensions.
virbr0 no wireless extensions.
virbr0-nic no wireless extensions.
最后,我认为解决方案应该是在某些 BIOS 设置中,或者重新安装驱动程序(可能来自这里?)
如果我使用以前的内核 4.15.0-45 重新启动,问题仍然存在,模块的版本不同并且错误日志更短。
alex@alex-T460:~$ dmesg | grep iwl
[ 3.501905] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 3.561037] iwlwifi 0000:04:00.0: uCode file size 16304073 does not match expected size
[ 3.561439] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
[ 3.563587] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
[ 3.576571] iwlwifi 0000:04:00.0: loaded firmware version 31.560484.0 op_mode iwlmvm
[ 3.611226] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204
[ 4.702726] iwlwifi 0000:04:00.0: SecBoot CPU1 Status: 0xa5a5a5a2, CPU2 Status: 0xa5a5a5a2
[ 4.702731] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
[ 4.726591] iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
[ 4.772710] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
$ ls -al /lib/firmware/iwlwifi-8000C-*
-rw-r--r-- 1 root root 1745176 mar 30 2017 /lib/firmware/iwlwifi-8000C-13.ucode
-rw-r--r-- 1 root root 2351636 mar 30 2017 /lib/firmware/iwlwifi-8000C-16.ucode
-rw-r--r-- 1 root root 2394060 nov 17 2017 /lib/firmware/iwlwifi-8000C-21.ucode
-rw-r--r-- 1 root root 2120860 dic 14 14:09 /lib/firmware/iwlwifi-8000C-22.ucode
-rw-r--r-- 1 root root 2227284 dic 5 2017 /lib/firmware/iwlwifi-8000C-27.ucode
-rw-r--r-- 1 root root 2310116 dic 6 2017 /lib/firmware/iwlwifi-8000C-31.ucode
-rw-r--r-- 1 root root 16304073 mar 20 16:07 /lib/firmware/iwlwifi-8000C-34.ucode
-rwxr-xr-- 1 root root 16555134 mar 20 15:18 /lib/firmware/iwlwifi-8000C-36.ucode
alex@alex-T460:~$ cat /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-4.15.0-45-generic root=UUID=1619cba6-c8ee-44db-be4f-c338533a2e65 ro quiet splash vt.handoff=1
$ cat /etc/NetworkManager/NetworkManager.conf
[main]
plugins=ifupdown,keyfile
[ifupdown]
managed=false
[device]
wifi.scan-rand-mac-address=no
$ cat /etc/netplan/*.yaml
# Let NetworkManager manage all devices on this system
network:
version: 2
renderer: NetworkManager
重命名从英特尔站点下载的最后两个模块后,内核加载了前一个模块,但也失败了:
$ dmesg | grep iwl
[ 3.391361] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 3.402953] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-34.ucode failed with error -2
[ 3.402972] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-33.ucode failed with error -2
[ 3.404560] iwlwifi 0000:04:00.0: Direct firmware load for iwlwifi-8000C-32.ucode failed with error -2
[ 3.413676] iwlwifi 0000:04:00.0: loaded firmware version 31.560484.0 op_mode iwlmvm
[ 3.451641] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204
[ 8.672055] iwlwifi 0000:04:00.0: Failed to load firmware chunk!
[ 8.672060] iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers
[ 8.672062] iwlwifi 0000:04:00.0: iwlwifi device config registers:
[ 8.672102] iwlwifi 0000:04:00.0: 00000000: 24f38086 00100406 0280003a 00000000 e1000004 00000000 00000000 00000000
[ 8.672105] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000 01308086 00000000 000000c8 00000000 000001ff
[ 8.672107] iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers:
[ 8.672147] iwlwifi 0000:04:00.0: 00000000: 18489004 00000040 20000000 08000000 00000000 00000000 00000019 00000000
[ 8.672150] iwlwifi 0000:04:00.0: 00000020: 00000014 08040005 00000201 d55555d5 d55555d5 d55555d5 80008040 001f0042
[ 8.672154] iwlwifi 0000:04:00.0: iwlwifi device AER capability structure:
[ 8.672179] iwlwifi 0000:04:00.0: 00000000: 14010001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
[ 8.672180] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000
[ 8.672182] iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[ 8.672195] iwlwifi 0000:00:1c.2: 00000000: 9d128086 00100007 060400f1 00810000 00000000 00000000 00040400 200000f0
[ 8.672197] iwlwifi 0000:00:1c.2: 00000020: e100e100 0001fff1 00000000 00000000 00000000 00000040 00000000 000003ff
[ 8.672199] iwlwifi 0000:04:00.0: iwlwifi root port (0000:00:1c.2) AER cap structure:
[ 8.672208] iwlwifi 0000:00:1c.2: 00000000: 14010001 00000000 00010000 00060011 00000000 00002000 00000000 00000000
[ 8.672210] iwlwifi 0000:00:1c.2: 00000020: 00000000 00000000 00000000 00000000 00000000 00000000
[ 8.672357] iwlwifi 0000:04:00.0: Could not load the [2] uCode section
[ 8.672364] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
[ 8.695695] iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
[ 8.708417] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
删除下载的模块并重新安装固件后:
$ ls -al /lib/firmware/iwlwifi-8000C-*
-rw-r--r-- 1 root root 1745176 mar 30 2017 /lib/firmware/iwlwifi-8000C-13.ucode
-rw-r--r-- 1 root root 2351636 mar 30 2017 /lib/firmware/iwlwifi-8000C-16.ucode
-rw-r--r-- 1 root root 2394060 nov 17 2017 /lib/firmware/iwlwifi-8000C-21.ucode
-rw-r--r-- 1 root root 2120860 dic 14 14:09 /lib/firmware/iwlwifi-8000C-22.ucode
-rw-r--r-- 1 root root 2227284 dic 5 2017 /lib/firmware/iwlwifi-8000C-27.ucode
-rw-r--r-- 1 root root 2310116 dic 6 2017 /lib/firmware/iwlwifi-8000C-31.ucode
-rw-r--r-- 1 root root 2448976 apr 25 2018 /lib/firmware/iwlwifi-8000C-34.ucode
-rw-r--r-- 1 root root 2486572 dic 14 13:54 /lib/firmware/iwlwifi-8000C-36.ucode
甚至从另一个发行版 Fedora live 中,我也遇到了同样的错误。所以我认为可能是 BIOS 出了问题,或者 wifi 卡在某种程度上被损坏了。
[liveuser@localhost-live ~]$ dmesg | grep iwl
[ 11.920684] iwlwifi 0000:04:00.0: enabling device (0000 -> 0002)
[ 12.103981] iwlwifi 0000:04:00.0: loaded firmware version 36.e91976c0.0 op_mode iwlmvm
[ 12.320908] iwlwifi 0000:04:00.0: Detected Intel(R) Dual Band Wireless AC 8260, REV=0x204
[ 17.376022] iwlwifi 0000:04:00.0: Failed to load firmware chunk!
[ 17.376024] iwlwifi 0000:04:00.0: iwlwifi transaction failed, dumping registers
[ 17.376025] iwlwifi 0000:04:00.0: iwlwifi device config registers:
[ 17.376064] iwlwifi 0000:04:00.0: 00000000: 24f38086 00100406 0280003a 00000000 f1000004 00000000 00000000 00000000
[ 17.376065] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000 01308086 00000000 000000c8 00000000 000001ff
[ 17.376066] iwlwifi 0000:04:00.0: iwlwifi device memory mapped registers:
[ 17.376104] iwlwifi 0000:04:00.0: 00000000: 00489004 00000040 20000000 08000000 00000000 00000000 00000019 00000000
[ 17.376105] iwlwifi 0000:04:00.0: 00000020: 00000014 08040005 00000201 d55555d5 d55555d5 d55555d5 80008040 001f0042
[ 17.376109] iwlwifi 0000:04:00.0: iwlwifi device AER capability structure:
[ 17.376132] iwlwifi 0000:04:00.0: 00000000: 14010001 00000000 00000000 00462031 00000000 00002000 00000000 00000000
[ 17.376133] iwlwifi 0000:04:00.0: 00000020: 00000000 00000000 00000000
[ 17.376134] iwlwifi 0000:04:00.0: iwlwifi parent port (0000:00:1c.2) config registers:
[ 17.376146] iwlwifi 0000:00:1c.2: 00000000: 9d128086 00100007 060400f1 00810000 00000000 00000000 00040400 200000f0
[ 17.376148] iwlwifi 0000:00:1c.2: 00000020: f100f100 0001fff1 00000000 00000000 00000000 00000040 00000000 000003ff
[ 17.376149] iwlwifi 0000:04:00.0: iwlwifi root port (0000:00:1c.2) AER cap structure:
[ 17.376157] iwlwifi 0000:00:1c.2: 00000000: 14010001 00000000 00010000 00060011 00000000 00002000 00000000 00000000
[ 17.376159] iwlwifi 0000:00:1c.2: 00000020: 00000000 00000000 00000000 00000000 00000000 00000000
[ 17.376305] iwlwifi 0000:04:00.0: Could not load the [2] uCode section
[ 17.376311] iwlwifi 0000:04:00.0: Failed to start INIT ucode: -110
[ 17.399460] iwlwifi 0000:04:00.0: Failing on timeout while stopping DMA channel 8 [0xa5a5a5a2]
[ 17.411055] iwlwifi 0000:04:00.0: Failed to run INIT ucode: -110
[liveuser@localhost-live ~]$ uname -a
Linux localhost-live 4.18.16-300.fc29.x86_64 #1 SMP Sat Oct 20 23:24:08 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
[liveuser@localhost-live ~]$ sudo fsck -f /dev/sda1
fsck from util-linux 2.32.1
e2fsck 1.44.3 (10-July-2018)
Pass 1: Checking inodes, blocks, and sizes
Inode 3802607 extent tree (at level 1) could be shorter. Fix<y>? yes
Pass 1E: Optimizing extent trees
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda1: ***** FILE SYSTEM WAS MODIFIED *****
/dev/sda1: 582619/9166848 files (1.3% non-contiguous), 16861084/36647680 blocks
[liveuser@localhost-live ~]$ sudo fsck -f /dev/sda2
fsck from util-linux 2.32.1
e2fsck 1.44.3 (10-July-2018)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda2: 376/12214272 files (1.1% non-contiguous), 22723088/48828160 blocks
更新: 还尝试按照建议禁用电源管理这里但它没有起作用
sudo gedit /etc/pm/config.d/blacklist
sudo chmod -x /usr/lib/pm-utils/power.d/wireless
解决了: 我换了无线网卡(带AC 8265)
答案1
让我们首先检查文件系统...
- 启动至 Ubuntu Live DVD/USB
- 打开
terminal
窗户 - 类型
sudo fdisk -l
- 识别“Linux 文件系统”的 /dev/XXXX 设备名称
- 输入
sudo fsck -f /dev/XXXX
# 用你之前找到的数字替换 XXXX - 如果有错误,请重复 fsck 命令
- 类型
reboot
让我们删除不正确的驱动程序,然后尝试重新安装固件文件...
sudo dkms remove rtlwifi-new/0.6 --all
# 删除不正确的 dkms 驱动程序
sudo apt-get purge bcmwl-kernel-source
# 删除不正确的 Broadcom 驱动程序
sudo apt-get update
# 更新软件数据库
sudo apt-get install --reinstall linux-firmware
#重新安装固件
reboot
# 重启计算机
重新检查无线操作。
更新#1:
/lib/firmware/iwlwifi-8000C-34.ucode
在和发现了非常臃肿的英特尔固件/lib/firmware/iwlwifi-8000C-36.ucode
。删除它们并重新安装linux-firmware
,现在代码大小看起来不错,但它仍然不起作用。
更新 #2:
启动 Fedora Live 会导致与 Ubuntu 相同的无线错误。怀疑是 Wi-Fi 卡有问题。可能需要重新安装或更换。
答案2
我有一次遇到过这种情况。原来我在 BIOS 中禁用了英特尔平台信任技术。确保启用该技术解决了我的问题。
答案3
如果您尝试了上述所有其他解决方案但均无效,请尝试清除主板上的 CMOS。这样做最终解决了我的问题。