On Mon, 2023-08-14 at 12:20 +0000, Ping-Ke Shih wrote: > On Mon, 2023-08-14 at 11:52 +0200, Emmanuel Mazurier wrote: > > Hello, > > After a Debian 11 update, new header was installed : 5.10.0-24-amd64, > > and after upgrading rtw89 firmware, the driver was not recognized by > > the system. > > > > Dmesg error : > > rtw89core: loading out-of-tree module taints kernel. > > rtw89_8852ae 0000:09:00.0: not mfw format > > rtw89_8852ae 0000:09:00.0: failed to recognize firmware elements > > With these errors, it seems like you installed the latest wireless-next > kernel (aka kernel 6.6-rc), but your firmware is the oldest firmware > that we used it in development stage. > > Please provide below information to diagnose this problem. > > 1. kernel version you are using > $ uname -a > > 2. firmware you are using > $ ls -al /lib/firmware/rtw89/rtw8852a_fw.bin > $ md5sum /lib/firmware/rtw89/rtw8852a_fw.bin > > > rtw89_8852ae 0000:09:00.0: failed to setup chip information > > rtw89_8852ae: probe of 0000:09:00.0 failed with error -22 > > > > I have installed the firmware-realtek package too. > > > > Do you have any idea about the problem ? I can't use wifi for the moment. > > A possible fix is to update firmware to the latest that you can download > it via: > https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/rtw89/rtw8852a_fw.bin > > I will also send a patch to be backward compatible with the old firmware > if this problem is resolved. > Please also capture log when it failed to load firmware, and see if the firmware version like: rtw89_8852ae 0000:03:00.0: loaded firmware rtw89/rtw8852a_fw.bin rtw89_8852ae 0000:03:00.0: enabling device (0100 -> 0103) rtw89_8852ae 0000:03:00.0: Firmware version 0.9.12.2 (a6a0c425), cmd version 0, type 1 rtw89_8852ae 0000:03:00.0: not mfw format rtw89_8852ae 0000:03:00.0: failed to recognize firmware elements rtw89_8852ae 0000:03:00.0: failed to setup chip information rtw89_8852ae: probe of 0000:03:00.0 failed with error -22 Ping-Ke