Users needed to test Wi-Fi stability on Linksys WRT3200ACM & WRT32X on OpenWrt 21.02

Have two iPhones on it, latest iOS update, on 21.02-rc4 it would just stop responding randomly. I'd have to disconnect/reconnect to get it to respond. My ThinkPad Carbon had no issues, but the iPhones did frequently. Master branch has completely resolved that, as did this test fw @arinc9 put out too, but I couldn't install kmod usb3 or exfat with that without errors, so I switched to Master. Right now on a 4 day uptime with master and everything has been perfect (Using Wifi 5GHz, SQM, USB 3.0, Samba4, exFAT 2TB share, Adblock, DSA all 4 ports used, port forwards, etc.). Best my WRT32X has never been tbh. Going to just leave it here a while until the gcc 10 switch gets more testing or something else major changes.

@phinn good info. Iā€™ll pull an update of master tonight and test it for a couple of days and report back here.

Cool, for reference running a 8/16 snapshot, not that it matters since they change every day or two. Main changes since is the switch to gcc 10 and a minor kernel update which is significant in just a few days, but I'm going to stick to this build for a while for reasons above.

I just built from master yesterday (with divested patches) and experienced dropouts twice (phone says connected, but canā€™t even hit 192.168.1.1, need to toggle WiFi on phone to reconnect) this morning on my 3200acm.

I might try a raw build with no divested patches (although they look pretty safeā€¦) to see if it fixes things. Might try snapshots as well on the off the cuff reason that they magically fix things.

@adworacz @phinn

Still the same with a pull of master. WiFi is connected when I pick my phone up but no connectivity. Only way to get a connection is to switch off and on the WiFi.

Iā€™m going back to a 19.07 snapshot. I have 1gig down and with the DSA changes I also loose about 30% download speeds compared to swconfig.

3 Likes

One week of uptime back on 19.7 now. Not one single loss of connectivity on Apple devices, better speed, better latency, and most important not one complaint from Mrs.

4 Likes

Switched over to a new master snapshot yesterday to see if there is any difference on gcc 10 builds. Anyway no issues so far with 5GHz, no disconnects, everything running great using SQM, Adblock, Samba4, USB 3.0 exFAT storage, etc. I think as stable as 19.07 was I wouldn't go back, if I had those wifi issues I'd just disable wifi get a cheap WiFi 6 AP and just connect it to the WRT32X, something like a Netgear WAX214.

3 Likes

I can at will kernel panic this snapshot I am running: OpenWrt SNAPSHOT r17433-8f2cace0b7. I have been trying to debug my 5G wifi issues and ran into this issue only on the wireless side.

Steps to reproduce via ssh to the router:

iw wlan0 interface add mon0 type monitor
ifconfig mon0 up
tcpdump -vvvi mon0 ether host xx:xx:xx:xx:xx:xx

Open another ssh session to the router :
iperf3 -s

From another wireless device launch iperf3 as a client. I am using magic perf from the google playstore on my android phone. Will kernel panic usually in about 20 seconds.

