Bug 2314437

Summary: Wifi stops working after upgrade to Fedora 41 Beta: rtw89_8852be fails to probe with error -110
Product: [Fedora] Fedora Reporter: Nirbheek Chauhan <nirbheek.chauhan>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 41CC: acaringi, adscvr, airlied, alciregi, awilliam, bskeggs, goodmirek, hdegoede, hpa, josef, kernel-maint, linville, masami256, mchehab, ptalbert, robatino, steved, suraj.ghimire7
Target Milestone: ---Keywords: Regression, UpcomingRelease, UpgradeBlocker
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: AcceptedBlocker
Fixed In Version: kernel-6.11.3-300.fc41 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-10-12 00:20:11 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2247867    
Attachments:
Description Flags
6.11.0-63.fc41.x86_64 dmesg none

Description Nirbheek Chauhan 2024-09-24 14:14:22 UTC
1. Please describe the problem:

My wifi doesn't work after upgrading to Fedora 41 Beta. This seems to be because the driver fails to load:

kernel: rtw89_8852be 0000:08:00.0: failed to setup chip information
kernel: rtw89_8852be 0000:08:00.0: probe with driver rtw89_8852be failed with error -110

complete dmesg is attached.

2. What is the Version-Release number of the kernel:

6.11.0-63.fc41.x86_64

3. Did it work previously in Fedora? If so, what kernel version did the issue
   *first* appear?  Old kernels are available for download at
   https://koji.fedoraproject.org/koji/packageinfo?packageID=8 :

It worked with Fedora 40, kernel 6.10.10-200.fc40.x86_64, and broke when I upgraded to Fedora 41 beta, kernel 6.11.0-63.fc41.x86_64. I can do a bisect by manually installing old kernels if you want me to.

4. Can you reproduce this issue? If so, please provide the steps to reproduce
   the issue below:

Yes, it happens every time on boot.

5. Does this problem occur with the latest Rawhide kernel? To install the
   Rawhide kernel, run ``sudo dnf install fedora-repos-rawhide`` followed by
   ``sudo dnf update --enablerepo=rawhide kernel``:

Yes, tried with 6.12.0-0.rc0.20240920gitbaeb9a7d8b60.7.fc42.x86_64 (mockbuild@d4939907b9744057b8e0f6f37bb04de8)

6. Are you running any modules that not shipped with directly Fedora's kernel?:

No.

7. Please attach the kernel logs. You can get the complete kernel log
   for a boot with ``journalctl --no-hostname -k > dmesg.txt``. If the
   issue occurred on a previous boot, use the journalctl ``-b`` flag.

Reproducible: Always

Comment 1 Nirbheek Chauhan 2024-09-24 14:15:43 UTC
Created attachment 2048483 [details]
6.11.0-63.fc41.x86_64 dmesg

Comment 2 Fedora Blocker Bugs Application 2024-10-04 12:43:55 UTC
Proposed as a Blocker for 41-final by Fedora user nirbheek using the blocker tracking app because:

 Wifi breaks for users on Realtek 8851BE, 8852AE, 8852BE, 8852CE, and 8922AE, which are fairly common cards. In the hands of the typical user who doesn't know about booting an older kernel with GRUB, this leaves the system in an unrecoverable state.

There is a proposed fix on LKML which should probably be backported: https://lore.kernel.org/linux-wireless/20240924021633.19861-1-pkshih@realtek.com/T/

Comment 3 Adam Williamson 2024-10-04 17:01:49 UTC
jforbes says he's aware of this and is waiting for upstream review/merge of the proposed patch.

Comment 4 Adam Williamson 2024-10-07 16:04:19 UTC
+7 in https://pagure.io/fedora-qa/blocker-review/issue/1679 , marking accepted.

Comment 5 Fedora Update System 2024-10-10 22:06:52 UTC
FEDORA-2024-b8b5224019 (kernel-6.11.3-300.fc41 and kernel-headers-6.11.3-300.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8b5224019

Comment 6 Fedora Update System 2024-10-11 01:36:55 UTC
FEDORA-2024-b8b5224019 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-b8b5224019`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-b8b5224019

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-10-12 00:20:11 UTC
FEDORA-2024-b8b5224019 (kernel-6.11.3-300.fc41 and kernel-headers-6.11.3-300.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.