kernel oopses, mt76, OpenWrt 22.03.0-rc1
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
There are frequent kernel oopses with the latest 22.03.0-rc1 and other 22.03.xx versions on Xiaomi Redmi AC2100 (mt7621 et all):
Mon May 9 00:39:33 2022] ------------[ cut here ]------------
[Mon May 9 00:39:33 2022] WARNING: CPU: 3 PID: 1312 at target-mipsel_24kc_musl/linux-ramips_mt7621/mt76-2022-03-15-053668ac/mt7603/mac.c:208 0x82554814 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] Modules linked in: pppoe ppp_async nft_fib_inet nf_flow_table_ipv6 nf_flow_table_ipv4 nf_flow_table_inet 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 mt7615e mt7615_common mt7603e mt76_connac_lib mt76 mac80211 cfg80211 slhc nfnetlink nf_reject_ipv6 nf_reject_ipv4 nf_log_ipv6 nf_log_ipv4 nf_log_common nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c hwmon crc_ccitt compat sch_tbf sch_ingress sch_htb sch_hfsc em_u32 cls_u32 cls_tcindex cls_route cls_matchall cls_fw cls_flow cls_basic act_skbedit act_mirred act_gact sha256_generic libsha256 seqiv jitterentropy_rng drbg hmac cmac leds_gpio gpio_button_hotplug crc32c_generic
[Mon May 9 00:39:33 2022] CPU: 3 PID: 1312 Comm: hostapd Not tainted 5.10.111 #0
[Mon May 9 00:39:33 2022] Stack : 00000000 8071d058 809a0000 80000000 00000000 00000000 00000000 00000000
[Mon May 9 00:39:33 2022] 00000000 00000000 00000000 00000000 00000000 00000001 82bcf928 ce9a1b4b
[Mon May 9 00:39:33 2022] 82bcf9c0 00000000 00000000 82bcf7d0 00000038 80398944 ffffffea 00000000
[Mon May 9 00:39:33 2022] 82bcf7dc 0000018d 807c0838 ffffffff 82bcf908 806ec06c 80000000 806f0000
[Mon May 9 00:39:33 2022] 00000009 00000005 00003a98 80000000 00000018 8040235c 0000000c 8098000c
[Mon May 9 00:39:33 2022] ...
[Mon May 9 00:39:33 2022] Call Trace:
[Mon May 9 00:39:33 2022] [<80398944>] 0x80398944
[Mon May 9 00:39:33 2022] [<8040235c>] 0x8040235c
[Mon May 9 00:39:33 2022] [<80007b08>] 0x80007b08
[Mon May 9 00:39:33 2022] [<80007b10>] 0x80007b10
[Mon May 9 00:39:33 2022] [<8037cd00>] 0x8037cd00
[Mon May 9 00:39:33 2022] [<82554814>] 0x82554814 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] [<8007fb54>] 0x8007fb54
[Mon May 9 00:39:33 2022] [<82554814>] 0x82554814 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] [<8002ff28>] 0x8002ff28
[Mon May 9 00:39:33 2022] [<82554814>] 0x82554814 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] [<8002fff0>] 0x8002fff0
[Mon May 9 00:39:33 2022] [<82554814>] 0x82554814 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] [<8274a1d4>] 0x8274a1d4 [mac80211@a3c90e61+0x81e80]
[Mon May 9 00:39:33 2022] [<82551a70>] 0x82551a70 [mt7603e@a7af8836+0x9660]
[Mon May 9 00:39:33 2022] [<82542f54>] 0x82542f54 [mt76@e524f0bc+0xafa0]
[Mon May 9 00:39:33 2022] [<8274aa58>] 0x8274aa58 [mac80211@a3c90e61+0x81e80]
[Mon May 9 00:39:33 2022] [<8018de98>] 0x8018de98
[Mon May 9 00:39:33 2022] [<825430c4>] 0x825430c4 [mt76@e524f0bc+0xafa0]
[Mon May 9 00:39:33 2022] [<82707ef8>] 0x82707ef8 [mac80211@a3c90e61+0x81e80]
[Mon May 9 00:39:33 2022] [<827098bc>] 0x827098bc [mac80211@a3c90e61+0x81e80]
[Mon May 9 00:39:33 2022] [<80099bf4>] 0x80099bf4
[Mon May 9 00:39:33 2022] [<82709c5c>] 0x82709c5c [mac80211@a3c90e61+0x81e80]
[Mon May 9 00:39:33 2022] [<82613c5c>] 0x82613c5c [cfg80211@39734fb7+0x45e20]
[Mon May 9 00:39:33 2022] [<80570fc4>] 0x80570fc4
[Mon May 9 00:39:33 2022] [<8056fa6c>] 0x8056fa6c
[Mon May 9 00:39:33 2022] [<804dac78>] 0x804dac78
[Mon May 9 00:39:33 2022] [<8056f0dc>] 0x8056f0dc
[Mon May 9 00:39:33 2022] [<82613b9c>] 0x82613b9c [cfg80211@39734fb7+0x45e20]
[Mon May 9 00:39:33 2022] [<80100010>] 0x80100010
[Mon May 9 00:39:33 2022] [<80570e70>] 0x80570e70
[Mon May 9 00:39:33 2022] [<8056fdb0>] 0x8056fdb0
[Mon May 9 00:39:33 2022] [<80570718>] 0x80570718
[Mon May 9 00:39:33 2022] [<8056f37c>] 0x8056f37c
[Mon May 9 00:39:33 2022] [<801a0dd8>] 0x801a0dd8
[Mon May 9 00:39:33 2022] [<80202d84>] 0x80202d84
[Mon May 9 00:39:33 2022] [<8056f814>] 0x8056f814
[Mon May 9 00:39:33 2022] [<80075768>] 0x80075768
[Mon May 9 00:39:33 2022] [<804dd800>] 0x804dd800
[Mon May 9 00:39:33 2022] [<8056f4b0>] 0x8056f4b0
[Mon May 9 00:39:33 2022] [<804d1040>] 0x804d1040
[Mon May 9 00:39:33 2022] [<8032297c>] 0x8032297c
[Mon May 9 00:39:33 2022] [<804d2ed0>] 0x804d2ed0
[Mon May 9 00:39:33 2022] [<8062bc28>] 0x8062bc28
[Mon May 9 00:39:33 2022] [<804d2384>] 0x804d2384
[Mon May 9 00:39:33 2022] [<804d30e0>] 0x804d30e0
[Mon May 9 00:39:33 2022] [<804cfd40>] 0x804cfd40
[Mon May 9 00:39:33 2022] [<80075a60>] 0x80075a60
[Mon May 9 00:39:33 2022] [<80014578>] 0x80014578
[Mon May 9 00:39:33 2022] ---[ end trace 98d878ad3cbe4026 ]---
[Mon May 9 10:31:03 2022] br-lan: port 2(lan2) received tcn bpdu
[Mon May 9 10:31:03 2022] br-lan: topology change detected, propagating
Any idea why might that be?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with mac.c around line 208 and the mt7603e module named in the trace; review the kernel 5.10.111 oops and the hostapd-triggered call trace. Reproduce on the Xiaomi Redmi AC2100 with OpenWrt 22.03.0-rc1 or another affected 22.03 release, then identify the cause and verify that the kernel oops no longer occurs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- networking, operating-systems
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100