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#3874 - Repeated connection losses, maybe due to "Rate marked as an HT rate ..." dump - see old #6411 #8867

Open
openwrt-bot opened this issue Jun 13, 2021 · 0 comments
Labels

Comments

@openwrt-bot
Copy link

openwrt-bot commented Jun 13, 2021

FredFirestone:

Problem occurs on a TL-WR1043ND v1 / Atheros AR9132 rev 2 and seems to cause connection loss. As it repeats connection is lost frequently (like every 5 minutes).

Firmware is OpenWrt 19.07.7 r11306-c4a6851c72 / LuCI openwrt-19.07 branch git-21.044.30835-34e0d65

Device is configured with multiple vlan's and SSID's.

https://dev.archive.openwrt.org/ticket/6411.html#comment:81 indicates a buggy hardware / firmware corrupting datastructures but I didnÄt see anything regarding "TX DMA" in my logs either before or after.

First occurrence shows as

[ 4026.370817] ------------[ cut here ]------------
[ 4026.375554] WARNING: CPU: 0 PID: 0 at backports-4.19.161-1/net/mac80211/rx.c:4551 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[ 4026.386511] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 78 (0x4e)
[ 4026.395963] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 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 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 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[ 4026.463609] CPU: 0 PID: 0 Comm: swapper Not tainted 4.14.221 #0
[ 4026.469561] Stack : 00000000 800b2d94 80500000 804b2a28 00000000 00000000 00000000 00000000
[ 4026.477999] 00000000 00000000 00000000 00000000 00000000 00000001 81807cd8 19976146
[ 4026.486440] 81807d70 00000000 00000000 00006b90 00000038 8044a6f8 00000008 00000000
[ 4026.494880] 00000180 85400000 0000017f 00000000 81807cb8 00000000 00000000 80e676d4
[ 4026.503316] 80e29ea4 000011c7 00000000 000001ff 00000002 80281624 00000000 80630000
[ 4026.511736] ...
[ 4026.514213] Call Trace:
[ 4026.514226] [<800b2d94>] 0x800b2d94
[ 4026.520215] [<8044a6f8>] 0x8044a6f8
[ 4026.523761] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[ 4026.529722] [<80281624>] 0x80281624
[ 4026.533255] [<8006a56c>] 0x8006a56c
[ 4026.536770] [<8006a574>] 0x8006a574
[ 4026.540289] [<80084d80>] 0x80084d80
[ 4026.543828] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[ 4026.549818] [<80084e08>] 0x80084e08
[ 4026.553348] [<80305344>] 0x80305344
[ 4026.556885] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[ 4026.562854] [<80230430>] 0x80230430
[ 4026.566365] [<803044d4>] 0x803044d4
[ 4026.569878] [<803027a4>] 0x803027a4
[ 4026.573422] [<80305e18>] 0x80305e18
[ 4026.576983] [<80ee77b4>] 0x80ee77b4 [ath9k@80ee0000+0x18290]
[ 4026.582727] [<80ee7794>] 0x80ee7794 [ath9k@80ee0000+0x18290]
[ 4026.588448] [<80ee4a24>] 0x80ee4a24 [ath9k@80ee0000+0x18290]
[ 4026.594160] [<80087e7c>] 0x80087e7c
[ 4026.597671] [<80450248>] 0x80450248
[ 4026.601183] [<800b8f84>] 0x800b8f84
[ 4026.604714] [<80230430>] 0x80230430
[ 4026.608223] [<800657d8>] 0x800657d8
[ 4026.611730]
[ 4026.613252] ---[ end trace b6c79bcd99353cfc ]---

