| Summary: | sys-kernel/linux-firmware-20230310-r1: firmware rtw89/rtw8852b_fw.bin does not load/not recognized after upgrade | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | rab0171610 <rb0171610> |
| Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | rb0171610 |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| URL: | https://bugzilla.kernel.org/show_bug.cgi?id=217207 | ||
| See Also: | https://bugzilla.kernel.org/show_bug.cgi?id=217207 | ||
| Whiteboard: | Kernel changes needed | ||
| Package list: | Runtime testing required: | --- | |
| Attachments: | emerge --info | ||
|
Description
rab0171610
2023-03-15 02:59:26 UTC
Created attachment 857757 [details]
emerge --info
emerge --info
Correction: Replacing the files in /usr/lib/firmware/rtw89, specifically rtw8852b_fw.bin from a backup of the previous working version of sys-kernel/linux-firmware-20230210 does indeed fix the problem. I suspect this is an upstream bug but I do not know how I would report my issue there. There were two commits made upstream on 2-24-23 to the rtw8852b firmware binary: "rtw89: 8852b: update fw to v0.29.26.0 New fimrware type 5 to support hardware scan, P2P-PS and etc." "rtw89: 8852b: update fw to v0.29.29.0 Correct channel report of hardware scan." "--- a/rtw89/rtw8852b_fw.bin +++ b/rtw89/rtw8852b_fw.bin . . .Binary files differ" This newest binary blob version does not work for my machine. Update: I can confirm this is most likely an upstream bug. Using the firmware binary in question (rtw8852b_fw.bin) from archive downloaded from linux-firmware git repository (linux-firmware-20230310.tar.gz) results in the same error - no suitable firmware found/firmware not recognized. This bug has been addressed upstream but in the interim may still affect Gentoo users under certain configurations. After confirming it was likely an upstream bug, I reported upstream at Kernel.org. Per Ping-Ke (Realtek): "The firmware format is changed, and wireless-next tree or upcoming 6.3 will support it. I will also post this information on the bug." Linux Kernel bugzilla bug 217207 In Conclusion: As a test, I installed the Linux mainline kernel 6.3.0-rc2. Previous version of rtw8852b firmware from sys-kernel/linux-firmware-20230210 works in the 6.3 kernel as does new version in sys-kernel/linux-firmware-20230310. With the 6.2 kernel versions, only the previous firmware version works (20230210) and the newer firmware version (20230310) does not. (In reply to rab0171610 from comment #5) > In Conclusion: > As a test, I installed the Linux mainline kernel 6.3.0-rc2. > > Previous version of rtw8852b firmware from > sys-kernel/linux-firmware-20230210 works in the 6.3 kernel as does new > version in sys-kernel/linux-firmware-20230310. > > With the 6.2 kernel versions, only the previous firmware version works > (20230210) and the newer firmware version (20230310) does not. Thanks for this, I imagine a warning might be helpful until that fix works it's way down. I'll look at the fix and see if we can incorporate it ourselves. Sorry for the spam (In reply to Mike Pagano from comment #7) > Sorry for the spam You can get the fix from linux-firmware-99999999 or wait until the April release. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149c7a90e16bc254785e16fc25452daaf052a44c commit 149c7a90e16bc254785e16fc25452daaf052a44c Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2023-04-05 14:52:57 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2023-04-05 14:52:57 +0000 sys-kernel/linux-firmware: add 20230404 Closes: https://bugs.gentoo.org/901255 Signed-off-by: Mike Pagano <mpagano@gentoo.org> sys-kernel/linux-firmware/Manifest | 1 + .../linux-firmware/linux-firmware-20230404.ebuild | 403 +++++++++++++++++++++ 2 files changed, 404 insertions(+) |