Ubuntu 20.04 でカーネルを 5.13.0-27-generic にアップデートした後、Wi-Fi が機能しない

Ubuntu 20.04 でカーネルを 5.13.0-27-generic にアップデートした後、Wi-Fi が機能しない

私のラップトップは、Ubuntu 20.04 がインストールされた HP PROBOOK です。先日、システム カーネルが 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

アップデートする前は正常に動作していたのですが、再起動後に突然この問題が発生しました。

ドライバーが不足しているのか、Wi-Fi アダプターに何か問題があるのか​​はわかりません。

ドライバーが見つからない場合、これらのドライバーをどこから入手するか、また Wi-Fi アダプターの場合も同様です。

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

これら 2 つの .pnvm ファイルの名前を .pnvm.HOLD に変更し、5.13.0-27-generic カーネルに再起動して、Wi-Fi を再テストします。

アップデート#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 カーネルがこのユーザーの Wi-Fi を壊しているようです。今のところは 5.11.0-46-generic カーネルで実行してください。Software Updater-27 より新しいカーネル アップデートを監視し、アップデートしてから Wi-Fi を再テストしてください。

アップデート#3:

HP ProBook 640 G8 ノートブック PC

BIOS T74 Ver. 01.02.06 を使用しています。2022年1月27日付けの新しい BIOS バージョン 01.08.01 Rev.A がダウンロード可能です。ここ注: Web サイトでは Ubuntu OS が見つからないと表示されることがあります。その場合は、Windows 10 64 ビット 21H2 を使用していることを手動で伝える必要があります。

BIOS アップデートをインストールします。-27 カーネルで再起動します。Wi-Fi を再テストします。結果を報告します。

注記: お使いのモデル番号に適切なウェブページがあることを確認してください

注記: BIOSを更新する前に適切なバックアップを取っておく

アップデート#4:

カーネル 5.13.0-28 は本日 2022 年 1 月 31 日にリリースされました。

答え2

私も同じ問題を抱えていたので、数日間グーグルで検索したところ、今はうまくいきました。

GRUB を更新する必要があります。

簡単な解決策: Ubuntu ソフトウェア センターにアクセスし、「grub customizer」を検索します。「default entry」の下の [General Settings] タブをクリックし、「predefined」ボタンを選択して、ドロップダウンから古いバージョンを選択します。私は「5.11.0-46-generic」を選択しました (この新しいカーネルは私の WiFi「5.13.0-27-generic」を壊しました)。保存ボタンをクリックしてシステムを再起動すると、動作するはずです。


少し難しい解決策:

grub カスタマイザーをインストールせず、自分で grub を変更する場合は、ターミナルで次のコマンドを入力して grub ファイルを開きます。

sudo gedit /etc/default/grub

geditで次の行を削除またはコメントアウトします: GRUB_DEFAULT=0

そしてこの2行を追加します

GRUB_DEFAULT="Ubuntu の詳細オプション>Ubuntu、Linux 5.11.0-46-generic" GRUB_SAVEDEFAULT="false"

grub ファイルを保存します。

grubを更新するコマンドsudo update-grubを実行します。

システムを再起動すると動作するはずです。

注: 5.11.0-46-generic は、私の Wi-Fi が最後に動作していたバージョンです。あなたの場合は異なるバージョンである可能性がありますので、システムを確認してください。

答え3

同じケースですが、Ubuntu 22.04 のカーネル 5.17.9 の場合

解決策: 再起動します。GRUB の起動中に左シフトを押して、5.17.5 などの古いカーネルを選択します。

関連情報