Ubuntu 22.04.3 LTS 上的 rtw89_8852ae 意外失败

Ubuntu 22.04.3 LTS 上的 rtw89_8852ae 意外失败

在新安装的设备Ubuntu 22.04.3 LTS6.2.0-36-generic,rtw89_8852ae 意外出现故障并且延迟增加。

这是系统日志:

Nov  5 19:56:41 ideapad kernel: [ 1493.829087] rtw89_8852ae 0000:03:00.0: FW status = 0x74008000
Nov  5 19:56:41 ideapad kernel: [ 1493.829101] rtw89_8852ae 0000:03:00.0: FW BADADDR = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.829108] rtw89_8852ae 0000:03:00.0: FW EPC/RA = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.829114] rtw89_8852ae 0000:03:00.0: FW MISC = 0xb898e663
Nov  5 19:56:41 ideapad kernel: [ 1493.829120] rtw89_8852ae 0000:03:00.0: R_AX_HALT_C2H = 0x1000
Nov  5 19:56:41 ideapad kernel: [ 1493.829126] rtw89_8852ae 0000:03:00.0: R_AX_SER_DBG_INFO = 0xf500001e
Nov  5 19:56:41 ideapad kernel: [ 1493.829136] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe8b
Nov  5 19:56:41 ideapad kernel: [ 1493.829237] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898feb1
Nov  5 19:56:41 ideapad kernel: [ 1493.829338] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898feb3
Nov  5 19:56:41 ideapad kernel: [ 1493.829390] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff7f
Nov  5 19:56:41 ideapad kernel: [ 1493.829441] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fead
Nov  5 19:56:41 ideapad kernel: [ 1493.829492] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff9b
Nov  5 19:56:41 ideapad kernel: [ 1493.829544] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898feb1
Nov  5 19:56:41 ideapad kernel: [ 1493.829595] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff99
Nov  5 19:56:41 ideapad kernel: [ 1493.829646] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe9d
Nov  5 19:56:41 ideapad kernel: [ 1493.829696] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff83
Nov  5 19:56:41 ideapad kernel: [ 1493.829714] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe3f
Nov  5 19:56:41 ideapad kernel: [ 1493.829732] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fea5
Nov  5 19:56:41 ideapad kernel: [ 1493.829750] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe9b
Nov  5 19:56:41 ideapad kernel: [ 1493.829768] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe87
Nov  5 19:56:41 ideapad kernel: [ 1493.829785] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff91
Nov  5 19:56:41 ideapad kernel: [ 1493.829801] rtw89_8852ae 0000:03:00.0: --->
Nov  5 19:56:41 ideapad kernel: [ 1493.829801] err=0x1000
Nov  5 19:56:41 ideapad kernel: [ 1493.829807] rtw89_8852ae 0000:03:00.0: R_AX_SER_DBG_INFO =0xf500001e
Nov  5 19:56:41 ideapad kernel: [ 1493.829816] rtw89_8852ae 0000:03:00.0: R_AX_DMAC_ERR_ISR=0x00000040
Nov  5 19:56:41 ideapad kernel: [ 1493.829822] rtw89_8852ae 0000:03:00.0: R_AX_DMAC_ERR_IMR=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829827] rtw89_8852ae 0000:03:00.0: R_AX_WDE_ERR_FLAG_CFG=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829834] rtw89_8852ae 0000:03:00.0: R_AX_PLE_ERR_FLAG_CFG=0x83190000
Nov  5 19:56:41 ideapad kernel: [ 1493.829840] rtw89_8852ae 0000:03:00.0: R_AX_WDE_ERR_IMR=0xffffffff
Nov  5 19:56:41 ideapad kernel: [ 1493.829846] rtw89_8852ae 0000:03:00.0: R_AX_WDE_ERR_ISR=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829851] rtw89_8852ae 0000:03:00.0: R_AX_PLE_ERR_IMR=0xffffffdf
Nov  5 19:56:41 ideapad kernel: [ 1493.829857] rtw89_8852ae 0000:03:00.0: R_AX_PLE_ERR_FLAG_ISR=0x02000020
Nov  5 19:56:41 ideapad kernel: [ 1493.829863] rtw89_8852ae 0000:03:00.0: R_AX_WD_CPUQ_OP_0=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829868] rtw89_8852ae 0000:03:00.0: R_AX_WD_CPUQ_OP_1=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829874] rtw89_8852ae 0000:03:00.0: R_AX_WD_CPUQ_OP_2=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829879] rtw89_8852ae 0000:03:00.0: R_AX_WD_CPUQ_OP_STATUS=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829885] rtw89_8852ae 0000:03:00.0: R_AX_PL_CPUQ_OP_0=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829891] rtw89_8852ae 0000:03:00.0: R_AX_PL_CPUQ_OP_1=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829896] rtw89_8852ae 0000:03:00.0: R_AX_PL_CPUQ_OP_2=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829902] rtw89_8852ae 0000:03:00.0: R_AX_PL_CPUQ_OP_STATUS=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829907] rtw89_8852ae 0000:03:00.0: R_AX_RXDMA_PKT_INFO_0=0x80008121
Nov  5 19:56:41 ideapad kernel: [ 1493.829913] rtw89_8852ae 0000:03:00.0: R_AX_RXDMA_PKT_INFO_1=0x80008000
Nov  5 19:56:41 ideapad kernel: [ 1493.829919] rtw89_8852ae 0000:03:00.0: R_AX_RXDMA_PKT_INFO_2=0x81268122
Nov  5 19:56:41 ideapad kernel: [ 1493.829929] rtw89_8852ae 0000:03:00.0: R_AX_CMAC_ERR_ISR [0]=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829936] rtw89_8852ae 0000:03:00.0: R_AX_CMAC_FUNC_EN [0]=0xf000003f
Nov  5 19:56:41 ideapad kernel: [ 1493.829942] rtw89_8852ae 0000:03:00.0: R_AX_CK_EN [0]=0xffffffff
Nov  5 19:56:41 ideapad kernel: [ 1493.829949] rtw89_8852ae 0000:03:00.0: R_AX_CMAC_ERR_IMR [0]=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829955] rtw89_8852ae 0000:03:00.0: R_AX_RPQ_RXBD_IDX =0x00380038
Nov  5 19:56:41 ideapad kernel: [ 1493.829961] rtw89_8852ae 0000:03:00.0: R_AX_DBG_ERR_FLAG=0x00000000
Nov  5 19:56:41 ideapad kernel: [ 1493.829966] rtw89_8852ae 0000:03:00.0: R_AX_LBC_WATCHDOG=0x00000081
Nov  5 19:56:41 ideapad kernel: [ 1493.829970] rtw89_8852ae 0000:03:00.0: <---
Nov  5 19:56:41 ideapad kernel: [ 1493.829974] rtw89_8852ae 0000:03:00.0: SER catches error: 0x1000
Nov  5 19:56:41 ideapad kernel: [ 1493.877117] rtw89_8852ae 0000:03:00.0: firmware failed to ack for entering ps mode
Nov  5 19:56:41 ideapad kernel: [ 1493.880133] rtw89_8852ae 0000:03:00.0: FW status = 0x74008000
Nov  5 19:56:41 ideapad kernel: [ 1493.880141] rtw89_8852ae 0000:03:00.0: FW BADADDR = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.880147] rtw89_8852ae 0000:03:00.0: FW EPC/RA = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.880152] rtw89_8852ae 0000:03:00.0: FW MISC = 0xb898e663
Nov  5 19:56:41 ideapad kernel: [ 1493.880157] rtw89_8852ae 0000:03:00.0: R_AX_HALT_C2H = 0x1001
Nov  5 19:56:41 ideapad kernel: [ 1493.880161] rtw89_8852ae 0000:03:00.0: R_AX_SER_DBG_INFO = 0xf500001e
Nov  5 19:56:41 ideapad kernel: [ 1493.880169] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fea5
Nov  5 19:56:41 ideapad kernel: [ 1493.880220] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ffb3
Nov  5 19:56:41 ideapad kernel: [ 1493.880237] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff9d
Nov  5 19:56:41 ideapad kernel: [ 1493.880254] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe85
Nov  5 19:56:41 ideapad kernel: [ 1493.880270] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe8d
Nov  5 19:56:41 ideapad kernel: [ 1493.880286] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe95
Nov  5 19:56:41 ideapad kernel: [ 1493.880303] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe9f
Nov  5 19:56:41 ideapad kernel: [ 1493.880394] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff83
Nov  5 19:56:41 ideapad kernel: [ 1493.880410] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff93
Nov  5 19:56:41 ideapad kernel: [ 1493.880427] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff99
Nov  5 19:56:41 ideapad kernel: [ 1493.880443] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ffa5
Nov  5 19:56:41 ideapad kernel: [ 1493.880460] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ffa5
Nov  5 19:56:41 ideapad kernel: [ 1493.880476] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898ff9b
Nov  5 19:56:41 ideapad kernel: [ 1493.880493] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fea5
Nov  5 19:56:41 ideapad kernel: [ 1493.880509] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb898fe99
Nov  5 19:56:41 ideapad kernel: [ 1493.880523] rtw89_8852ae 0000:03:00.0: SER catches error: 0x1001
Nov  5 19:56:41 ideapad kernel: [ 1493.880750] rtw89_8852ae 0000:03:00.0: FW status = 0x74008100
Nov  5 19:56:41 ideapad kernel: [ 1493.880756] rtw89_8852ae 0000:03:00.0: FW BADADDR = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.880760] rtw89_8852ae 0000:03:00.0: FW EPC/RA = 0x0
Nov  5 19:56:41 ideapad kernel: [ 1493.880765] rtw89_8852ae 0000:03:00.0: FW MISC = 0xb898e663
Nov  5 19:56:41 ideapad kernel: [ 1493.880770] rtw89_8852ae 0000:03:00.0: R_AX_HALT_C2H = 0x1002
Nov  5 19:56:41 ideapad kernel: [ 1493.880774] rtw89_8852ae 0000:03:00.0: R_AX_SER_DBG_INFO = 0xf500001e
Nov  5 19:56:41 ideapad kernel: [ 1493.880783] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb893b4df
Nov  5 19:56:41 ideapad kernel: [ 1493.880799] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb89355ad
Nov  5 19:56:41 ideapad kernel: [ 1493.880816] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb8936787
Nov  5 19:56:41 ideapad kernel: [ 1493.880832] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb899a40d
Nov  5 19:56:41 ideapad kernel: [ 1493.880849] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb893aa2d
Nov  5 19:56:41 ideapad kernel: [ 1493.880865] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb893a89d
Nov  5 19:56:41 ideapad kernel: [ 1493.880881] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb8980177
Nov  5 19:56:41 ideapad kernel: [ 1493.880898] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb897bd97
Nov  5 19:56:41 ideapad kernel: [ 1493.880948] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb89b9245
Nov  5 19:56:41 ideapad kernel: [ 1493.881048] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb897dc17
Nov  5 19:56:41 ideapad kernel: [ 1493.881147] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb89c0dfd
Nov  5 19:56:41 ideapad kernel: [ 1493.881164] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb89b9487
Nov  5 19:56:41 ideapad kernel: [ 1493.881181] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb89394c5
Nov  5 19:56:41 ideapad kernel: [ 1493.881197] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb893a2c9
Nov  5 19:56:41 ideapad kernel: [ 1493.881215] rtw89_8852ae 0000:03:00.0: [ERR]fw PC = 0xb897be11
Nov  5 19:56:41 ideapad kernel: [ 1493.881231] rtw89_8852ae 0000:03:00.0: SER catches error: 0x1002
Nov  5 19:56:41 ideapad kernel: [ 1493.905154] rtw89_8852ae 0000:03:00.0: c2h class 1 func 3 not support
Nov  5 19:57:52 ideapad dbus-daemon[1589]: [session uid=1000 pid=1589] Activating via systemd: service name='org.freedesktop.Tracker3.Miner.Extract' unit='tracker-extract-3.service' requested by ':1.9' (uid=1000 pid=1645 comm="/usr/libexec/tracker-miner-fs-3 " label="unconfined")
Nov  5 19:57:52 ideapad systemd[1566]: Starting Tracker metadata extractor...
Nov  5 19:57:52 ideapad dbus-daemon[1589]: [session uid=1000 pid=1589] Successfully activated service 'org.freedesktop.Tracker3.Miner.Extract'
Nov  5 19:57:52 ideapad systemd[1566]: Started Tracker metadata extractor.
Nov  5 19:58:02 ideapad dbus-daemon[688]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.104' (uid=1000 pid=2132 comm="/usr/libexec/xdg-desktop-portal-gnome " label="unconfined")
Nov  5 19:58:02 ideapad systemd[1]: Starting Hostname Service...
Nov  5 19:58:02 ideapad dbus-daemon[688]: [system] Successfully activated service 'org.freedesktop.hostname1'
Nov  5 19:58:02 ideapad systemd[1]: Started Hostname Service.
Nov  5 19:58:04 ideapad gvfsd[8951]: got no contact to IPC$
Nov  5 19:58:32 ideapad systemd[1]: systemd-hostnamed.service: Deactivated successfully.

