【求助】NetworkManager无法连接到Openwrt的wifi

非常神奇的问题,在Arch的livecd中可以通过iwd连接,windows下和其他设备也都没问题。

目前观察的情况是,NetworkManager连接上以后,几秒钟之内wrt的内核会崩溃,然后自动重启!??

而且似乎安装完成后的系统使用 iwd 也不能连接。我不确定其他设备用NetworkManager是否能复现。

Openwrt:

主机名 ImmortalWrt
型号 FriendlyElec NanoPi R5C
架构 ARMv8 Processor rev 0 (v8l) x 4 (1992MHz, 48.9°C)
目标平台 rockchip/armv8
固件版本 ImmortalWrt 24.10.2 r33247-467867283bb9 / LuCI openwrt-24.10 branch 25.187.32690~3d6dbd2
root@ImmortalWrt: ~# logread -f 
Mon Oct 6 20: 54: 27 2025 daemon.info hostapd: phyo-apo: STA ac: f2:3c:72:d7: 6f I EEE 802.11: authenticated 
Mon Oct 6 20: 54:27 2025 daemon. info hostapd: phyo-apo: STA ac:f2:3c:72:d7:6f I EEE 802.11: associated (aid 3) 
Mon Oct 6 20: 54:27 2025 daemon. notice hostapd: phyo-apo: AP-STA-CONNECTED ac:f 2:3c:72:d7: 6f auth_alg=open 
Mon Oct 6 20: 54:27 2025 daemon. info hostapd: phyo-apo: STA ac: f2:3c:72: d7:6f R ADIUS: starting accounting session 9AEB020495F3CA8A 
Mon Oct 6 20:54:27 2025 daemon.info hostapd: phyo-ap0: STA ac:f2:3c:72:d7:6f W PA: pairwise key handshake completed CRSN) 
Mon Oct 6 20: 54: 27 2025 daemon. notice hostapd: phyo-apo: EAPOL- 4WAY-HS-COMPLET ED ac:f2:3c:72:d7:6f 
Mon Oct 6 20: 54: 28 2025 kern.alert kernel: [ 599.240811] Unable to handle ker nel NULL pointer dereference at virtual address 0000000000000000400
Mon Oct 6 20: 54: 28 2025 kern.alert kernel: [ 599.241658] Mem abort info: Mon Oct 6 20:54:28 2025 kern.alert kernel: [ 599.241918] ESR = Ox0000000096000007 
Mon Oct 6 20:54:28 2025 kern. alert kernel:I 5 urrent EL), IL = 32 bits 
Mon Oct 6 20:54: 28 2025 kern.alert kernel: Mon Oct 6 20:54:28 2025 kern. alert kernel: Mon Oct 6 20:54:28 2025 kern. alert kernel 3 translation fault 
Mon Oct 6 20: 54: 28 2025 kern.alert kernel: Mon Oct 6 20:54:28 2025 kern. alert kernel: 0000007, ISS2 = ox00000000 
Mon Oct 6 20: 54: 28 2025 kern.alert kernel: [ nD =o, TagAccess =O 
Mon Oct 6 20 : 54: 28 2025 kern.alert kernel: [ 0, DirtyBit=o, Xs=O 
Mon Oct 6 20:54:28 2025 kern.alert kernel: [ 599.2454791 user pgtable: 4k pag es, 48-bit VAs, pgdp=00000001faed5000

openwrt的网卡是mt7921-e,笔记本的网卡是Realtek RTL8852CE (10ec:c852)

我猜是 mt76 有问题(我查到的相关问题已经在主线修复了,也有一些情况还能复现),有办法拿到 call trace 吗?
顺带一提,笔记本在用 linux-zen 吗?

wrt的call trace吗?笔记本内核是linux-generic,不管是ubuntu或者arch都不行

对,需要 openwrt 的 call trace

顺带一提,我的路由器是 7915E,也是 mt76,我刚才用 Networkmamager 试了一下,似乎没什么异常。我是 ImmortalWrt SNAPSHOT r35805-51ce148e96 / LuCI Master 25.257.46572~f0567b4

有无详细教程,wrt可用工具包不是很会:smiling_face_with_tear:

如果系统彻底死了的话,可以试试 ramoops

apk add kmod-ramoops

如果稳定版没法这么直接安装内核模块的话,试试netconsole?
当然,如果可以用串口连接的话就最好了

(要么直接试试更新到 snapshot,也许会解决问题)