Ubuntu 20.04 中核心更新到 5.13.0-27-generic 後 wifi 無法運作

Ubuntu 20.04 中核心更新到 5.13.0-27-generic 後 wifi 無法運作

我的筆記型電腦是 HP PROBOOK,安裝了 Ubuntu 20.04。昨天我的系統核心更新到 5.13.0-27-generic,之後我無法連線到 wifi。 LAN 連線運作正常,但有 wifi 連線問題。以下是內核詳細資訊 -

Linux version 5.13.0-27-generic (buildd@lgw01-amd64-045) (gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022

之前更新之前都是正常的,但是重啟之後就突然出現這個問題了。

我不確定我的驅動程式是否遺失或 WiFi 適配器出現問題。

如果缺少驅動程序,可以從哪裡獲取這些驅動程序,與 wifi 適配器相同。

dkms status拋出以下結果

rtl8821ce, v5.5.2_34066.20200325, 5.13.0-27-generic, x86_64: installed
rtl8821ce, v5.5.2_34066.20200325, 5.4.0-96-generic, x86_64: installed
rtl88x2bu, 5.8.7.1, 5.13.0-27-generic, x86_64: installed
virtualbox, 6.1.26, 5.11.0-46-generic, x86_64: installed
virtualbox, 6.1.26, 5.13.0-27-generic, x86_64: installed
virtualbox, 6.1.26, 5.4.0-96-generic, x86_64: installed

sudo lshw -C network

*-network:0               
       description: Wireless interface
       product: Intel Corporation
       vendor: Intel Corporation
       physical id: 14.3
       bus info: pci@0000:00:14.3
       logical name: wlp0s20f3
       version: 20
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-22-generic firmware=59.601f3a66.0 QuZ-a0-jf-b0-59.u ip=192.168.1.4 latency=0 link=yes multicast=yes wireless=IEEE 802.11
       resources: iomemory:600-5ff irq:16 memory:600324c000-600324ffff
  *-network:1
       description: Ethernet interface
       product: Ethernet Connection (13) I219-V
       vendor: Intel Corporation
       physical id: 1f.6
       bus info: pci@0000:00:1f.6
       logical name: enp0s31f6
       version: 20
       capacity: 1Gbit/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm msi bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.11.0-22-generic firmware=0.6-4 latency=0 link=no multicast=yes port=twisted pair
       resources: irq:143 memory:54100000-5411ffff
  *-network
       description: Ethernet interface
       physical id: 2
       logical name: veth4fc7862
       size: 10Gbit/s
       capabilities: ethernet physical
       configuration: autonegotiation=off broadcast=yes driver=veth driverversion=1.0 duplex=full link=yes multicast=yes port=twisted pair speed=10Gbit/s

lspci -nn

00:00.0 Host bridge [0600]: Intel Corporation Device [8086:9a14] (rev 01)
00:02.0 VGA compatible controller [0300]: Intel Corporation Device [8086:9a49] (rev 01)
00:04.0 Signal processing controller [1180]: Intel Corporation Device [8086:9a03] (rev 01)
00:0a.0 Signal processing controller [1180]: Intel Corporation Device [8086:9a0d] (rev 01)
00:0d.0 USB controller [0c03]: Intel Corporation Device [8086:9a13] (rev 01)
00:0e.0 RAID bus controller [0104]: Intel Corporation Volume Management Device NVMe RAID Controller [8086:9a0b]
00:14.0 USB controller [0c03]: Intel Corporation Device [8086:a0ed] (rev 20)
00:14.2 RAM memory [0500]: Intel Corporation Device [8086:a0ef] (rev 20)
00:14.3 Network controller [0280]: Intel Corporation Device [8086:a0f0] (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device [8086:a0e8] (rev 20)
00:16.0 Communication controller [0780]: Intel Corporation Device [8086:a0e0] (rev 20)
00:1d.0 PCI bridge [0604]: Intel Corporation Device [8086:a0b0] (rev 20)
00:1f.0 ISA bridge [0601]: Intel Corporation Device [8086:a082] (rev 20)
00:1f.3 Multimedia audio controller [0401]: Intel Corporation Device [8086:a0c8] (rev 20)
00:1f.4 SMBus [0c05]: Intel Corporation Device [8086:a0a3] (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device [8086:a0a4] (rev 20)
00:1f.6 Ethernet controller [0200]: Intel Corporation Ethernet Connection (13) I219-V [8086:15fc] (rev 20)
01:00.0 Non-Volatile memory controller [0108]: Samsung Electronics Co Ltd Device [144d:a809]

lspci -nnk | grep 0280 -A3

00:14.3 Network controller [0280]: Intel Corporation Device [8086:a0f0] (rev 20)
    Subsystem: Intel Corporation Device [8086:0034]
    Kernel driver in use: iwlwifi
    Kernel modules: iwlwifi

ls -al /lib/firmware/*.pnvm

-rw-r--r-- 1 root root 41804 Jan 10 15:49 /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm
-rw-r--r-- 1 root root 27456 Jan 10 15:49 /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm

modinfo iwlwifi | grep -i a0f0

alias:          pci:v00008086d0000A0F0sv*sd*bc*sc*i*

ls -al /lib/firmware/*pnvm*

-rw-r--r-- 1 root root 41804 Jan 10 15:49 /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm.HOLD
-rw-r--r-- 1 root root 27456 Jan 10 15:49 /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm.HOLD

答案1

ls -al /lib/firmware/*.pnvm

-rw-r--r-- 1 root root 41804 Jan 10 15:49 /lib/firmware/iwlwifi-so-a0-gf-a0.pnvm
-rw-r--r-- 1 root root 27456 Jan 10 15:49 /lib/firmware/iwlwifi-ty-a0-gf-a0.pnvm

將這兩個 .pnvm 檔案重新命名為 .pnvm.HOLD,重新啟動到 5.13.0-27-generic 內核,重新測試 wifi。

更新#1:

只是為了清理dkms...

dkms status

rtl8821ce, v5.5.2_34066.20200325, 5.13.0-27-generic, x86_64: installed
rtl8821ce, v5.5.2_34066.20200325, 5.4.0-96-generic, x86_64: installed
rtl88x2bu, 5.8.7.1, 5.13.0-27-generic, x86_64: installed
virtualbox, 6.1.26, 5.11.0-46-generic, x86_64: installed
virtualbox, 6.1.26, 5.13.0-27-generic, x86_64: installed
virtualbox, 6.1.26, 5.4.0-96-generic, x86_64: installed

sudo dkms remove rtl8821ce/v5.5.2_34066.20200325 --all

sudo dkms remove rtl88x2bu/5.8.7.1 --all

sudo dkms remove virtualbox/6.1.26 -k 5.4.0-96-generic

更新#2:

嗯,看起來 5.13.0-27-generic 核心破壞了該用戶的 wifi。現在使用 5.11.0-46-generic 核心運行。留意Software Updater-27 以上的核心更新,更新,然後重新測試 wifi。

更新#3:

HP ProBook 640 G8 筆記型電腦

您有 BIOS T74 版本。 06 年 2 月 1 日。有更新的 BIOS 可用,版本 01.08.01 Rev.A,日期為 2022 年 1 月 27 日,可下載這裡。注意:網站可能會告訴您找不到您的 Ubuntu 作業系統,因此您必須手動告訴它您已經安裝了 Windows 10 64 位元 21H2。

安裝 BIOS 更新。重新啟動到-27 核心。重新測試無線網路。回來報告。

筆記:確認我擁有適合您的型號的正確網頁#

筆記:更新BIOS之前做好備份

更新#4:

核心 5.13.0-28 已於 2022 年 1 月 31 日發布。

答案2

我也遇到了同樣的問題,谷歌搜尋了幾天,現在可以了。

您需要更新 GRUB。

簡單的解決方案:前往 Ubuntu 軟體中心並蒐索“grubcustomizer” 點擊“預設條目”下的“常規設定”選項卡,選擇“預先定義”按鈕,然後從下拉清單中選擇舊版本。我選擇“5.11.0-46-generic”(這個新核心破壞了我的wifi“5.13.0-27-generic”)點擊儲存按鈕重新啟動系統,它應該可以工作。


稍微困難的解決方案:

如果您不想安裝grub定制器,而是想自行修改grub,請在終端機中輸入命令以開啟grub檔案:

須藤 gedit /etc/default/grub

現在在 gedit 中刪除或註解掉這一行:GRUB_DEFAULT=0

並添加這兩行

GRUB_DEFAULT="Ubuntu>Ubuntu 的進階選項,使用 Linux 5.11.0-46-generic" GRUB_SAVEDEFAULT="false"

儲存 grub 檔。

運行命令更新 grub sudo update-grub

重新啟動系統,它應該可以工作。

注意:5.11.0-46-generic 是我的 wifi 最後工作的版本,對於您來說可能是不同的版本,請檢查您的系統。

答案3

情況相同,但 Ubuntu 22.04 上的核心為 5.17.9

解決方法:重新啟動。在 grub 啟動過程中按下左移鍵,選擇較舊的內核,例如 5.17.5

相關內容