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#615 - WDS AP: kernel panic under high traffic load #6043

Closed
openwrt-bot opened this issue Mar 10, 2017 · 1 comment
Closed

FS#615 - WDS AP: kernel panic under high traffic load #6043

openwrt-bot opened this issue Mar 10, 2017 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

bjonglez:

I built a WDS bridge with two TL-WR841 v8, running LEDE r3670-154b3a6 from the buildbot snapshots.

When sending a high amount of traffic through the bridge (bidirectional iperf from one computer to another through the bridge), the WDS AP crashes repeatedly (roughly every hour, sometimes it takes a bit longer).

This is possibly related to other WDS issues FS#447 and FS#608.

AP wireless config:

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'ap'
option ssid 'LEDE'
option encryption 'psk-mixed'
option key 'XXX'
option wds '1'

STA wireless config:

config wifi-iface 'default_radio0'
option device 'radio0'
option network 'lan'
option mode 'sta'
option ssid 'LEDE'
option encryption 'psk2'
option key 'XXX'
option wds '1'

The network configuration is unchanged on both devices (except changing the LAN IP).

Some kernel crashes I obtained with /sys/kernel/debug/crashlog after a crash:

[ 2581.160504] Trap instruction in kernel code[#1]:
[ 2581.165297] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0
[ 2581.171239] task: 8042ef58 ti: 80428000 task.ti: 80428000
[ 2581.176814] $ 0 : 00000000 804a0000 00000000 fffffffe
[ 2581.182253] $ 4 : 00afc0cc 009f844e 0000007f a0e7c980
[ 2581.187691] $ 8 : 009f849c 00000052 0000004a 01000000
[ 2581.193129] $12 : 80000000 8000004e 00000000 00000002
[ 2581.198559] $16 : 81b27000 80df7000 81a15000 81942f00
[ 2581.203989] $20 : 00000000 00000000 8042a4e0 80d18400
[ 2581.209428] $24 : 00000000 8007d2d4
[ 2581.214866] $28 : 80428000 81809a58 8042a4e0 80272104
[ 2581.220305] Hi : 00000019
[ 2581.223280] Lo : 00000000
[ 2581.226272] epc : 80272128 __dev_queue_xmit+0x2d8/0x4c4
[ 2581.231852] ra : 80272104 __dev_queue_xmit+0x2b4/0x4c4
[ 2581.237428] Status: 1100f403 KERNEL EXL IE
[ 2581.241785] Cause : 00800034 (ExcCode 0d)
[ 2581.245924] PrId : 0001974c (MIPS 74Kc)
[ 2581.249972] 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_CT slhc
nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache
nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter
ip6_tables x_tables gpio_button_hotplug
[ 2581.309535] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000)
[ 2581.317710] Stack : 80ecf420 8187992c 81809b2c 81879900 81b27068 00000001 80430000 fffffff4
[ 2581.317710] 80ece09c 80ed7000 0000004a 80ed7000 80d18400 80ed7000 00000000 8035b5a4
[ 2581.317710] 00000000 80df7000 00000000 80905e00 80f81000 80430000 80df7000 80271cd0
[ 2581.317710] 80428000 00440002 00000020 0000000e 00000003 80df7000 8042a4e0 00000000
[ 2581.317710] 80d18400 80271718 80430000 803fc6cc 8190af00 80ece090 80430000 80df7000
[ 2581.317710] ...
[ 2581.354706] Call Trace:
[ 2581.357239] [] __dev_queue_xmit+0x2d8/0x4c4
[ 2581.362495] [] vlan_dev_hard_start_xmit+0x98/0x128
[ 2581.368341] [] dev_hard_start_xmit+0x2a8/0x354
[ 2581.373834] [] __dev_queue_xmit+0x3c0/0x4c4
[ 2581.379068] [] br_dev_queue_push_xmit+0x16c/0x1a0
[ 2581.384828] [] br_forward_finish+0x3c/0xb0
[ 2581.389963] [] __br_forward+0xa8/0x114
[ 2581.394741] [] br_handle_frame_finish+0x4f4/0x550
[ 2581.400500] [] br_handle_frame+0x380/0x418
[ 2581.405662] [] __netif_receive_skb_core+0x42c/0x898
[ 2581.411768] [] ieee80211_attach_ack_skb+0x103c/0x19e8 [mac80211]
[ 2581.418913]
[ 2581.420454]
[ 2581.420454] Code: 02002025 10000014 00008825 00431024 ae020074 1000000f 00008825 8e020000
[ 2581.430831] ---[ end trace 8251bd1741f30e24 ]---
[ 2581.437731] Kernel panic - not syncing: Fatal exception in interrupt

