Linux wireless drivers development
 help / color / mirror / Atom feed
* wifi: rtw89: 8852ce: firmware crash with v0.27.138.1
@ 2026-11-28 17:24 Janderland
  2026-11-30  7:43 ` Ping-Ke Shih
  0 siblings, 1 reply; 4+ messages in thread
From: Janderland @ 2026-11-28 17:24 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org; +Cc: pkshih@realtek.com


Hi,
After upgrading linux-firmware-realtek from 20261019 to 20261124 on
Arch Linux, my RTL8852CE (AzureWave subsystem) firmware crashes.

Kernel: 7.3.6-arch1-1
Bad firmware: v0.27.138.1
Good firmware: 0.27.129.4

Downgrading to 20261019 restores WiFi. It seems stable for more than 24 hours.

After the downgrade, the card was missing from the PCI bus until I fully removed AC power.

Relevant dmesg:
[  903.528421] ieee80211 phy0: Hardware restart was requested
[  905.806121] rtw89_8852ce 0000:08:00.0: FW status = 0xcb001228
[  905.806131] rtw89_8852ce 0000:08:00.0: FW BADADDR = 0x0
[  905.806135] rtw89_8852ce 0000:08:00.0: FW EPC/RA = 0x20148bb2
[  905.806138] rtw89_8852ce 0000:08:00.0: FW MISC = 0x0
[  905.806141] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H = 0x30000036
[  905.806144] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H_CTRL = 0x0
[  905.806147] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C = 0x0
[  905.806149] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C_CTRL = 0x0
[  905.806152] rtw89_8852ce 0000:08:00.0: R_AX_SER_DBG_INFO = 0x0
[  905.806158] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806172] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806185] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806198] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806212] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806225] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806239] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806252] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806266] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806279] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806292] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806306] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806319] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806332] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806346] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
[  905.806358] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
[  905.853285] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
[  905.853288] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
[  905.868084] rtw89_8852ce 0000:08:00.0: c2h reg timeout
[  905.918397] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
[  905.968190] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
[  905.968192] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
[  905.982965] rtw89_8852ce 0000:08:00.0: c2h reg timeout
[  905.982966] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
[  906.033288] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
[  906.033290] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000

Relevant lspci:
08:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8852CE PCIe 802.11ax Wireless Network Controller (rev 01)
Subsystem: AzureWave Device 5600
Flags: bus master, fast devsel, latency 0, IRQ 126, IOMMU group 19
I/O ports at e000 [size=256]
Memory at df500000 (64-bit, non-prefetchable) [size=1M]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Endpoint, IntMsgNum 0
Capabilities: [100] Advanced Error Reporting
Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-52-01
Capabilities: [158] Latency Tolerance Reporting
Capabilities: [160] L1 PM Substates
Capabilities: [170] Vendor Specific Information: ID=0002 Rev=4 Len=100 <?>
Kernel driver in use: rtw89_8852ce
Kernel modules: rtw89_8852ce

If there is any other information I can provide, I'd be happy to help.

Thanks,
Jose

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: wifi: rtw89: 8852ce: firmware crash with v0.27.138.1
  2026-11-28 17:24 wifi: rtw89: 8852ce: firmware crash with v0.27.138.1 Janderland
@ 2026-11-30  7:43 ` Ping-Ke Shih
  2026-11-30 11:15   ` Janderland
  0 siblings, 1 reply; 4+ messages in thread
From: Ping-Ke Shih @ 2026-11-30  7:43 UTC (permalink / raw)
  To: Janderland, linux-wireless@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 3216 bytes --]

Janderland <janderland@proton.me> wrote:
> Hi,
> After upgrading linux-firmware-realtek from 20261019 to 20261124 on
> Arch Linux, my RTL8852CE (AzureWave subsystem) firmware crashes.
> 
> Kernel: 7.3.6-arch1-1
> Bad firmware: v0.27.138.1
> Good firmware: 0.27.129.4
> 
> Downgrading to 20261019 restores WiFi. It seems stable for more than 24 hours.
> 
> After the downgrade, the card was missing from the PCI bus until I fully removed AC power.
> 
> Relevant dmesg:
> [  903.528421] ieee80211 phy0: Hardware restart was requested
> [  905.806121] rtw89_8852ce 0000:08:00.0: FW status = 0xcb001228
> [  905.806131] rtw89_8852ce 0000:08:00.0: FW BADADDR = 0x0
> [  905.806135] rtw89_8852ce 0000:08:00.0: FW EPC/RA = 0x20148bb2
> [  905.806138] rtw89_8852ce 0000:08:00.0: FW MISC = 0x0
> [  905.806141] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H = 0x30000036
> [  905.806144] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H_CTRL = 0x0
> [  905.806147] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C = 0x0
> [  905.806149] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C_CTRL = 0x0
> [  905.806152] rtw89_8852ce 0000:08:00.0: R_AX_SER_DBG_INFO = 0x0
> [  905.806158] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806172] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806185] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806198] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806212] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806225] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806239] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806252] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806266] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806279] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806292] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806306] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806319] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806332] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806346] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> [  905.806358] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.853285] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> [  905.853288] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.868084] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> [  905.918397] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> [  905.968190] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> [  905.968192] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  905.982965] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> [  905.982966] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> [  906.033288] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> [  906.033290] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> 

[...]

> 
> If there is any other information I can provide, I'd be happy to help.

Please apply attached patch to collect registers 0x518~0x534, and report
the dmesg like above (or full dmesg). 

Ping-Ke


[-- Attachment #2: 0001-RFT-dump-0x518-to-0x534-when-SER.patch --]
[-- Type: application/octet-stream, Size: 1037 bytes --]

From 1526815b6bf5e7d5095f7862f24ece4db1e8f1ef Mon Sep 17 00:00:00 2001
From: Ping-Ke Shih <pkshih@realtek.com>
Date: Mon, 30 Nov 2026 15:34:24 +0800
Subject: [PATCH] [RFT] dump 0x518 to 0x534 when SER

Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
---
 drivers/net/wireless/realtek/rtw89/fw.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c
index 89559454ebe2..8264f18e6842 100644
--- a/drivers/net/wireless/realtek/rtw89/fw.c
+++ b/drivers/net/wireless/realtek/rtw89/fw.c
@@ -9894,6 +9894,10 @@ void rtw89_fw_st_dbg_dump(struct rtw89_dev *rtwdev)
 		return;
 	}
 
+	for (u32 addr = 0x518; addr <= 0x534; addr += 4) {
+		rtw89_info(rtwdev, "0x%x = 0x%08x\n", addr, rtw89_read32(rtwdev, addr));
+	}
+
 	rtw89_info(rtwdev, "FW status = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM0));
 	rtw89_info(rtwdev, "FW BADADDR = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM1));
 	rtw89_info(rtwdev, "FW EPC/RA = 0x%x\n", rtw89_read32(rtwdev, R_AX_UDM2));
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* RE: wifi: rtw89: 8852ce: firmware crash with v0.27.138.1
  2026-11-30  7:43 ` Ping-Ke Shih
@ 2026-11-30 11:15   ` Janderland
  2026-12-01  7:45     ` Ping-Ke Shih
  0 siblings, 1 reply; 4+ messages in thread
From: Janderland @ 2026-11-30 11:15 UTC (permalink / raw)
  To: linux-wireless@vger.kernel.org, Ping-Ke Shih

Hi,
I applied your patch and reproduced the crash. Registers 0x518-0x534:

0x518 = 0x78656f43
0x51c = 0x6e6f4d5f
0x520 = 0x6d69745f
0x524 = 0x00007265
0x528-0x534 = 0x00000000

Read as little-endian ASCII, this is "Coex_Mon_timer".

FW EPC/RA (0x20148bb2) and fw PC (0x20150b6a) match my original report.

Kernel: 7.3.6-arch1-1
Firmware version: 0.27.138.1
Full kernel logs (MAC addresses and hostname redacted):
Bluetooth enabled: https://gist.github.com/bolorino/4c0b58368a34ae5d0f39e347c80366c4
Bluetooth blocked: https://gist.github.com/bolorino/b813f6b090a15e1fc70f02e9c38cf668

Thanks,
Jose


Enviado desde un correo electrónico seguro de Proton Mail.

El lunes, 30 de noviembre de 2026 a las 08:43, Ping-Ke Shih <pkshih@realtek.com> escribió:

