Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#77631 - Wifi rtw88_8723de breaks boot and suspension on 6.1 kernels
Attached to Project:
Arch Linux
Opened by Fabrizio Pomata (pomatius) - Thursday, 23 February 2023, 17:35 GMT
Last edited by Toolybird (Toolybird) - Saturday, 15 April 2023, 22:01 GMT
Opened by Fabrizio Pomata (pomatius) - Thursday, 23 February 2023, 17:35 GMT
Last edited by Toolybird (Toolybird) - Saturday, 15 April 2023, 22:01 GMT
|
DetailsDescription:
If rtw88_8723de module is loaded on a 6.1.x kernel, the machine gets stuck on boot and on resume from suspension. Additional info: * Any 6.1.x kernel (including lts) with latest Lightdm and i3 binaries from the official repos and the rtw88_8723de module * journalctl log from a defective boot sequence * There aren't any reports on upstream Steps to reproduce: 1. Boot up your computer. It will get stuck on boot. 2. If you arch-chroot and blacklist the module by creating a .conf file on /etc/modprobe.d with the line blacklist rtw88_8723de, you will be able to boot up correctly. Once booted up, you can load the module using sudo modprobe rtw88_8723de and it works just fine. 3. If you managed to complete step 2., if the machine enters suspension (by, for example, closing your lid), when you want to resume from suspension, it gets stuck again. If you unloaded the module before going to suspension, everything works fine. 4. If you boot up a 5.x.x kernel, everything works perfectly (I had to install the 5.x.x. rt kernel from the Arch repo as a workaround in order to be able to use my laptop). I didn't tested now, but I remember it also worked on 6.0.x kernels as well. So, the problem is clearly on 6.1.x. |
This task depends upon
Closed by Toolybird (Toolybird)
Saturday, 15 April 2023, 22:01 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
Saturday, 15 April 2023, 22:01 GMT
Reason for closing: Fixed
Additional comments about closing: See comments
rtw_bug_6.1.log
*-network
description: Wireless interface
product: RTL8723DE 802.11b/g/n PCIe Adapter
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlo1
version: 00
serial: 80:91:33:c5:b3:71
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtw_8723de driverversion=6.1.12.arch1-1 firmware=N/A ip=192.168.100.45 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:131 ioport:3000(size=256) memory:a4000000-a400ffff
Reports from other users:
https://ask.fedoraproject.org/t/kernel-6-1-6-does-not-boot/30947/6
https://forum.endeavouros.com/t/kernel-6-1-stuck-in-boot-before-login-window/35127
https://www.reddit.com/r/linux4noobs/comments/10dsru2/i_can_only_boot_to_graphical_interface_in_the/
I followed these steps:
1. Enabled test and community-test on pacman.conf
2. sudo pacman -Syu && sudo pacman -S linux
3. Created a new entry on /boot/loader/entries (systemd-boot)
4. Rebooted
5. Selected the test kernel to boot into the latest 6.2.arch1-1 kernel
Unfortunately same results, it got stuck again. I also tried blacklisting the module again with this kernel, and it booted successfully. In other words, the buggy behaviour is still replicable on this kernel as well.I run uname -a and lshw just to make sure the 6.2 kernel was actually being used during my tests.
[1] https://wiki.archlinux.org/title/Kernel#Debugging_regressions
FS#77651Someone affected *really* needs to report this upstream...
Someone else reported the bug, here: https://bugzilla.kernel.org/show_bug.cgi?id=217016
The fix is set to ship with kernel 6.3, apparently: https://lore.kernel.org/linux-wireless/20230216053633 . 20366-1-pkshih@realtek.com/T/#u
When it's out, I will test and report back. Hopefully, this solves the issue.
Cheers.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4a267bc5ea8f159b614d0549030216d0434eccca
[2] https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=976fe246a57db503d2a0841c8cb813f2f66b78af
Since I didn't know about this, I was still holding back on to a 5.x.x kernel.So, I think we can close this up.
Thank you very much, @loqs