Another one which is a bit different:

[ 420.687915] Reserved instruction in kernel code[#1]: [ 420.693066] CPU: 0 PID: 0 Comm: swapper Not tainted 4.4.52 #0 [ 420.699008] task: 8042ef58 ti: 80428000 task.ti: 80428000 [ 420.704583] $ 0 : 00000000 804a0000 00000002 00000002 [ 420.710022] $ 4 : 81809e34 00000003 00000000 a0fb5980 [ 420.715460] $ 8 : 0179f4bc 000005f2 000005ea 01000000 [ 420.720898] $12 : 80000000 800005ee 00000000 772a02c0 [ 420.726328] $16 : 81809e34 00000000 80f82420 8179eed2 [ 420.731758] $20 : 80d54b40 00000000 80f82000 81809ddc [ 420.737197] $24 : 00000000 8007d2d4 [ 420.742635] $28 : 80428000 81809d28 00000000 80da2a4c [ 420.748066] Hi : 00000008 [ 420.751041] Lo : 00000023 [ 420.754198] epc : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211] [ 420.761875] ra : 80da2a4c ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211] [ 420.769508] Status: 1100f403 KERNEL EXL IE [ 420.773864] Cause : 80800028 (ExcCode 0a) [ 420.778004] PrId : 0001974c (MIPS 74Kc) [ 420.782050] 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_CT slhc nf_reject_ipv4 nf_nat_redirect nf_nat_masquerade_ipv4 nf_conntrack_ipv4 nf_nat_ipv4 nf_nat nf_log_ipv4 nf_defrag_ipv6 nf_defrag_ipv4 nf_conntrack_rtcache nf_conntrack iptable_mangle iptable_filter ip_tables crc_ccitt compat ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle ip6table_filter ip6_tables x_tables gpio_button_hotplug [ 420.841606] Process swapper (pid: 0, threadinfo=80428000, task=8042ef58, tls=00000000) [ 420.849779] Stack : 8086da00 8034a074 00000141 81809e14 00000042 81a18c20 00000003 81a18800 [ 420.849779] 804c0000 00000000 0000002f 00000080 803c9c94 80dd6e74 80de0000 80dd6e40 [ 420.849779] 80df9780 80440000 80f81420 8034a304 00000032 81b90010 00000001 00000008 [ 420.849779] 80fc1380 81809e34 80fa9cc0 000008c9 8086f460 00000008 8086f460 00000000 [ 420.849779] 00000001 80da5abc 815d1746 80df9780 00000000 8034bc5c 00000003 81a18800 [ 420.849779] ... [ 420.886779] Call Trace: [ 420.889373] [<80da2a4c>] ieee80211_sta_uapsd_trigger+0xff4/0x2d7c [mac80211] [ 420.896693] [ 420.898234] [ 420.898234] Code: 00402825 0c3687a9 02002025 <1000fe1b> 8ee20000 0c36817d 02402025 0441ff8b 24420012 [ 420.908615] ---[ end trace 2fd42b1e71175ff5 ]--- [ 420.915438] Kernel panic - not syncing: Fatal exception in interrupt
@openwrt-bot
Copy link
Author

enryIT:

Do you have the reassociations every 10 minutes?

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