[Bug 1209449] New: Wifi not working with most recent version of kernel-firmware-realtek-20230313-1.1 (with workaround)
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1209449 Bug ID: 1209449 Summary: Wifi not working with most recent version of kernel-firmware-realtek-20230313-1.1 (with workaround) Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Major Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: Hans.Aschauer@web.de QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- After updating my openSuse Tumbleweed on 2023-03-18, I found that my Wifi card was no longer found. I traced it down to a problem with loading the firmware file: # dmesg | grep rtw [ 5.092426] rtw89_8852be 0000:03:00.0: Direct firmware load for rtw89/rtw8852b_fw.bin failed with error -2 [ 5.092431] rtw89_8852be 0000:03:00.0: failed to early request firmware: -2 [ 5.093334] rtw89_8852be 0000:03:00.0: enabling device (0000 -> 0003) [ 5.106477] rtw89_8852be 0000:03:00.0: no suitable firmware found [ 5.106855] rtw89_8852be 0000:03:00.0: failed to recognize firmware [ 5.107068] rtw89_8852be 0000:03:00.0: failed to setup chip information [ 5.109638] rtw89_8852be: probe of 0000:03:00.0 failed with error -2 Booting from a btrfs snapshot from before the update left me with a working Wifi. I noticed that in the update, the firmware file has been modified (snapshot 5 is the one with the working Wifi): From snapshot 5: # cd /.snapshots/5/snapshot/lib/firmware/rtw89/ # sha256sum rtw8852* ... 147ece8abea92576a7cdb888f174422abb3b1265371c016e16093400934b9858 rtw8852b_fw.bin.xz ... # From not working system after update: # sha256sum /lib/firmware/rtw89/rtw8852* ... 0a1b68c540e5670c4e651802c7ecbd01bd045e98a4d36903aee494abde94b69f /lib/firmware/rtw89/rtw8852b_fw.bin.xz ... I could work around the problem by copying the "old" version of the firmware file over the "new" version and reloading the rtl89 modules: # rmmod rtw89_8852be rtw89_8852b rtw89_pci rtw89_core # modprobe rtw89_8852be # dmesg | grep rtw [...} [ 2041.634894] rtw89_8852be 0000:03:00.0: Direct firmware load for rtw89/rtw8852b_fw.bin failed with error -2 [ 2041.634900] rtw89_8852be 0000:03:00.0: failed to early request firmware: -2 [ 2041.645334] rtw89_8852be 0000:03:00.0: Firmware version 0.27.32.1, cmd version 0, type 1 [ 2041.645339] rtw89_8852be 0000:03:00.0: Firmware version 0.27.32.1, cmd version 0, type 3 [ 2041.958866] rtw89_8852be 0000:03:00.0: chip rfe_type is 1 [ 2041.991533] rtw89_8852be 0000:03:00.0 wlp3s0: renamed from wlan0 After the reload, the Wifi was detected by NetworkManager, and I got a working connection immediately. ---- Some details about my system: ThinkPad E14 Gen4 AMD (21EB0040GE) # uname -a Linux thinkpad-E14.site 6.2.4-1-default #1 SMP PREEMPT_DYNAMIC Sat Mar 11 10:13:47 UTC 2023 (0532a55) x86_64 x86_64 x86_64 GNU/Linux # rpm -qa | grep kernel-default kernel-default-6.2.4-1.1.x86_64 # zypper info kernel-firmware-realtek Loading repository data... Reading installed packages... Information for package kernel-firmware-realtek: ------------------------------------------------ Repository : Haupt-Repository (OSS) Name : kernel-firmware-realtek Version : 20230313-1.1 Arch : noarch Vendor : openSUSE Installed Size : 1.6 MiB Installed : Yes Status : up-to-date Source package : kernel-firmware-20230313-1.1.src Upstream URL : https://git.kernel.org/cgit/linux/kernel/git/firmware/linux-firmware.git/ Summary : Kernel firmware files for Realtek wireless drivers Description : This package contains compressed kernel firmware files for Realtek wireless drivers. # hwinfo --network 42: None 00.0: 10701 Ethernet [Created at net.126] Unique ID: Mqes.ndpeucax6V1 Parent ID: hAO_.0Y9Hsjl5nJ7 SysFS ID: /class/net/wlp3s0 SysFS Device Link: /devices/pci0000:00/0000:00:02.3/0000:03:00.0 Hardware Class: network interface Model: "Ethernet network interface" Driver: "rtw89_8852be" Driver Modules: "rtw89_8852be" Device File: wlp3s0 HW Address: f4:6a:dd:xx:yy:zz Permanent HW Address: f4:6a:dd:xx:yy:zz Link detected: yes Config Status: cfg=new, avail=yes, need=no, active=unknown Attached to: #1 (Ethernet controller) [... ethernet and loopback snipped ...] # lspci 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7 01:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5411 (rev 01) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15) 03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Barcelo (rev c2) 04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller 04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor 04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01) 04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller -- You are receiving this mail because: You are the assignee for the bug.
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1209449
http://bugzilla.opensuse.org/show_bug.cgi?id=1209449#c1
Takashi Iwai
![](https://seccdn.libravatar.org/avatar/a895f78a81a109471893519443e4d933.jpg?s=120&d=mm&r=g)
http://bugzilla.opensuse.org/show_bug.cgi?id=1209449
http://bugzilla.opensuse.org/show_bug.cgi?id=1209449#c2
Takashi Iwai
participants (1)
-
bugzilla_noreply@suse.com