FS#3350 - Kernel Warning in module mac80211/tx.c #8207
Labels
flyspray
kernel
pull request/issue with Linux kernel related changes
release/19.07
pull request/issue targeted (also) for OpenWrt 19.07 release
jfsopenwrt:
Hi,
I am using the following with the latest update of openwrt:
Model Netgear R6220
Architecture MediaTek MT7621 ver:1 eco:3
Firmware Version OpenWrt 19.07.4 r11208-ce6496d796 / LuCI openwrt-19.07 branch git-20.260.30581-915a64c
Kernel Version 4.14.195
The problem occured already with 19.07.3 several times, so I upgraded to 19.07.4, but the problem remains.
The wifi module kept crashing and in consequence a part of the wifi devices cannot connect anymore. Sometimes the router
recovers by itself, sometimes not and a reboot is necessary to get wifi working again. It mostly affects the 2,4 GHz band
and not the 5 GHz band, but that might be related which device is renewing DHCP or which ones are not (I am not sure).
A reboot solves the problem, but after some time, the problem occurs again. After the below warning, the router runs without
further problems for 2 days now. So it seems pretty rare. Nevertheless, the same hardware was working fine with 18.x
openwrt for a year at least. No kernel warning at the time. I cannot completely rule out that the HW is broken as it is
of age, as you can see. Any hint on what I should report or test myself is welcome! I can help debug and even install
updates that should fix the problem, if necessary. The router ist just used as an access point - routing is taking
place elsewhere.
Here is the korresponding kernel warning, where I included the immediate log entries before and after:
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-RADAR-DETECTED freq=5680 ht_enabled=1 chan_offset=-1 chan_width=2 cf1=5670 cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: DFS-NEW-CHANNEL freq=5220 chan=44 sec_chan=1
Thu Sep 17 22:02:05 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver starting channel switch: freq=5220, ht=1, vht_ch=0x0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:05 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-STARTED-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.info hostapd: wlan1: IEEE 802.11 driver had channel switch: freq=5220, ht=1, vht_ch=0x0, offset=1, width=2 (40 MHz), cf1=5230, cf2=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: CTRL-EVENT-CHANNEL-SWITCH freq=5220 ht_enabled=1 ch_offset=1 ch_width=40 MHz cf1=5230 cf2=0 dfs=0
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: AP-CSA-FINISHED freq=5220 dfs=0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.685439] ------------[ cut here ]------------
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.694747] WARNING: CPU: 1 PID: 14 at backports-4.19.137-1/net/mac80211/tx.c:4292 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.716632] Modules linked in: pppoe ppp_async pppox ppp_generic nf_conntrack_netlink nf_conntrack_ipv6 mt76x2e mt76x2_common mt76x02_lib mt7603e mt76 mac80211 iptable_nat ipt_REJECT ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_FLOWOFFLOAD xt_CT slhc nfnetlink nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_flow_table_hw nf_flow_table nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 leds_gpio xhci_plat_hcd xhci_pci xhci_mtk xhci_hcd gpio_button_hotplug
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.858467] usbcore nls_base usb_common
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.866285] CPU: 1 PID: 14 Comm: ksoftirqd/1 Not tainted 4.14.195 #0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.878915] Stack : 00000000 00000000 00000000 86dae9b0 00000000 00000000 00000000 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.895548] 00000000 00000000 00000000 00000000 00000000 00000001 87c67b70 53261622
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.912178] 87c67c08 00000000 00000000 00006298 00000038 8049c858 00000008 00000000
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.928810] 00000000 80550000 000d37ed 00000000 87c67b50 00000000 00000000 877e7fd0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.945442] 877acbc4 000010c4 86f0a480 86dae9b0 00000003 802ad210 00000004 806b0004
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.962073] ...
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966931] Call Trace:
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.966973] [<8049c858>] 0x8049c858
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.978757] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.990532] [<802ad210>] 0x802ad210
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7457.997462] [<8000c1a0>] 0x8000c1a0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.004393] [<8000c1a8>] 0x8000c1a8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.011325] [<804856b4>] 0x804856b4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.018260] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.030029] [<80072a84>] 0x80072a84
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.036956] [<8002e608>] 0x8002e608
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.043892] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.055668] [<8002e6f0>] 0x8002e6f0
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.062600] [<80053b7c>] 0x80053b7c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.069536] [<877acbc4>] 0x877acbc4 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.081310] [<877af408>] 0x877af408 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.093086] [<80067ca8>] 0x80067ca8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.100018] [<80017f6c>] 0x80017f6c
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.106957] [<87777b90>] 0x87777b90 [mt76x02_lib@87770000+0x9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.119081] [<877af86c>] 0x877af86c [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.130870] [<87777bd0>] 0x87777bd0 [mt76x02_lib@87770000+0x9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.142999] [<877b65e0>] 0x877b65e0 [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.154789] [<877b66bc>] 0x877b66bc [mac80211@87780000+0x6cca0]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.166573] [<87774a94>] 0x87774a94 [mt76x02_lib@87770000+0x9700]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.178702] [<800329f4>] 0x800329f4
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.185630] [<804a3658>] 0x804a3658
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.192561] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.199494] [<8004fd10>] 0x8004fd10
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.206420] [<80032cc8>] 0x80032cc8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.213348] [<8004feb8>] 0x8004feb8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.220280] [<8049ebd8>] 0x8049ebd8
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.227208] [<8004bf38>] 0x8004bf38
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.234139] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.241070] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.248002] [<8004be08>] 0x8004be08
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.254933] [<80006f78>] 0x80006f78
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.261870]
Thu Sep 17 22:02:06 2020 kern.warn kernel: [ 7458.265166] ---[ end trace 9a8b15fbb768cb19 ]---
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response
Thu Sep 17 22:02:06 2020 daemon.notice hostapd: wlan1: STA 6c:ad:f8:f1:5a:4b IEEE 802.11: did not acknowledge authentication response
The text was updated successfully, but these errors were encountered: