EDIT: Same kernel panic just occured even with Rx LDPC disabled... Only with one wifi client (Lenovo Laptop). Other clients works connect without any problems.
Dear friends,
on BPI-R4 with BE 14 wireless module there is an advanced wireless setting "Rx LDPC". If it is activated the kernel panics and the device reboots into NAND when my laptop connects to the wireless network (2.4 Ghz-Adapter).
If "Rx LDPC" is unchecked everything runs smooth.
For what is "Rx LDPC" useful?
Openwrt-Version:
Snapshot r30251-52e339b8ed
Kernel is:
Linux OpenWrt 6.6.95 #0 SMP Mon Jun 30 12:04:31 2025 aarch64 GNU/Linux
[30222.287376] Unable to handle kernel read from unreadable memory at virtual address 00000000000002bd
[30222.296432] Mem abort info:
[30222.299215] ESR = 0x0000000096000005
[30222.302953] EC = 0x25: DABT (current EL), IL = 32 bits
[30222.308260] SET = 0, FnV = 0
[30222.311303] EA = 0, S1PTW = 0
Wed Jul 2 18:06:20 2025 kern.alert kernel: [30222.287376] Unable to handle kernel read from unreadable memory at virtual address 00000000000002bd
Wed Jul 2 1[30222.327215] FSC = 0x05: level 1 translation fault
[30222.333171] Data abort info:
[30222.336043] ISV = 0, ISS = 0x00000005, ISS2 = 0x00000000
[30222.341515] CM = 0, WnR = 0, TnD = 0, TagAccess = 0
[30222.346557] GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
[30222.351857] user pgtable: 4k pages, 39-bit VAs, pgdp=00000001055b0000
[30222.358288] [00000000000002bd] pgd=080000010658f003, p4d=080000010658f003, pud=080000010658f003, pmd=0000000000000000
[30222.368892] Internal error: Oops: 0000000096000005 [#1] SMP
[30222.374453] Modules linked in: pppoe ppp_async option nft_fib_inet nf_flow_table_inet cdc_mbim wireguard usb_wwan qmi_wwan pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_nat nft_masq nft_log nft_limit nft_hash nft_flow_offload nft_fib_ipv6 nft_fib_ipv4 nft_fib nft_ct nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt7996e(O) mt76_connac_lib(O) mt76(O) mac80211(O) libchacha20poly1305 chacha_neon cfg80211(O) cdc_ncm cdc_ether usbserial usbnet slhc sfp rtc_pcf8563 poly1305_neon nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_syslog nf_defrag_ipv6 nf_defrag_ipv4 mdio_i2c libcurve25519_generic libcrc32c libchacha compat(O) cdc_wdm at24 crypto_safexcel pwm_fan i2c_mux_pca954x i2c_mux ip6_udp_tunnel udp_tunnel sha512_arm64 sha1_ce sha1_generic seqiv md5 geniv des_generic libdes authencesn authenc leds_gpio xhci_plat_hcd xhci_pci xhci_mtk_hcd xhci_hcd gpio_button_hotplug(O) usbcore usb_common aquantia mii
[30222.460413] CPU: 1 PID: 1567 Comm: mt76-tx phy0 Tainted: G O 6.6.95 #0
[30222.468318] Hardware name: Bananapi BPI-R4 (DT)
[30222.472837] pstate: 00400005 (nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[30222.479786] pc : __mt76_tx_complete_skb+0x7e8/0xb6c [mt76]
[30222.485281] lr : __mt76_tx_complete_skb+0x7cc/0xb6c [mt76]
[30222.490764] sp : ffffffc08163bd70
[30222.494067] x29: ffffffc08163bd70 x28: ffffff80c70a6100 x27: 0000000000000000
[30222.501192] x26: ffffff80c56e1fe0 x25: 000000000000000a x24: 0000000000000002
[30222.508317] x23: 0000000000000001 x22: ffffff80c56e1fe0 x21: 0000000000000235
[30222.515442] x20: ffffff80c56e1fe0 x19: ffffff80c70a60e8 x18: 0000000000000000
[30222.522566] x17: ffffffc17e38a000 x16: ffffffc080008000 x15: ffffff81fef80f80
[30222.529691] x14: 0000000000000000 x13: 0000000000000000 x12: 000000000000030f
[30222.536816] x11: 00000000eac0c6e6 x10: 00000000000008a0 x9 : ffffffc08163bd90
[30222.543940] x8 : ffffff80c10cce00 x7 : 0000000000000028 x6 : fffffffffffff79c
[30222.551065] x5 : 0000000000000001 x4 : ffffff80c70ac050 x3 : ffffff80c70ac000
[30222.558189] x2 : ffffff80c10cc500 x1 : ffffff80c10cc500 x0 : ffffff80c56e1ff8
[30222.565314] Call trace:
[30222.567751] __mt76_tx_complete_skb+0x7e8/0xb6c [mt76]
[30222.572888] mt76_tx_worker+0x60/0x3a8 [mt76]
[30222.577244] __mt76_worker_fn+0x8c/0xe8 [mt76]
[30222.581686] kthread+0xd8/0xdc
[30222.584736] ret_from_fork+0x10/0x20
[30222.588305] Code: 9100627c 8b000ec0 f9633415 b4fffef5 (f94046a0)
[30222.594386] ---[ end trace 0000000000000000 ]---
[30222.605573] pstore: backend (ramoops) writing error (-28)
[30222.610962] Kernel panic - not syncing: Oops: Fatal exception in interrupt
[30222.617822] SMP: stopping secondary CPUs
[30222.621736] Kernel Offset: disabled
[30222.625212] CPU features: 0x0,00000000,20000000,1000400b
[30222.630512] Memory Limit: none
[30222.640092] Rebooting in 3 seconds..
PANIC at PC : 0x00000000430047d0