Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4054 - ath10k kernel error out of the blue on WiFi dump AP running with 802.11s mesh backhaul #9042

Closed
openwrt-bot opened this issue Sep 24, 2021 · 2 comments
Labels
flyspray kernel pull request/issue with Linux kernel related changes release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release

Comments

@openwrt-bot
Copy link

plyblob:

Supply the following if possible:

  • Device problem occurs on: TP-Link Archer C7v5 (3 devices, bought 2019 + 2021/06 + 2021/07)
  • Software versions of OpenWrt: 21.02.0-stable

Kernel log: (see attachment for full log)

Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.336444] ------------[ cut here ]------------ Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.341374] WARNING: CPU: 0 PID: 0 at backports-5.10.42-1/net/mac80211/rate.c:688 0x86c1e77c [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.352697] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat batman_adv ath9k_hw ath10k_pci ath10k_core ath 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 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt _LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 libcrc32c iptable_mangle iptable_filter ip_tables crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter i p6_tables ip6t_REJECT x_tables nf_reject_ipv6 msdos vfat fat nls_utf8 nls_iso8859_1 nls_cp437 usb_storage fsl_mph_dr_of ehci_platform ehci_fsl sd_mod scsi_mod ehci_hcd gpio_button_hotplug ext4 mbcache jbd2 usb core nls_base usb_common crc16 crc32c_generic crypto_hash Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.429750] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.143 #0 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.435871] Stack : 86c80000 800b95d8 80660000 805fa440 00000000 00000000 00000000 00000000 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.444593] 00000000 00000000 00000000 00000000 00000000 00000001 87c0bc30 d8213a8a Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.453311] 87c0bcc8 00000000 00000000 00000124 00000038 8057a304 352e342e 31343320 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.462030] 00000124 0d9f3ab6 00000000 73776170 00000000 87c0bc10 00000000 86c1e77c Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.470755] 00000009 86c76a10 86d581a0 80630000 00000002 8031fd68 00000000 80790000 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.479473] ... Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.482091] Call Trace: Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.482104] [<86c80000>] 0x86c80000 [ath10k_core@664f4f0d+0x5a910] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.491190] [<800b95d8>] 0x800b95d8 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.494891] [<80660000>] 0x80660000 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.498592] [<8057a304>] 0x8057a304 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.502299] [<86c1e77c>] 0x86c1e77c [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.508533] [<8031fd68>] 0x8031fd68 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.512235] [<86c80000>] 0x86c80000 [ath10k_core@664f4f0d+0x5a910] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.518706] [<80069364>] 0x80069364 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.522407] [<8006936c>] 0x8006936c Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.526107] [<800821b4>] 0x800821b4 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.529814] [<86c1e77c>] 0x86c1e77c [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.536018] [<8008225c>] 0x8008225c Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.539725] [<8054599c>] 0x8054599c Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.543442] [<86c1e77c>] 0x86c1e77c [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.549660] [<86c2e650>] 0x86c2e650 [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.555879] [<800c3bfc>] 0x800c3bfc Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.559577] [<8684b544>] 0x8684b544 [ath9k@97ca09b5+0x19110] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.565524] [<868495cc>] 0x868495cc [ath9k@97ca09b5+0x19110] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.571482] [<8684c928>] 0x8684c928 [ath9k@97ca09b5+0x19110] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.577444] [<86844400>] 0x86844400 [ath9k@97ca09b5+0x19110] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.583401] [<86c30ccc>] 0x86c30ccc [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.589627] [<86c30e20>] 0x86c30e20 [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.595855] [<86c38b50>] 0x86c38b50 [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.602090] [<86c3a774>] 0x86c3a774 [mac80211@2c15a7f2+0x7d0f0] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.608320] [<86844c28>] 0x86844c28 [ath9k@97ca09b5+0x19110] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.614256] [<80660000>] 0x80660000 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.617956] [<80660000>] 0x80660000 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.621647] [<80085040>] 0x80085040 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.625339] [<800badb8>] 0x800badb8 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.629040] [<8057f8b8>] 0x8057f8b8 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.632739] [<800bf060>] 0x800bf060 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.636433] [<802bf580>] 0x802bf580 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.640133] [<80064f78>] 0x80064f78 Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.643829] Sep 24 08:55:55 WifiAP-02-EG kernel: [833015.645453] ---[ end trace 7de74c0828886f30 ]---

My packages: "opkg list" (see attachment)

My wireless config:

config wifi-device 'radio0' option type 'mac80211' option beacon_int '100' option channel '36' option hwmode '11a' option path 'pci0000:00/0000:00:00.0' option htmode 'VHT80' option txpower '23' option country 'DE' option noscan '1' option disabled '0'

config wifi-device 'radio1'
option type 'mac80211'
option channel '1'
option hwmode '11g'
option path 'platform/ahb/18100000.wmac'
option htmode 'HT40'
option txpower '20'
option country 'DE'
option noscan '1'
option disabled '0'

config wifi-iface 'wifinet0'
option device 'radio0'
option disabled '0'
option mode 'ap'
option network 'VL20'
option ssid 'SSID1'
option encryption 'wpa2+ccmp'
option nasid 'NASID'
option auth_port '1812'
option auth_server 'RAD_SERVER_IP'
option auth_secret 'KEY_REMOVED'
option acct_port '1813'
option acct_server 'RAD_SERVER_IP'
option acct_secret 'KEY_REMOVED'
option disassoc_low_ack '1'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option dtim_period '2'
option short_preamble '1'

config wifi-iface 'wifinet1'
option device 'radio0'
option disabled '0'
option mode 'ap'
option network 'VL20'
option ssid 'SSID2'
option encryption 'psk2+ccmp'
option key 'KEY_REMOVED'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option disassoc_low_ack '1'
option dtim_period '1'
option short_preamble '1'

config wifi-iface 'wifinet2'
option device 'radio0'
option disabled '1'
option mode 'ap'
option hidden '1'
option network 'VL10'
option ssid 'SSID3'
option encryption 'psk2+ccmp'
option key 'KEY_REMOVED'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option disassoc_low_ack '1'
option dtim_period '2'
option short_preamble '1'

config wifi-iface 'wifinet3'
option device 'radio1'
option disabled '0'
option mode 'ap'
option network 'VL20'
option ssid 'SSID4'
option encryption 'psk2+ccmp'
option key 'KEY_REMOVED'
option ieee80211w '1'
option wpa_disable_eapol_key_retries '1'
option disassoc_low_ack '1'
option dtim_period '1'
option short_preamble '1'

config wifi-iface 'wifinet4'
option device 'radio0'
option disabled '1'
option mode 'ap'
option network 'VL30'
option ssid 'SSID5'
option encryption 'none'
option disassoc_low_ack '1'
option dtim_period '2'
option short_preamble '1'

@openwrt-bot
Copy link
Author

benpicco:

I see the same issue on Archer C5v1 with OpenWrt 21.02.1

[726210.713445] ------------[ cut here ]------------
[726210.718292] WARNING: CPU: 0 PID: 0 at backports-5.10.68-1/net/mac80211/rate.c:677 0x8771e700 [mac80211@a2a1a7d4+0x7cdb0]
[726210.729427] Modules linked in: ath9k ath9k_common pppoe ppp_async iptable_nat ath9k_hw ath10k_pci ath10k_core ath 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 mac80211 ipt_REJECT cfg80211 xt_time xt_tcpudp xt_multiport xt_mark xt_mac xt_limit xt_comment xt_TCPMSS xt_LOG slhc nf_reject_ipv4 nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_filter ip_tables hwmon crc_ccitt compat ledtrig_usbport nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables ip6t_REJECT x_tables nf_reject_ipv6 fsl_mph_dr_of ehci_platform ehci_fsl ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[726210.792587] CPU: 0 PID: 0 Comm: swapper Not tainted 5.4.154 #0
[726210.798591] Stack : 87780000 800b98ec 80660000 805fa498 00000000 00000000 00000000 00000000
[726210.807160]         00000000 00000000 00000000 00000000 00000000 00000001 87c0bc30 897cbe95
[726210.815731]         87c0bcc8 00000000 00000000 0000012a 00000038 8057ac04 352e342e 31353420
[726210.824302]         0000012a be6adfcc 00000000 73776170 00000000 87c0bc10 00000000 8771e700
[726210.832872]         00000009 87776760 870581a0 80630000 00000002 8032041c 00000000 80790000
[726210.841444]         ...
[726210.844014] Call Trace:
[726210.844028] [<87780000>] 0x87780000 [ath10k_core@e42640e8+0x6bb00]
[726210.852957] [<800b98ec>] 0x800b98ec
[726210.856584] [<80660000>] 0x80660000
[726210.860211] [<8057ac04>] 0x8057ac04
[726210.863849] [<8771e700>] 0x8771e700 [mac80211@a2a1a7d4+0x7cdb0]
[726210.869957] [<8032041c>] 0x8032041c
[726210.873592] [<87780000>] 0x87780000 [ath10k_core@e42640e8+0x6bb00]
[726210.879948] [<80069364>] 0x80069364
[726210.883572] [<8006936c>] 0x8006936c
[726210.887199] [<800824f4>] 0x800824f4
[726210.890831] [<8771e700>] 0x8771e700 [mac80211@a2a1a7d4+0x7cdb0]
[726210.896923] [<8008259c>] 0x8008259c
[726210.900560] [<8771e700>] 0x8771e700 [mac80211@a2a1a7d4+0x7cdb0]
[726210.906668] [<8772e728>] 0x8772e728 [mac80211@a2a1a7d4+0x7cdb0]
[726210.912769] [<800c3f10>] 0x800c3f10
[726210.916407] [<8706991c>] 0x8706991c [ath9k@625c8d39+0x19450]
[726210.922258] [<8706cc84>] 0x8706cc84 [ath9k@625c8d39+0x19450]
[726210.928102] [<87064664>] 0x87064664 [ath9k@625c8d39+0x19450]
[726210.933947] [<87730d9c>] 0x87730d9c [mac80211@a2a1a7d4+0x7cdb0]
[726210.940059] [<87730ef0>] 0x87730ef0 [mac80211@a2a1a7d4+0x7cdb0]
[726210.946169] [<87738bf0>] 0x87738bf0 [mac80211@a2a1a7d4+0x7cdb0]
[726210.952287] [<8773a838>] 0x8773a838 [mac80211@a2a1a7d4+0x7cdb0]
[726210.958398] [<87064eb8>] 0x87064eb8 [ath9k@625c8d39+0x19450]
[726210.964227] [<80660000>] 0x80660000
[726210.967858] [<80660000>] 0x80660000
[726210.971486] [<80085380>] 0x80085380
[726210.975111] [<800ba7e4>] 0x800ba7e4
[726210.978737] [<80580170>] 0x80580170
[726210.982377] [<800bf374>] 0x800bf374
[726210.986008] [<802bfc1c>] 0x802bfc1c
[726210.989640] [<80064f78>] 0x80064f78
[726210.993257] 
[726210.994857] ---[ end trace 2715ec3721563753 ]---

This is just running in AP mode with a few clients connected, nothing unusual.
I just noticed this when checking dmesg.

@aparcar aparcar added release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release kernel pull request/issue with Linux kernel related changes labels Feb 22, 2022
@ynezz
Copy link
Member

ynezz commented Feb 26, 2022

Continue tracking this via #9316

@ynezz ynezz closed this as completed Feb 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray kernel pull request/issue with Linux kernel related changes release/21.02 pull request/issue targeted (also) for OpenWrt 21.02 release
Projects
None yet
Development

No branches or pull requests

3 participants