Last were back to back
[4116904.988692] WARNING: CPU: 0 PID: 0 at backports-4.19.161-1/net/mac80211/rx.c:4551 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4116904.999836] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 79 (0x4f)
[4116905.009468] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 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 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 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[4116905.077291] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.221 #0
[4116905.084647] Stack : 00000000 800b2d94 80500000 804b2a28 00000000 00000000 00000000 00000000
[4116905.093265] 00000000 00000000 00000000 00000000 00000000 00000001 81807cd8 19976146
[4116905.101863] 81807d70 00000000 00000000 0001a198 00000038 8044a6f8 00000008 00000000
[4116905.110479] 0000058a c2600000 00000589 00000000 81807cb8 00000000 00000000 80e676d4
[4116905.119094] 80e29ea4 000011c7 00000000 00000200 00000002 80281624 00000000 80630000
[4116905.127709] ...
[4116905.130351] Call Trace:
[4116905.130364] [<800b2d94>] 0x800b2d94
[4116905.136720] [<8044a6f8>] 0x8044a6f8
[4116905.140419] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4116905.146563] [<80281624>] 0x80281624
[4116905.150256] [<8006a56c>] 0x8006a56c
[4116905.153952] [<8006a574>] 0x8006a574
[4116905.157640] [<80084d80>] 0x80084d80
[4116905.161331] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4116905.167499] [<80084e08>] 0x80084e08
[4116905.171204] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4116905.177365] [<803044d4>] 0x803044d4
[4116905.181054] [<803046bc>] 0x803046bc
[4116905.184756] [<800d03ac>] 0x800d03ac
[4116905.188447] [<80ed43f4>] 0x80ed43f4 [ath9k_common@80ed4000+0x2be0]
[4116905.194891] [<80ee77b4>] 0x80ee77b4 [ath9k@80ee0000+0x18290]
[4116905.200797] [<80ee7794>] 0x80ee7794 [ath9k@80ee0000+0x18290]
[4116905.206706] [<80ee4a24>] 0x80ee4a24 [ath9k@80ee0000+0x18290]
[4116905.212592] [<80087e7c>] 0x80087e7c
[4116905.216278] [<80450248>] 0x80450248
[4116905.219964] [<800b8f84>] 0x800b8f84
[4116905.223669] [<80230430>] 0x80230430
[4116905.227352] [<800657d8>] 0x800657d8
[4116905.231034]
[4116905.232730] ---[ end trace b6c79bcd99353d13 ]---
[4173009.094201] ------------[ cut here ]------------
[4173009.099070] WARNING: CPU: 0 PID: 0 at backports-4.19.161-1/net/mac80211/rx.c:4551 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4173009.110213] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 79 (0x4f)
[4173009.119844] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 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 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 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[4173009.187672] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.221 #0
[4173009.195036] Stack : 00000000 800b2d94 80500000 804b2a28 00000000 00000000 00000000 00000000
[4173009.203645] 00000000 00000000 00000000 00000000 00000000 00000001 81807cd8 19976146
[4173009.212240] 81807d70 00000000 00000000 0001acc0 00000038 8044a6f8 00000008 00000000
[4173009.220855] 000005ae e4200000 000005ad 00000000 81807cb8 00000000 00000000 80e676d4
[4173009.229470] 80e29ea4 000011c7 00000000 000001ff 00000002 80281624 00000000 80630000
[4173009.238085] ...
[4173009.240729] Call Trace:
[4173009.240741] [<800b2d94>] 0x800b2d94
[4173009.247097] [<8044a6f8>] 0x8044a6f8
[4173009.250795] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4173009.256938] [<80281624>] 0x80281624
[4173009.260633] [<8006a56c>] 0x8006a56c
[4173009.264328] [<8006a574>] 0x8006a574
[4173009.268018] [<80084d80>] 0x80084d80
[4173009.271708] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4173009.277883] [<80084e08>] 0x80084e08
[4173009.281590] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4173009.287750] [<803044d4>] 0x803044d4
[4173009.291438] [<803027a4>] 0x803027a4
[4173009.295159] [<80305e18>] 0x80305e18
[4173009.298894] [<80ee77b4>] 0x80ee77b4 [ath9k@80ee0000+0x18290]
[4173009.304777] [<800cffa4>] 0x800cffa4
[4173009.308501] [<80ee7794>] 0x80ee7794 [ath9k@80ee0000+0x18290]
[4173009.314408] [<80ee4a24>] 0x80ee4a24 [ath9k@80ee0000+0x18290]
[4173009.320272] [<80087e7c>] 0x80087e7c
[4173009.323979] [<80450248>] 0x80450248
[4173009.327663] [<800b8f84>] 0x800b8f84
[4173009.331349] [<80230430>] 0x80230430
[4173009.335053] [<800657d8>] 0x800657d8
[4173009.338734]
[4173009.340411] ---[ end trace b6c79bcd99353d14 ]---
[4180220.321840] ------------[ cut here ]------------
[4180220.326728] WARNING: CPU: 0 PID: 0 at backports-4.19.161-1/net/mac80211/rx.c:4551 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180220.337857] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 77 (0x4d)
[4180220.347486] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 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 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 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[4180220.415309] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.221 #0
[4180220.422666] Stack : 00000000 800b2d94 80500000 804b2a28 00000000 00000000 00000000 00000000
[4180220.431266] 00000000 00000000 00000000 00000000 00000000 00000001 81807cd8 19976146
[4180220.439881] 81807d70 00000000 00000000 0001b7c8 00000038 8044a6f8 00000008 00000000
[4180220.448497] 000005d2 d7a00000 000005d1 00000000 81807cb8 00000000 00000000 80e676d4
[4180220.457112] 80e29ea4 000011c7 00000000 000001ff 00000002 80281624 00000000 80630000
[4180220.465727] ...
[4180220.468371] Call Trace:
[4180220.468383] [<800b2d94>] 0x800b2d94
[4180220.474733] [<8044a6f8>] 0x8044a6f8
[4180220.478438] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180220.484580] [<80281624>] 0x80281624
[4180220.488274] [<8006a56c>] 0x8006a56c
[4180220.491956] [<8006a574>] 0x8006a574
[4180220.495671] [<80084d80>] 0x80084d80
[4180220.499368] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180220.505543] [<80084e08>] 0x80084e08
[4180220.509249] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180220.515409] [<803044d4>] 0x803044d4
[4180220.519093] [<803046bc>] 0x803046bc
[4180220.522807] [<80ed43f4>] 0x80ed43f4 [ath9k_common@80ed4000+0x2be0]
[4180220.529248] [<80ee77b4>] 0x80ee77b4 [ath9k@80ee0000+0x18290]
[4180220.535130] [<800cffa4>] 0x800cffa4
[4180220.538855] [<80ee7794>] 0x80ee7794 [ath9k@80ee0000+0x18290]
[4180220.544762] [<80ee4a24>] 0x80ee4a24 [ath9k@80ee0000+0x18290]
[4180220.550634] [<80087e7c>] 0x80087e7c
[4180220.554342] [<80450248>] 0x80450248
[4180220.558026] [<800b8f84>] 0x800b8f84
[4180220.561712] [<80230430>] 0x80230430
[4180220.565416] [<800657d8>] 0x800657d8
[4180220.569096]
[4180220.570773] ---[ end trace b6c79bcd99353d15 ]---
[4180360.684224] ------------[ cut here ]------------
[4180360.689089] WARNING: CPU: 0 PID: 0 at backports-4.19.161-1/net/mac80211/rx.c:4551 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180360.700229] Rate marked as an HT rate but passed status->rate_idx is not an MCS index [0-76]: 77 (0x4d)
[4180360.709856] Modules linked in: ath9k ath9k_common pppoe ppp_async ath9k_hw ath pppox ppp_generic nf_conntrack_ipv6 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 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 ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[4180360.777679] CPU: 0 PID: 0 Comm: swapper Tainted: G W 4.14.221 #0
[4180360.785041] Stack : 00000000 800b2d94 80500000 804b2a28 00000000 00000000 00000000 00000000
[4180360.793648] 00000000 00000000 00000000 00000000 00000000 00000001 81807cd8 19976146
[4180360.802242] 81807d70 00000000 00000000 0001c2f0 00000038 8044a6f8 00000008 00000000
[4180360.810859] 000005f6 a2400000 000005f5 00000000 81807cb8 00000000 00000000 80e676d4
[4180360.819472] 80e29ea4 000011c7 00000000 00000200 00000002 80281624 00000000 80630000
[4180360.828088] ...
[4180360.830737] Call Trace:
[4180360.830749] [<800b2d94>] 0x800b2d94
[4180360.837107] [<8044a6f8>] 0x8044a6f8
[4180360.840807] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180360.846950] [<80281624>] 0x80281624
[4180360.850643] [<8006a56c>] 0x8006a56c
[4180360.854339] [<8006a574>] 0x8006a574
[4180360.858028] [<80084d80>] 0x80084d80
[4180360.861719] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180360.867895] [<80084e08>] 0x80084e08
[4180360.871601] [<80e29ea4>] 0x80e29ea4 [mac80211@80e00000+0x6c6c0]
[4180360.877761] [<803044d4>] 0x803044d4
[4180360.881445] [<803046bc>] 0x803046bc
[4180360.885152] [<800d03ac>] 0x800d03ac
[4180360.888851] [<80ed43f4>] 0x80ed43f4 [ath9k_common@80ed4000+0x2be0]
[4180360.895309] [<80ee77b4>] 0x80ee77b4 [ath9k@80ee0000+0x18290]
[4180360.901177] [<800cffa4>] 0x800cffa4
[4180360.904911] [<80ee7794>] 0x80ee7794 [ath9k@80ee0000+0x18290]
[4180360.910784] [<802ccdd5>] 0x802ccdd5
[4180360.914503] [<80ee4a24>] 0x80ee4a24 [ath9k@80ee0000+0x18290]
[4180360.920372] [<80087e7c>] 0x80087e7c
[4180360.924079] [<80450248>] 0x80450248
[4180360.927764] [<800b8f84>] 0x800b8f84
[4180360.931450] [<80230430>] 0x80230430
[4180360.935154] [<800657d8>] 0x800657d8
[4180360.938834]
[4180360.940511] ---[ end trace b6c79bcd99353d16 ]---

I know it's an old device and low on memory, but I'd be happy if a solution or work around (like checking datastructure on return) could be found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant