Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 946802 - sys-kernel/gentoo-sources-6.6.x: rtw89_8851be module fails to load firmware
Summary: sys-kernel/gentoo-sources-6.6.x: rtw89_8851be module fails to load firmware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2024-12-21 22:51 UTC by Robert Gill
Modified: 2024-12-27 14:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Upstream Fix backported to 6.6 (wifi-rtw89-88xb-firmware-fix.patch,450 bytes, patch)
2024-12-24 16:37 UTC, Mike Pagano
Details | Diff
wifi-rtw89-88xb-firmware patch (wifi-rtw89-88xb-firmware-fix.patch,1.15 KB, patch)
2024-12-25 07:34 UTC, Robert Gill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Gill 2024-12-21 22:51:57 UTC
The 6.6.x kernel series fails to load the firmware for rtw89_8851be WiFi devices with the error "fw security fail". The only way I've found to fix it is perform a CMOS reset. Dual booting into Windows causes the issue to resurface. The following patch seems to fix the issue:

https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=80fb81bb46a57daedd5decbcc253ea48428a254e

It's available in =sys-kernel/gentoo-sources-6.11.11 and >=sys-kernel/gentoo-sources-6.12.2-r1.
Comment 1 Mike Pagano gentoo-dev 2024-12-24 16:37:43 UTC
Created attachment 914824 [details, diff]
Upstream Fix backported to 6.6

Can you test this patch please with the latest 6.6.X kernel which is 6.6.67 as of this writing ?
Comment 2 Robert Gill 2024-12-25 07:33:01 UTC
The `rtw89_is_rtl885xb` function wasn't defined in the 6.6.x kernels. It was a pretty simple function and this patch includes it. The 6.6.x kernels have been working so far with this provided patch.
Comment 3 Robert Gill 2024-12-25 07:34:04 UTC
Created attachment 914834 [details, diff]
wifi-rtw89-88xb-firmware patch
Comment 4 Mike Pagano gentoo-dev 2024-12-25 12:29:03 UTC
Thank-you, will be in the next 6.6.X release of gentoo-sources
Comment 5 Larry the Git Cow gentoo-dev 2024-12-27 14:54:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1a6527c755abcd1fea177650e64b2235ea8fdd5

commit e1a6527c755abcd1fea177650e64b2235ea8fdd5
Author:     Mike Pagano <mpagano@gentoo.org>
AuthorDate: 2024-12-27 14:53:16 +0000
Commit:     Mike Pagano <mpagano@gentoo.org>
CommitDate: 2024-12-27 14:53:16 +0000

    sys-kernel/gentoo-sources: add 6.6.68, rtw89_8851be fix
    
    wifi: rtw89: 885xb: reset IDMEM mode to prevent download firmware failure
    Closes: https://bugs.gentoo.org/946802
    
    Signed-off-by: Mike Pagano <mpagano@gentoo.org>

 sys-kernel/gentoo-sources/Manifest                 |  3 +++
 .../gentoo-sources/gentoo-sources-6.6.68.ebuild    | 27 ++++++++++++++++++++++
 2 files changed, 30 insertions(+)