> Janderland <janderland@proton.me> wrote:
> > Hi,
> > After upgrading linux-firmware-realtek from 20261019 to 20261124 on
> > Arch Linux, my RTL8852CE (AzureWave subsystem) firmware crashes.
> >
> > Kernel: 7.3.6-arch1-1
> > Bad firmware: v0.27.138.1
> > Good firmware: 0.27.129.4
> >
> > Downgrading to 20261019 restores WiFi. It seems stable for more than 24 hours.
> >
> > After the downgrade, the card was missing from the PCI bus until I fully removed AC power.
> >
> > Relevant dmesg:
> > [  903.528421] ieee80211 phy0: Hardware restart was requested
> > [  905.806121] rtw89_8852ce 0000:08:00.0: FW status = 0xcb001228
> > [  905.806131] rtw89_8852ce 0000:08:00.0: FW BADADDR = 0x0
> > [  905.806135] rtw89_8852ce 0000:08:00.0: FW EPC/RA = 0x20148bb2
> > [  905.806138] rtw89_8852ce 0000:08:00.0: FW MISC = 0x0
> > [  905.806141] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H = 0x30000036
> > [  905.806144] rtw89_8852ce 0000:08:00.0: R_AX_HALT_C2H_CTRL = 0x0
> > [  905.806147] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C = 0x0
> > [  905.806149] rtw89_8852ce 0000:08:00.0: R_AX_HALT_H2C_CTRL = 0x0
> > [  905.806152] rtw89_8852ce 0000:08:00.0: R_AX_SER_DBG_INFO = 0x0
> > [  905.806158] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806172] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806185] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806198] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806212] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806225] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806239] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806252] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806266] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806279] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806292] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806306] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806319] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806332] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806346] rtw89_8852ce 0000:08:00.0: [ERR]fw PC = 0x20150b6a
> > [  905.806358] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> > [  905.853285] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> > [  905.853288] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> > [  905.868084] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> > [  905.918397] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> > [  905.968190] rtw89_8852ce 0000:08:00.0: firmware failed to ack for leaving ps mode
> > [  905.968192] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> > [  905.982965] rtw89_8852ce 0000:08:00.0: c2h reg timeout
> > [  905.982966] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> > [  906.033288] rtw89_8852ce 0000:08:00.0: rtw89: failed to leave lps state
> > [  906.033290] rtw89_8852ce 0000:08:00.0: SER catches error: 0x4000
> >
>
> [...]
>
> >
> > If there is any other information I can provide, I'd be happy to help.
>
> Please apply attached patch to collect registers 0x518~0x534, and report
> the dmesg like above (or full dmesg).
>
> Ping-Ke
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: wifi: rtw89: 8852ce: firmware crash with v0.27.138.1
  2026-11-30 11:15   ` Janderland
@ 2026-12-01  7:45     ` Ping-Ke Shih
  0 siblings, 0 replies; 4+ messages in thread
From: Ping-Ke Shih @ 2026-12-01  7:45 UTC (permalink / raw)
  To: Janderland, linux-wireless@vger.kernel.org

[-- Attachment #1: Type: text/plain, Size: 911 bytes --]

Janderland <janderland@proton.me> wrote:
> Hi,
> I applied your patch and reproduced the crash. Registers 0x518-0x534:
> 
> 0x518 = 0x78656f43
> 0x51c = 0x6e6f4d5f
> 0x520 = 0x6d69745f
> 0x524 = 0x00007265
> 0x528-0x534 = 0x00000000
> 
> Read as little-endian ASCII, this is "Coex_Mon_timer".
> 
> FW EPC/RA (0x20148bb2) and fw PC (0x20150b6a) match my original report.
> 
> Kernel: 7.3.6-arch1-1
> Firmware version: 0.27.138.1
> Full kernel logs (MAC addresses and hostname redacted):
> Bluetooth enabled: https://gist.github.com/bolorino/4c0b58368a34ae5d0f39e347c80366c4
> Bluetooth blocked: https://gist.github.com/bolorino/b813f6b090a15e1fc70f02e9c38cf668
> 

Please use attached firmware to see if it can help.

Since the firmware version is the same as before, please use md5sum to confirm:

5438c1e3225effb71f6648ea91454635  /lib/firmware/rtw89/rtw8852c_fw-2.bin

Ping-Ke



[-- Attachment #2: rtw8852c_fw-2.bin --]
[-- Type: application/octet-stream, Size: 2712326 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-12-01  7:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-28 17:24 wifi: rtw89: 8852ce: firmware crash with v0.27.138.1 Janderland
2026-11-30  7:43 ` Ping-Ke Shih
2026-11-30 11:15   ` Janderland
2026-12-01  7:45     ` 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