Aug 28 20:10:58 OpenWrt kernel: [ 3542.045636] ieee80211 phy0: change: 0x8
Aug 28 20:11:05 OpenWrt kernel: [ 3549.337341] device mon0 entered promiscuous mode
Aug 28 20:11:27 OpenWrt kernel: [ 3570.809608] 8<--- cut here ---
Aug 28 20:11:27 OpenWrt kernel: [ 3570.812683] Unable to handle kernel NULL pointer dereference at virtual address 00000126
Aug 28 20:11:27 OpenWrt kernel: [ 3570.820895] pgd = 508ea552
Aug 28 20:11:27 OpenWrt kernel: [ 3570.823645] [00000126] *pgd=00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3570.827297] Internal error: Oops: 5 [#1] SMP ARM
Aug 28 20:11:27 OpenWrt kernel: [ 3570.831934] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table nf_conntrack ipt_REJECT xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc rfcomm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 mwifiex_sdio mwifiex iptable_mangle iptable_filter ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 ecdh_generic ecc sha256_generic libsha256 seqiv jitterentropy_rng drbg kpp hmac ghash_arm_ce ecb cmac uas uhci_hcd ohci_platform ohci_hcd ahci fsl_mph_dr_of ehci_fsl gpio_button_hotplug exfat
Aug 28 20:11:27 OpenWrt kernel: [ 3570.909533] CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.10.61 #0
Aug 28 20:11:27 OpenWrt kernel: [ 3570.915826] Hardware name: Marvell Armada 380/385 (Device Tree)
Aug 28 20:11:27 OpenWrt kernel: [ 3570.921774] PC is at __netif_receive_skb_core.constprop.0+0x84/0xe80
Aug 28 20:11:27 OpenWrt kernel: [ 3570.928156] LR is at __netif_receive_skb_one_core+0x28/0x50
Aug 28 20:11:27 OpenWrt kernel: [ 3570.933752] pc : [<c06bce34>]    lr : [<c06bf5b8>]    psr: 80000013
Aug 28 20:11:27 OpenWrt kernel: [ 3570.940044] sp : c107fdf8  ip : dfb62d60  fp : 0000a888
Aug 28 20:11:27 OpenWrt kernel: [ 3570.945290] r10: c0cd83dc  r9 : 0000007e  r8 : c0cd82b0
Aug 28 20:11:27 OpenWrt kernel: [ 3570.950537] r7 : c0b4fcd8  r6 : dfb62cc8  r5 : 00000000  r4 : dfb62d60
Aug 28 20:11:27 OpenWrt kernel: [ 3570.957092] r3 : 0000007e  r2 : 00000001  r1 : 00000000  r0 : 00000001
Aug 28 20:11:27 OpenWrt kernel: [ 3570.963647] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Aug 28 20:11:27 OpenWrt kernel: [ 3570.970813] Control: 10c5387d  Table: 0c22004a  DAC: 00000051
Aug 28 20:11:27 OpenWrt kernel: [ 3570.976584] Process ksoftirqd/1 (pid: 16, stack limit = 0x61bd2372)
Aug 28 20:11:27 OpenWrt kernel: [ 3570.982878] Stack: (0xc107fdf8 to 0xc1080000)
Aug 28 20:11:27 OpenWrt kernel: [ 3570.987252] fde0:                                                       c0c0532c c107fe30
Aug 28 20:11:27 OpenWrt kernel: [ 3570.995466] fe00: c0c816f8 00000001 00000000 00000000 c107fe64 c107fe6c dfb62d60 c107fe64
Aug 28 20:11:27 OpenWrt kernel: [ 3571.003681] fe20: c0cd82b0 c107e000 dfb62d60 c0100b0c dfb62d70 00000040 c5fa7780 0000007e
Aug 28 20:11:27 OpenWrt kernel: [ 3571.011895] fe40: 0000000c dfb62cc8 00000001 c0cd82b0 00000040 dfb62d60 dfb62d6c c06bf5b8
Aug 28 20:11:27 OpenWrt kernel: [ 3571.020108] fe60: 00000000 dfb62d60 c06befc4 00000000 60000013 dfb62d70 0000000c c06bf824
Aug 28 20:11:27 OpenWrt kernel: [ 3571.028322] fe80: c06bf738 00000001 dfb62d70 00000040 c107fecf c107fed0 c0c03d00 1f013000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.036537] fea0: c107fed8 c06befc4 dfb62d70 dfb62cc0 0000012c c0b4fcc0 c107fed0 c06bf2a0
Aug 28 20:11:27 OpenWrt kernel: [ 3571.044751] fec0: 00000002 0004fd33 00000000 00206b78 c107fed0 c107fed0 c107fed8 c107fed8
Aug 28 20:11:27 OpenWrt kernel: [ 3571.052965] fee0: c107ff08 00000004 00000003 c0c0308c c0c03080 40000003 c107e000 00000100
Aug 28 20:11:27 OpenWrt kernel: [ 3571.061179] ff00: c107ff08 c01012ec c1134e00 c104d800 c1134e00 c0c03080 c0b4c220 00000008
Aug 28 20:11:27 OpenWrt kernel: [ 3571.069392] ff20: c0b4c1ac c0b4ef00 c0b4ef00 0004fd32 c0c03d00 04208040 c107e000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.077606] ff40: 00000000 c101ccc0 c107e000 c0c0cf24 ffffe000 c1037e64 c101cda4 c012c018
Aug 28 20:11:27 OpenWrt kernel: [ 3571.085820] ff60: 00000000 c014ad74 c101cd80 c101cd40 00000000 c107e000 c014aca4 c101ccc0
Aug 28 20:11:27 OpenWrt kernel: [ 3571.094033] ff80: c1037e64 c0145b34 00000001 c101cd40 c01459ec 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.102247] ffa0: 00000000 00000000 00000000 c0100148 00000000 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.110461] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.118674] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.126890] [<c06bce34>] (__netif_receive_skb_core.constprop.0) from [<c06bf5b8>] (__netif_receive_skb_one_core+0x28/0x50)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.137984] [<c06bf5b8>] (__netif_receive_skb_one_core) from [<c06bf824>] (process_backlog+0xec/0x1bc)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.147332] [<c06bf824>] (process_backlog) from [<c06befc4>] (__napi_poll+0x28/0x134)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.155198] [<c06befc4>] (__napi_poll) from [<c06bf2a0>] (net_rx_action+0xc8/0x24c)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.162890] [<c06bf2a0>] (net_rx_action) from [<c01012ec>] (__do_softirq+0x104/0x29c)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.170760] [<c01012ec>] (__do_softirq) from [<c012c018>] (run_ksoftirqd+0x2c/0x38)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.178456] [<c012c018>] (run_ksoftirqd) from [<c014ad74>] (smpboot_thread_fn+0xd0/0x18c)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.186671] [<c014ad74>] (smpboot_thread_fn) from [<c0145b34>] (kthread+0x148/0x14c)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.194449] [<c0145b34>] (kthread) from [<c0100148>] (ret_from_fork+0x14/0x2c)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.201702] Exception stack(0xc107ffb0 to 0xc107fff8)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.206774] ffa0:                                     00000000 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.214988] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.223201] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Aug 28 20:11:27 OpenWrt kernel: [ 3571.229845] Code: e1a03009 e3a02001 e58d5014 e58d200c (e59330a8)
Aug 28 20:11:27 OpenWrt kernel: [ 3571.236032] ---[ end trace ccd73c8feb3f2975 ]---
Aug 28 20:22:08 OpenWrt kernel: [  627.179245] ieee80211 phy0: change: 0x8
Aug 28 20:22:15 OpenWrt kernel: [  634.355654] device mon0 entered promiscuous mode
Aug 28 20:22:52 OpenWrt kernel: [  671.557340] 8<--- cut here ---
Aug 28 20:22:52 OpenWrt kernel: [  671.560417] Unable to handle kernel NULL pointer dereference at virtual address 00000004
Aug 28 20:22:52 OpenWrt kernel: [  671.568626] pgd = c226388b
Aug 28 20:22:52 OpenWrt kernel: [  671.571346] [00000004] *pgd=00000000
Aug 28 20:22:52 OpenWrt kernel: [  671.574998] Internal error: Oops: 817 [#1] SMP ARM
Aug 28 20:22:53 OpenWrt kernel: [  671.579810] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table nf_conntrack ipt_REJECT xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc rfcomm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 mwifiex_sdio mwifiex iptable_mangle iptable_filter ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 ecdh_generic ecc sha256_generic libsha256 seqiv jitterentropy_rng drbg kpp hmac ghash_arm_ce ecb cmac uas uhci_hcd ohci_platform ohci_hcd ahci fsl_mph_dr_of ehci_fsl gpio_button_hotplug exfat
Aug 28 20:22:53 OpenWrt kernel: [  671.657409] CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.10.61 #0
Aug 28 20:22:53 OpenWrt kernel: [  671.663702] Hardware name: Marvell Armada 380/385 (Device Tree)
Aug 28 20:22:53 OpenWrt kernel: [  671.669650] PC is at process_backlog+0xd0/0x1bc
Aug 28 20:22:53 OpenWrt kernel: [  671.674198] LR is at process_backlog+0xf0/0x1bc
Aug 28 20:22:53 OpenWrt kernel: [  671.678746] pc : [<c06bf808>]    lr : [<c06bf828>]    psr: a0000013
Aug 28 20:22:53 OpenWrt kernel: [  671.685039] sp : c107fe80  ip : c0c97d80  fp : dfb62d6c
Aug 28 20:22:53 OpenWrt kernel: [  671.690286] r10: dfb62d60  r9 : 00000040  r8 : c0cd82b0
Aug 28 20:22:53 OpenWrt kernel: [  671.695532] r7 : 00000001  r6 : dfb62cc8  r5 : 00000001  r4 : dfb62d70
Aug 28 20:22:53 OpenWrt kernel: [  671.702087] r3 : 00000000  r2 : 00000000  r1 : 00000000  r0 : c3ff7d80
Aug 28 20:22:53 OpenWrt kernel: [  671.708643] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Aug 28 20:22:53 OpenWrt kernel: [  671.715809] Control: 10c5387d  Table: 0c5ac04a  DAC: 00000051
Aug 28 20:22:53 OpenWrt kernel: [  671.721580] Process ksoftirqd/1 (pid: 16, stack limit = 0x91b353e0)
Aug 28 20:22:53 OpenWrt kernel: [  671.727874] Stack: (0xc107fe80 to 0xc1080000)
Aug 28 20:22:53 OpenWrt kernel: [  671.732250] fe80: c06bf738 00000001 dfb62d70 00000040 c107fecf c107fed0 c0c03d00 1f013000
Aug 28 20:22:53 OpenWrt kernel: [  671.740464] fea0: c107fed8 c06befc4 dfb62d70 dfb62cc0 0000012c c0b4fcc0 c107fed0 c06bf2a0
Aug 28 20:22:53 OpenWrt kernel: [  671.748678] fec0: c0c04f58 00009111 00000000 000e6b78 c107fed0 c107fed0 c107fed8 c107fed8
Aug 28 20:22:53 OpenWrt kernel: [  671.756892] fee0: c107ff08 00000004 00000003 c0c0308c c0c03080 40000003 c107e000 00000100
Aug 28 20:22:53 OpenWrt kernel: [  671.765105] ff00: c107ff08 c01012ec cb92d600 c104d800 cb92d600 c0c03080 c0b4c220 00000008
Aug 28 20:22:53 OpenWrt kernel: [  671.773319] ff20: c0b4c1ac c0b4ef00 c0b4ef00 00009110 c0c03d00 04208040 c107e000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.781534] ff40: 00000000 c101ccc0 c107e000 c0c0cf24 ffffe000 c1037e64 c101cda4 c012c018
Aug 28 20:22:53 OpenWrt kernel: [  671.789748] ff60: 00000000 c014ad74 c101cd80 c101cd40 00000000 c107e000 c014aca4 c101ccc0
Aug 28 20:22:53 OpenWrt kernel: [  671.797962] ff80: c1037e64 c0145b34 00000001 c101cd40 c01459ec 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.806176] ffa0: 00000000 00000000 00000000 c0100148 00000000 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.814390] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.822603] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.830820] [<c06bf808>] (process_backlog) from [<c06befc4>] (__napi_poll+0x28/0x134)
Aug 28 20:22:53 OpenWrt kernel: [  671.838685] [<c06befc4>] (__napi_poll) from [<c06bf2a0>] (net_rx_action+0xc8/0x24c)
Aug 28 20:22:53 OpenWrt kernel: [  671.846376] [<c06bf2a0>] (net_rx_action) from [<c01012ec>] (__do_softirq+0x104/0x29c)
Aug 28 20:22:53 OpenWrt kernel: [  671.854247] [<c01012ec>] (__do_softirq) from [<c012c018>] (run_ksoftirqd+0x2c/0x38)
Aug 28 20:22:53 OpenWrt kernel: [  671.861944] [<c012c018>] (run_ksoftirqd) from [<c014ad74>] (smpboot_thread_fn+0xd0/0x18c)
Aug 28 20:22:53 OpenWrt kernel: [  671.870158] [<c014ad74>] (smpboot_thread_fn) from [<c0145b34>] (kthread+0x148/0x14c)
Aug 28 20:22:53 OpenWrt kernel: [  671.877936] [<c0145b34>] (kthread) from [<c0100148>] (ret_from_fork+0x14/0x2c)
Aug 28 20:22:53 OpenWrt kernel: [  671.885189] Exception stack(0xc107ffb0 to 0xc107fff8)
Aug 28 20:22:53 OpenWrt kernel: [  671.890261] ffa0:                                     00000000 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.898474] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.906687] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
Aug 28 20:22:53 OpenWrt kernel: [  671.913331] Code: e50430a0 e1c020d0 e5801000 e5801004 (e5823004)
Aug 28 20:22:53 OpenWrt kernel: [  671.919509] ---[ end trace 819e11397d0d8fc2 ]---

@phinn What kernel are you running? 5.4 or 5.10? And you aren't doing any custom builds, just running a snapshot image provided by the OpenWrt servers?

Kernel 5.10.61. Nothing custom other than target compiler options:
-pipe -O3 -pipe -mcpu=cortex-a9 -mfloat-abi=hard -mfpu=neon -funsafe-math-optimizations

From my research it appears the culprit would be the mwlwifi driver. I have not compiled a debug kernel to go further.

My question was originally directed at @phinn, as they apparently have a working build on a wrt32x using the master snapshot.

And the mwlwifi driver is possibly the culprit, but it's weird that some users see a fix when downgrading said driver, and others (like myself) see no change, while still others (like phinn) are running the latest from master with no issues. Additionally, some users have reported issues on a 1900ACS, which uses a different mwlwifi implementation than the 3200acm/32x. So I'm starting to suspected the mwlwifi driver less and less...

Yeah. Its really confusing. If I don't setup the monitor interface and run tcpdump I don't see the kernel panic but then I can't see the packets to debug the wifi dropping.

WiFi is not perfect, but it's quite good as a daily. I'm only using 5GHz, I don't bother enabling 2.4GHz as a I need it anymore, not sure if that makes any difference. Just started doing that in the last few weeks.

On dslreports speedtest I get A+ bufferbloat A+ quality over both wired and wireless, ping fluctuations in the 1-8ms range, extremely good, I've gotten a little better if I lower the dl/ul but feel this is good enough for my purposes which favors throughput slightly. WifF will hit around 200-300mbits and wired is my full 500mbit cable modem capacity (SQM cake is set to 500,000 / 32,000 on my 500/35 Mbit rated cable modem). This is ideal case for wifi though like 20 feet from the router.

Fails with the 5.4 kernel as well: Linux OpenWrt 5.4.143 #0 SMP Sun Aug 29 22:37:47 2021 armv7l GNU/Linux

Firmware Versionļ¼šOpenWrt SNAPSHOT r17454-f08b76b32f

Aug 30 12:13:46 OpenWrt kernel: [  940.520782] ieee80211 phy0: change: 0x8
Aug 30 12:15:07 OpenWrt kernel: [ 1021.141294] device mon0 entered promiscuous mode
Aug 30 12:15:43 OpenWrt odhcpd[2049]: A default route is present but there is no public prefix on lan thus we don't announce a default route!
Aug 30 12:16:47 OpenWrt kernel: [ 1120.991023] 8<--- cut here ---
Aug 30 12:16:47 OpenWrt kernel: [ 1120.994098] Unable to handle kernel NULL pointer dereference at virtual address 000000f0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.002248] pgd = 21c09184
Aug 30 12:16:47 OpenWrt kernel: [ 1121.004974] [000000f0] *pgd=00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.008567] Internal error: Oops: 5 [#1] SMP ARM
Aug 30 12:16:47 OpenWrt kernel: [ 1121.013202] Modules linked in: pppoe ppp_async iptable_nat xt_state xt_nat xt_conntrack xt_REDIRECT xt_MASQUERADE xt_FLOWOFFLOAD xt_CT pppox ppp_generic nf_nat nf_flow_table_hw nf_flow_table nf_conntrack ipt_REJECT xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc rfcomm nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 mwifiex_sdio mwifiex iptable_mangle iptable_filter ip_tables hidp hci_uart crc_ccitt btusb btmrvl_sdio btmrvl btintel bnep bluetooth hid evdev input_core mwlwifi mac80211 cfg80211 compat nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 vfat fat autofs4 nls_utf8 nls_iso8859_1 nls_cp437 ecdh_generic ecc sha256_generic libsha256 seqiv jitterentropy_rng drbg kpp hmac ghash_generic ghash_arm_ce gf128mul gcm ecb ctr cmac ccm uas uhci_hcd ohci_platform ohci_hcd ahci fsl_mph_dr_of ehci_fsl gpio_button_hotplug exfat(C)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.095535] CPU: 1 PID: 15 Comm: ksoftirqd/1 Tainted: G         C        5.4.143 #0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.103224] Hardware name: Marvell Armada 380/385 (Device Tree)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.109176] PC is at __netif_receive_skb_core.constprop.0+0x70/0xb68
Aug 30 12:16:47 OpenWrt kernel: [ 1121.115558] LR is at __netif_receive_skb_one_core+0x28/0x50
Aug 30 12:16:47 OpenWrt kernel: [ 1121.121152] pc : [<c0646f78>]    lr : [<c0649340>]    psr: 80000113
Aug 30 12:16:47 OpenWrt kernel: [ 1121.127444] sp : df47dd10  ip : dfb62ba0  fp : 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.132689] r10: 00000001  r9 : c0b05e84  r8 : dfb62ba0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.137935] r7 : 00000048  r6 : c0a49b18  r5 : 00000000  r4 : dfb62ba0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.144489] r3 : 00000048  r2 : 00000000  r1 : 00000000  r0 : 00000001
Aug 30 12:16:47 OpenWrt kernel: [ 1121.151045] Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Aug 30 12:16:47 OpenWrt kernel: [ 1121.158210] Control: 10c5387d  Table: 1e1f804a  DAC: 00000051
Aug 30 12:16:47 OpenWrt kernel: [ 1121.163980] Process ksoftirqd/1 (pid: 15, stack limit = 0x7e896e70)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.170273] Stack: (0xdf47dd10 to 0xdf47e000)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.174647] dd00:                                     df47dd10 00000000 df47dd6c df47dd74
Aug 30 12:16:47 OpenWrt kernel: [ 1121.182860] dd20: dfb62ba0 00060003 d4ea4a80 de22a000 d4ea4a80 de22a000 c144dcc0 c062fbb8
Aug 30 12:16:47 OpenWrt kernel: [ 1121.191073] dd40: c144dcc0 00000048 00000036 dfb62b08 00000040 dfb62ba0 dfb62bac 00000001
Aug 30 12:16:47 OpenWrt kernel: [ 1121.199287] dd60: 1f119000 c0649340 ddee6ba0 dfb62ba0 ddefe9a0 00000000 c144dcd8 dfb62bb0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.207499] dd80: 00000036 c0649534 00000001 dfb62bb0 00000040 df47ddd7 c0a49b00 df47ddd8
Aug 30 12:16:47 OpenWrt kernel: [ 1121.215712] dda0: c0b03d00 c0648d94 dfb62bb0 00000003 00014091 0000012c c0a49b00 c0648fd8
Aug 30 12:16:47 OpenWrt kernel: [ 1121.223925] ddc0: dfb62b00 c0b34fbc c095bbd8 c0951538 00000000 00ee6b28 df47ddd8 df47ddd8
Aug 30 12:16:47 OpenWrt kernel: [ 1121.232139] dde0: df47dde0 df47dde0 df47de10 00000000 00000003 c0b0308c c0b03080 40000003
Aug 30 12:16:47 OpenWrt kernel: [ 1121.240352] de00: df47c000 00000100 df47de10 c010226c 00463000 0000b68f de03e200 c0b03080
Aug 30 12:16:47 OpenWrt kernel: [ 1121.248566] de20: c0a46210 00000008 c0a4619c c0a48d40 c0a48d40 00014090 c0b03d00 04208040
Aug 30 12:16:47 OpenWrt kernel: [ 1121.256780] de40: df44d5f0 c0a48cf8 00000000 00000000 00000001 df40c000 df47c000 df44d5f0
Aug 30 12:16:47 OpenWrt kernel: [ 1121.264993] de60: df47df1c c012c850 c0a48cf8 c0170668 c0b05248 df47dea0 e080210c e0802100
Aug 30 12:16:47 OpenWrt kernel: [ 1121.273207] de80: e0803100 c0460e24 c014c244 60000013 ffffffff df47ded4 00000000 c0101a8c
Aug 30 12:16:47 OpenWrt kernel: [ 1121.281421] dea0: df44bc80 00000002 00000000 0000fd78 c0a49180 df44bc80 dfb62180 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.289635] dec0: 00000000 1f119000 df44d5f0 df47df1c 00000000 df47def0 c07be2fc c014c244
Aug 30 12:16:47 OpenWrt kernel: [ 1121.297848] dee0: 60000013 ffffffff 00000051 00000000 ded44d00 c015ada0 00000000 ffffffff
Aug 30 12:16:47 OpenWrt kernel: [ 1121.306061] df00: dfb62180 ded44d00 df44d280 d4dbca00 d4dbca00 df47df2c df47df54 c07be2fc
Aug 30 12:16:47 OpenWrt kernel: [ 1121.314274] df20: c0a4619c 1f119000 c0a48d40 00014090 c0b03d00 df44d280 df47c000 df41cb40
Aug 30 12:16:47 OpenWrt kernel: [ 1121.322488] df40: df47c000 c0b0cd68 ffffe000 df437e6c df47df64 c07be5c4 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.330701] df60: df41cc1c c014a1d4 df41cc00 df41cbc0 00000000 df47c000 df41cb40 c014a0b8
Aug 30 12:16:47 OpenWrt kernel: [ 1121.338915] df80: df437e6c c0145d38 00000001 df41cbc0 c0145bec 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.347128] dfa0: 00000000 00000000 00000000 c01010e8 00000000 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.355342] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.363555] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.371771] [<c0646f78>] (__netif_receive_skb_core.constprop.0) from [<c0649340>] (__netif_receive_skb_one_core+0x28/0x50)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.382865] [<c0649340>] (__netif_receive_skb_one_core) from [<c0649534>] (process_backlog+0xd0/0x18c)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.392213] [<c0649534>] (process_backlog) from [<c0648d94>] (__napi_poll+0x28/0xe8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.399990] [<c0648d94>] (__napi_poll) from [<c0648fd8>] (net_rx_action+0xf4/0x2d0)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.407683] [<c0648fd8>] (net_rx_action) from [<c010226c>] (__do_softirq+0x104/0x2a0)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.415552] [<c010226c>] (__do_softirq) from [<c012c850>] (irq_exit+0x78/0xa8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.422810] [<c012c850>] (irq_exit) from [<c0170668>] (__handle_domain_irq+0x78/0xc8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.430678] [<c0170668>] (__handle_domain_irq) from [<c0460e24>] (gic_handle_irq+0x40/0x7c)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.439067] [<c0460e24>] (gic_handle_irq) from [<c0101a8c>] (__irq_svc+0x6c/0x90)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.446580] Exception stack(0xdf47dea0 to 0xdf47dee8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.451654] dea0: df44bc80 00000002 00000000 0000fd78 c0a49180 df44bc80 dfb62180 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.459867] dec0: 00000000 1f119000 df44d5f0 df47df1c 00000000 df47def0 c07be2fc c014c244
Aug 30 12:16:47 OpenWrt kernel: [ 1121.468079] dee0: 60000013 ffffffff
Aug 30 12:16:47 OpenWrt kernel: [ 1121.471583] [<c0101a8c>] (__irq_svc) from [<c014c244>] (finish_task_switch+0x70/0x17c)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.479537] [<c014c244>] (finish_task_switch) from [<c07be2fc>] (__schedule+0x1e0/0x458)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.487663] [<c07be2fc>] (__schedule) from [<c07be5c4>] (schedule+0x50/0xc8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.494747] [<c07be5c4>] (schedule) from [<c014a1d4>] (smpboot_thread_fn+0x11c/0x18c)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.502613] [<c014a1d4>] (smpboot_thread_fn) from [<c0145d38>] (kthread+0x14c/0x150)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.510390] [<c0145d38>] (kthread) from [<c01010e8>] (ret_from_fork+0x14/0x2c)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.517642] Exception stack(0xdf47dfb0 to 0xdf47dff8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.522713] dfa0:                                     00000000 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.530926] dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.539139] dfe0: 00000000 00000000 00000000 00000000 00000013 00000000
Aug 30 12:16:47 OpenWrt kernel: [ 1121.545783] Code: e1c435bc e1a03007 e58d5004 e58dd000 (e59330a8)
Aug 30 12:16:47 OpenWrt kernel: [ 1121.551920] ---[ end trace 36480c74b3982025 ]---

Hi,

I just installed the stable 21.02.0 release on a WRT32X. Run into the same issue. But unfortunately firmware 9.3.2.6 didn't help. Another strange issue is, that the OpenWrt web interface is no longer accessible after a while when enabling WIFI. Has somebody noticed the same issue?

It seems LuCI hangs after this issue:

[  394.811935] ieee80211 phy0: cmd 0x9122=UpdateEncryption timed out
[  394.818059] ieee80211 phy0: return code: 0x1122
[  394.822617] ieee80211 phy0: timeout: 0x1122
[  394.826819] wlan0: failed to remove key (0, e4:a4:71:6e:e7:81) from hardware (-5)
[  394.834386] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  414.846712] ieee80211 phy0: cmd 0x9111=SetNewStation timed out
[  414.852578] ieee80211 phy0: return code: 0x1111
[  414.857127] ieee80211 phy0: timeout: 0x1111
[  414.886941] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  434.900585] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  434.906447] ieee80211 phy0: return code: 0x001d
[  434.911005] ieee80211 phy0: timeout: 0x001d
[  434.915208] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  454.929608] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  454.935477] ieee80211 phy0: return code: 0x001d
[  454.940026] ieee80211 phy0: timeout: 0x001d
[  454.944238] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  474.945019] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  474.950882] ieee80211 phy0: return code: 0x001d
[  474.955442] ieee80211 phy0: timeout: 0x001d
[  477.863118] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  497.885602] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  497.891469] ieee80211 phy0: return code: 0x001d
[  497.896018] ieee80211 phy0: timeout: 0x001d
[  497.900227] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  517.912602] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  517.918470] ieee80211 phy0: return code: 0x001d
[  517.923019] ieee80211 phy0: timeout: 0x001d
[  517.927227] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  537.940260] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  537.946127] ieee80211 phy0: return code: 0x001d
[  537.950676] ieee80211 phy0: timeout: 0x001d
[  537.954960] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  557.967733] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  557.973600] ieee80211 phy0: return code: 0x001d
[  557.978149] ieee80211 phy0: timeout: 0x001d
[  557.982360] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  577.994621] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  578.000489] ieee80211 phy0: return code: 0x001d
[  578.005038] ieee80211 phy0: timeout: 0x001d
[  578.009247] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  598.022301] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  598.028168] ieee80211 phy0: return code: 0x001d
[  598.032717] ieee80211 phy0: timeout: 0x001d
[  598.040271] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  618.053242] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  618.059104] ieee80211 phy0: return code: 0x001d
[  618.063664] ieee80211 phy0: timeout: 0x001d
[  618.067866] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  638.080617] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  638.086482] ieee80211 phy0: return code: 0x001d
[  638.091041] ieee80211 phy0: timeout: 0x001d
[  638.095243] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  658.108087] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  658.113949] ieee80211 phy0: return code: 0x001d
[  658.118506] ieee80211 phy0: timeout: 0x001d
[  664.130347] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  684.143420] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  684.149288] ieee80211 phy0: return code: 0x001d
[  684.153837] ieee80211 phy0: timeout: 0x001d
[  684.158044] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  704.170771] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  704.176636] ieee80211 phy0: return code: 0x001d
[  704.181185] ieee80211 phy0: timeout: 0x001d
[  704.185393] ieee80211 phy0: MACREG_REG_INT_CODE: 0x0000
[  724.192174] ieee80211 phy0: cmd 0x801d=MEMAddrAccess timed out
[  724.198035] ieee80211 phy0: return code: 0x001d
[  724.202597] ieee80211 phy0: timeout: 0x001d
[  747.248224] ieee80211 phy1: cmd 0x9122=UpdateEncryption timed out
[  747.254354] ieee80211 phy1: return code: 0x1122
[  747.258902] ieee80211 phy1: timeout: 0x1122
[  747.263111] wlan1: failed to remove key (0, e4:a4:71:6e:e7:81) from hardware (-5)

Same issue with firmware 9.3.2.12.

I get this behavior when I enable wpa3 on one of the SSIDs. LuCI works fine with wpa2 at the moment.

Okay.

Tried WPA2 only. But run into the same issue.

Downgraded to 19.07.8 now, which works for me.

Just did a clean install of 21.02.0 and reconfigured from scratch. Will see if wifi is better or not in the next days. Do not have much hope, but with 19.07.08 stable config on the alternate partition + advanced reboot it will be a breeze to go back if any issue.

30+h uptime and did not have a wifi issue so far. Not sure if it's luck or a fix, but so far so good.

2 Likes

I installed 21.02.0 on my WRT32X over the weekend, and it's good so far. I don't run 2.4GHz and don't use WPA3 though.

My setup:

  1. Kernel 5.4.143
  2. Sysupgrade without keeping config (reconfigured from scratch after upgrade)
  3. Again, I only use 5GHz and WPA2-PSK, on 80MHz and 'auto' channel, although I limit it to 36 and 149. My config file:
/etc/config/wireless
config wifi-device 'radio0'
        option type 'mac80211'
        option channel 'auto'
        option hwmode '11a'
        option path 'soc/soc:pcie/pci0000:00/0000:00:01.0/0000:01:00.0'
        option htmode 'VHT80'
        option country 'US'
        option channels '36,149'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'lan'
        option mode 'ap'
        option ssid '#####'
        option encryption 'psk2'
        option macaddr '##:##:##:##:##:##'
        option key '#####'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel '11'
        option hwmode '11g'
        option path 'soc/soc:pcie/pci0000:00/0000:00:02.0/0000:02:00.0'
        option htmode 'HT20'
        option disabled '1'
        option country 'US'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'
        option macaddr '##:##:##:##:##:##'

config wifi-device 'radio2'
        option type 'mac80211'
        option channel '34'
        option hwmode '11a'
        option path 'platform/soc/soc:internal-regs/f10d8000.sdhci/mmc_host/mmc0/mmc0:0001/mmc0:0001:1'
        option htmode 'VHT80'
        option disabled '1'

config wifi-iface 'default_radio2'
        option device 'radio2'
        option network 'lan'
        option mode 'ap'
        option ssid 'OpenWrt'
        option encryption 'none'

I finished setting up yesterday evening, and now about 24hrs later, I haven't seen any major issues. I have a mix of laptops with Marvell & Qualcomm chips, as well as an Android and an iPhone. I worked from home today and none of those devices had any drops.

One of my Google speakers wasn't playing music this morning and I had to restart it, but casting has always been tricky for me so I'm not ready to say the new OpenWrt caused the issue.