这是来自 ping 输出的内容:

64 bytes from 8.8.8.8: icmp_seq=1178 ttl=57 time=66.6 ms
64 bytes from 8.8.8.8: icmp_seq=1179 ttl=57 time=3051 ms
64 bytes from 8.8.8.8: icmp_seq=1180 ttl=57 time=2031 ms
64 bytes from 8.8.8.8: icmp_seq=1181 ttl=57 time=1007 ms
64 bytes from 8.8.8.8: icmp_seq=1182 ttl=57 time=20.2 ms
64 bytes from 8.8.8.8: icmp_seq=1183 ttl=57 time=59.4 ms
64 bytes from 8.8.8.8: icmp_seq=1184 ttl=57 time=20.5 ms
64 bytes from 8.8.8.8: icmp_seq=1185 ttl=57 time=89.3 ms

如您所见,崩溃时延迟正在增加。我能够将其与https://github.com/lwfinger/rtw89/issues/133但我无法理解该解决方法。

答案1

我建议我们尝试一下 git 版本的驱动程序。在有网络连接的情况下,打开终端并执行:

sudo apt update
sudo apt install git bc dkms dh-sequence-dkms debhelper build-essential devscripts
git clone https://github.com/lwfinger/rtw89.git
cd rtw89
git deborig HEAD
dpkg-buildpackage -us -uc
sudo apt install ../rtw89-dkms_1.0.2-3_all.deb 

这可能会产生一条信息消息:

下载以 root 身份等非沙盒方式执行。

但是,这不是错误,也不是致命的。参考:这个 apt 错误消息(“下载是在未以 root 身份沙盒的情况下执行的...”)是什么意思?

将内核驱动程序列入黑名单:

sudo -i
echo “blacklist rtw89_8852ae” >> /etc/modprobe.d/blacklist.conf
exit

我相信后续版本Linux 固件包括所需的固件。重新启动。如果无线不工作,请运行并发布:

sudo dmesg | grep -i rtw 

相关内容