* Bug Report] wifi: rtw89: RTL8852BE fails to resume from suspend on kernel 6.14
@ 2025-09-05 15:22 Nader Ben Ammar
2025-09-08 1:11 ` Ping-Ke Shih
0 siblings, 1 reply; 2+ messages in thread
From: Nader Ben Ammar @ 2025-09-05 15:22 UTC (permalink / raw)
To: linux-wireless
Hi,
I'm reporting a bug with the rtw89 driver for Realtek RTL8852BE PCIe
WiFi on kernel 6.14.0-29-generic. The WiFi fails to resume from
suspend, requiring a reboot to regain connectivity.
Hardware:
- Device: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax
Wireless Network Controller
- Subsystem: Hewlett-Packard Company RTL8852BE PCIe 802.11ax Wireless
Network Controller
- PCI ID: 01:00.0
Kernel Version:
Linux HP-Laptop 6.14.0-29-generic #29~24.04.1-Ubuntu SMP
PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64
GNU/Linux
Driver:
- Out-of-tree rtw89 driver from https://github.com/morrownr/rtw89
- Module: rtw89_8852be_git
- Firmware: rtw89/rtw8852b_fw-1.bin (version 0.29.128.0)
Steps to Reproduce:
1. Connect to a WiFi network.
2. Suspend the system: `systemctl suspend`
3. Resume the system.
4. WiFi is disconnected and does not reconnect automatically. Manual
reconnection fails until reboot.
Expected Behavior:
WiFi should reconnect after resume.
Actual Behavior:
WiFi remains disconnected. `iwconfig` or `nmcli` shows no connection.
Logs show no errors on resume, but the device is unresponsive.
Kernel Command Line:
BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
rtw89.debug_mask=0x0001 vt.handoff=7
Driver Config (/etc/modprobe.d/rtw89.conf):
#
# Configuration file for the out-of-kernel rtw89 drivers
#
# Link: https://github.com/morrownr/rtw89
#
options rtw89_core_git debug_mask=0x0
options rtw89_core_git disable_ps_mode=y
options rtw89_pci_git disable_clkreq=y
options rtw89_pci_git disable_aspm_l1=y
options rtw89_pci_git disable_aspm_l1ss=y
# Blacklist the in-kernel rtw89 drivers
blacklist rtw89_8851bu
blacklist rtw89_8851be
blacklist rtw89_8851b
blacklist rtw89_8852au
blacklist rtw89_8852ae
blacklist rtw89_8852a
blacklist rtw89_8852b_common
blacklist rtw89_8852bu
blacklist rtw89_8852be
blacklist rtw89_8852b
blacklist rtw89_8852bte
blacklist rtw89_8852bt
blacklist rtw89_8852cu
blacklist rtw89_8852ce
blacklist rtw89_8852c
blacklist rtw89_8922au
blacklist rtw89_8922ae
blacklist rtw89_8922a
blacklist rtw89_core
blacklist rtw89_usb
blacklist rtw89_pci
# Blacklist Larry's rtw89 drivers
blacklist rtw89core
blacklist rtw89pci
blacklist rtw_8851b
blacklist rtw_8851be
blacklist rtw_8852a
blacklist rtw_8852ae
blacklist rtw_8852b
blacklist rtw_8852be
blacklist rtw_8852c
blacklist rtw_8852ce
blacklist rtw_8922a
lspci -vvv Output for 01:00.0:
01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE
PCIe 802.11ax Wireless Network Controller
DeviceName: Realtek PCIe GBE Family Controller
Subsystem: Hewlett-Packard Company RTL8852BE PCIe 802.11ax
Wireless Network Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
<TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 145
IOMMU group: 12
Region 0: I/O ports at 3000 [size=256]
Region 2: Memory at 80500000 (64-bit, non-prefetchable) [size=1M]
Capabilities: <access denied>
Kernel driver in use: rtw89_8852be_git
Kernel modules: rtw89_8852be, rtw89_8852be_git
dmesg | grep -i rtw89 Output:
[ 0.000000] Command line:
BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
rtw89.debug_mask=0x0001 vt.handoff=7
[ 0.033699] Kernel command line:
BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
rtw89.debug_mask=0x0001 vt.handoff=7
[ 3.261978] rtw89_core_git: loading out-of-tree module taints kernel.
[ 3.261986] rtw89_core_git: module verification failed: signature
and/or required key missing - tainting kernel
[ 3.716552] rtw89_8852be_git 0000:01:00.0: loaded firmware
rtw89/rtw8852b_fw-1.bin
[ 3.716635] rtw89_8852be_git 0000:01:00.0: enabling device (0000 -> 0003)
[ 3.718487] rtw89_8852be_git 0000:01:00.0: git commit
[ 3.724889] rtw89_8852be_git 0000:01:00.0: Firmware version
0.29.128.0 (418a672d), cmd version 0, type 5
[ 3.724901] rtw89_8852be_git 0000:01:00.0: Firmware version
0.29.128.0 (418a672d), cmd version 0, type 3
[ 4.017001] rtw89_8852be_git 0000:01:00.0: chip rfe_type is 1
[ 4.046776] rtw89_8852be_git 0000:01:00.0: rfkill hardware state
changed to enable
[ 4.079934] rtw89_8852be_git 0000:01:00.0 wlo1: renamed from wlan0
Additional Notes:
- This issue appears to have started with kernel 6.6+ due to changes
in PCIe power management.
- Disabling power save mode and ASPM in the driver config did not resolve it.
- The out-of-tree driver is used to avoid issues with the in-kernel version.
- Tested on kernels 6.5 and 6.14 with the same result.
Please investigate and provide a fix. Let me know if you need more information.
Thanks,
Nader
^ permalink raw reply [flat|nested] 2+ messages in thread
* RE: Bug Report] wifi: rtw89: RTL8852BE fails to resume from suspend on kernel 6.14
2025-09-05 15:22 Bug Report] wifi: rtw89: RTL8852BE fails to resume from suspend on kernel 6.14 Nader Ben Ammar
@ 2025-09-08 1:11 ` Ping-Ke Shih
0 siblings, 0 replies; 2+ messages in thread
From: Ping-Ke Shih @ 2025-09-08 1:11 UTC (permalink / raw)
To: Nader Ben Ammar, linux-wireless@vger.kernel.org
Nader Ben Ammar <nader.ben.ammar@gmail.com> wrote:
> I'm reporting a bug with the rtw89 driver for Realtek RTL8852BE PCIe
> WiFi on kernel 6.14.0-29-generic. The WiFi fails to resume from
> suspend, requiring a reboot to regain connectivity.
>
> Hardware:
> - Device: Realtek Semiconductor Co., Ltd. RTL8852BE PCIe 802.11ax
> Wireless Network Controller
> - Subsystem: Hewlett-Packard Company RTL8852BE PCIe 802.11ax Wireless
> Network Controller
> - PCI ID: 01:00.0
>
> Kernel Version:
> Linux HP-Laptop 6.14.0-29-generic #29~24.04.1-Ubuntu SMP
> PREEMPT_DYNAMIC Thu Aug 14 16:52:50 UTC 2 x86_64 x86_64 x86_64
> GNU/Linux
>
> Driver:
> - Out-of-tree rtw89 driver from https://github.com/morrownr/rtw89
> - Module: rtw89_8852be_git
> - Firmware: rtw89/rtw8852b_fw-1.bin (version 0.29.128.0)
Please try the latest kernel (6.17-rc) to see if any improvement.
>
> Steps to Reproduce:
> 1. Connect to a WiFi network.
> 2. Suspend the system: `systemctl suspend`
> 3. Resume the system.
> 4. WiFi is disconnected and does not reconnect automatically. Manual
> reconnection fails until reboot.
>
> Expected Behavior:
> WiFi should reconnect after resume.
>
> Actual Behavior:
> WiFi remains disconnected. `iwconfig` or `nmcli` shows no connection.
> Logs show no errors on resume, but the device is unresponsive.
Add no_console_suspend to kernel command line. Without any log, I have no
idea.
Is there any AP found by manually `iw wlan0 scan`?
>
> Kernel Command Line:
> BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
> root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
> mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
> acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
> rtw89.debug_mask=0x0001 vt.handoff=7
>
> Driver Config (/etc/modprobe.d/rtw89.conf):
> #
> # Configuration file for the out-of-kernel rtw89 drivers
> #
> # Link: https://github.com/morrownr/rtw89
> #
>
> options rtw89_core_git debug_mask=0x0
> options rtw89_core_git disable_ps_mode=y
>
> options rtw89_pci_git disable_clkreq=y
> options rtw89_pci_git disable_aspm_l1=y
> options rtw89_pci_git disable_aspm_l1ss=y
>
> # Blacklist the in-kernel rtw89 drivers
> # Blacklist Larry's rtw89 drivers
I only can debug in-kernel upstream drivers. For morrownr's rtw89, please
reports problems there.
>
> lspci -vvv Output for 01:00.0:
> 01:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852BE
> PCIe 802.11ax Wireless Network Controller
> DeviceName: Realtek PCIe GBE Family Controller
> Subsystem: Hewlett-Packard Company RTL8852BE PCIe 802.11ax
> Wireless Network Controller
> Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop-
> ParErr- Stepping- SERR- FastB2B- DisINTx+
> Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort-
> <TAbort- <MAbort- >SERR- <PERR- INTx-
> Latency: 0, Cache Line Size: 64 bytes
> Interrupt: pin A routed to IRQ 145
> IOMMU group: 12
> Region 0: I/O ports at 3000 [size=256]
> Region 2: Memory at 80500000 (64-bit, non-prefetchable) [size=1M]
> Capabilities: <access denied>
> Kernel driver in use: rtw89_8852be_git
> Kernel modules: rtw89_8852be, rtw89_8852be_git
>
> dmesg | grep -i rtw89 Output:
> [ 0.000000] Command line:
> BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
> root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
> mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
> acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
> rtw89.debug_mask=0x0001 vt.handoff=7
> [ 0.033699] Kernel command line:
> BOOT_IMAGE=/boot/vmlinuz-6.14.0-29-generic
> root=UUID=95dcee12-84fe-4ab6-a174-0de1f81679bc ro quiet splash
> mem_sleep_default=deep pcie_aspm=off pci=noaer pci_port_pm=off
> acpi_osi=Linux rtw89.disable_ps_mode=1 pci=noaer pcie_aspm=off
> rtw89.debug_mask=0x0001 vt.handoff=7
> [ 3.261978] rtw89_core_git: loading out-of-tree module taints kernel.
> [ 3.261986] rtw89_core_git: module verification failed: signature
> and/or required key missing - tainting kernel
> [ 3.716552] rtw89_8852be_git 0000:01:00.0: loaded firmware
> rtw89/rtw8852b_fw-1.bin
> [ 3.716635] rtw89_8852be_git 0000:01:00.0: enabling device (0000 -> 0003)
> [ 3.718487] rtw89_8852be_git 0000:01:00.0: git commit
> [ 3.724889] rtw89_8852be_git 0000:01:00.0: Firmware version
> 0.29.128.0 (418a672d), cmd version 0, type 5
> [ 3.724901] rtw89_8852be_git 0000:01:00.0: Firmware version
> 0.29.128.0 (418a672d), cmd version 0, type 3
> [ 4.017001] rtw89_8852be_git 0000:01:00.0: chip rfe_type is 1
> [ 4.046776] rtw89_8852be_git 0000:01:00.0: rfkill hardware state
> changed to enable
> [ 4.079934] rtw89_8852be_git 0000:01:00.0 wlo1: renamed from wlan0
>
> Additional Notes:
> - This issue appears to have started with kernel 6.6+ due to changes
> in PCIe power management.
Are you able to bisect the commit causing the problem?
> - Disabling power save mode and ASPM in the driver config did not resolve it.
> - The out-of-tree driver is used to avoid issues with the in-kernel version.
That mean out-of-tree driver doesn't have this issue? But you reported
problem that you are using out-of-tree driver in above?
> - Tested on kernels 6.5 and 6.14 with the same result.
The first note says this issue appears after 6.6+, but 6.5 has the same
result. I'm confused.
>
> Please investigate and provide a fix. Let me know if you need more information.
>
> Thanks,
> Nader
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-08 1:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-05 15:22 Bug Report] wifi: rtw89: RTL8852BE fails to resume from suspend on kernel 6.14 Nader Ben Ammar
2025-09-08 1:11 ` Ping-Ke Shih
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox