Random restarts with Xiaomi Mi Router 4A Gigabit Edition

Hello,

I have a Xiaomi Mi Router 4A Gigabit Edition with Openwrt 22.03.5

It's an unshielded one

It's running Unbound and wpad-wolfssl installed instead of wpad-basic and dnsmasq, and irqbalance

Sometimes it randomly restarts, and I don't see high ram or cpu usage

Mem: 52240K used, 68484K free, 1244K shrd, 0K buff, 15640K cached
CPU: 2% usr 2% sys 0% nic 89% idle 0% io 0% irq 6% sirq

So I set up Visual Syslog to collect logs and try to understand why it happens

Aside from the normal sta connected/disconnected etc the only thing that happens before the restarts is this:

|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.304941] ------------[ cut here ]------------|
|---|---|---|---|---|---|---|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.309627] WARNING: CPU: 1 PID: 950 at backports-5.15.92-1/net/mac80211/tx.c:944 0x82737104 [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.320492] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet sch_fq_pie pppox ppp_generic nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_objref 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_counter nft_chain_nat nf_tables nf_nat nf_flow_table nf_conntrack mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 cfg80211 ts_kmp ts_fsm ts_bm tcp_bbr slhc sch_prio sch_pie sch_cake nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_ipv6 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 crc_ccitt compat sch_teql sch_sfq sch_multiq sch_gred sch_fq sch_dsmark sch_codel em_text em_nbyte em_meta em_cmp act_simple act_pedit act_csum libcrc32c sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact ifb sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.321935]  cmac leds_gpio gpio_button_hotplug crc32c_generic|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.415651] CPU: 1 PID: 950 Comm: mt76-tx phy1 Tainted: G        W         5.10.176 #0|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.423543] Stack : 00000000 8072f628 809b0000 80e70008 00000000 00000000 00000000 00000000|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.431911]         00000000 00000000 00000000 00000000 00000000 00000001 8254bc20 31a2dc80|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.440263]         8254bcb8 00000000 00000000 8254bac8 00000038 8039e8a4 ffffffea 00000000|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.448624]         8254bad4 0000032d 807d4940 ffffffff 8254bc00 806fe1e4 00000000 80700000|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.456995]         00000009 9099d693 80e70000 80e70008 00000018 8040948c 00000004 80990004|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.465347]         ...|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.467794] Call Trace:|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.467864] [<8039e8a4>] 0x8039e8a4|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.473784] [<8040948c>] 0x8040948c|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.477265] [<80007b08>] 0x80007b08|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.480752] [<80007b10>] 0x80007b10|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.484228] [<803839ac>] 0x803839ac|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.487720] [<82737104>] 0x82737104 [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.493613] [<8007ffe4>] 0x8007ffe4|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.497092] [<82737104>] 0x82737104 [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.502987] [<800301d4>] 0x800301d4|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.506469] [<82737104>] 0x82737104 [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.512364] [<8003029c>] 0x8003029c|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.515855] [<82737104>] 0x82737104 [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.521757] [<8015000a>] 0x8015000a|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.525251] [<80190978>] 0x80190978|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.528747] [<827387ec>] 0x827387ec [mac80211@fc4c3ad6+0x81460]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.534676] [<825977ac>] 0x825977ac [mt76@000da6cb+0xb040]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.540157] [<827b336c>] 0x827b336c [mt76x02_lib@c093dd17+0x9ec0]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.546241] [<82590564>] 0x82590564 [mt76@000da6cb+0xb040]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.551714] [<8259792c>] 0x8259792c [mt76@000da6cb+0xb040]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.557185] [<825905f4>] 0x825905f4 [mt76@000da6cb+0xb040]|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.562655] [<806e1f4c>] 0x806e1f4c|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.566143] [<8005113c>] 0x8005113c|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.569616] [<80051000>] 0x80051000|
|Jun 14 14:50:13|10.0.0.1|Wifi-Sala|kern|warning|kernel|[64054.573119] [<80051000>] 0x80051000|
|Jun 14 09:04:41|10.0.0.1|Wifi-Sala|daemon|info|logread[1192]|Logread connected to 10.0.0.254:514 via tcp|

I do not understand this, are those cryptic warnings the reason for the restarts? Thanks.

upgrade it to the latest 23.05. because my router is mi router 4c same as xiaomi as you i have the same problem but in openwrt 23.05 seems it fix.

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.