Modify

Opened 3 years ago

Closed 3 years ago

#18431 closed defect (duplicate)

ar71xx: Kernel panic about every 2h - wifi

Reported by: musti@… Owned by: developers
Priority: highest Milestone: Barrier Breaker 14.07
Component: kernel Version: Barrier Breaker 14.07
Keywords: Cc: nbd

Description

On BB 43321 and some versions earlier we are observing WiFi nodes crashing with kernel panic possibly due to a WiFi related problem.

Routers: MR3020 and WR740N

WiFi device is configured with two interfaces ap and adhoc. Unconfirmed, but it appears the crash occurs only when adhoc interface is associated and communication is done via this interface. Crash occurs about every 2h consistently at all time, and appears to be unrelated to any particular event.

dmesg output posted here traces the event:

[12141.090000] Oops[#1]:
[12141.090000] CPU: 0 PID: 20210 Comm: kworker/u2:3 Not tainted 3.10.49 #1
[12141.090000] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[12141.090000] task: 8175c430 ti: 8157e000 task.ti: 8157e000
[12141.090000] $ 0   : 00000000 00000001 ffffffff 00000012
[12141.090000] $ 4   : 80d74ac0 00000000 816b4800 816b4812
[12141.090000] $ 8   : 00000006 80e49170 00000003 0000000c
[12141.090000] $12   : 00000001 00000000 00000000 00000000
[12141.090000] $16   : 80d73180 8178d000 80d74ac0 80dee22e
[12141.090000] $20   : 00000001 00008800 00000001 00000000
[12141.090000] $24   : 00000000 000011fb
[12141.090000] $28   : 8157e000 8157f958 00000018 80e02054
[12141.090000] Hi    : 00000000
[12141.090000] Lo    : 00001668
[12141.090000] epc   : 80e133d0 rate_control_set_rates+0x0/0xa0 [mac80211]
[12141.090000]     Not tainted
[12141.090000] ra    : 80e02054 ieee80211_tx_status+0x414/0xda4 [mac80211]
[12141.090000] Status: 1000dc03 KERNEL EXL IE
[12141.090000] Cause : 00800008
[12141.090000] BadVA : 00000048
[12141.090000] PrId  : 00019374 (MIPS 24Kc)
[12141.090000] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial ts_kmp ts_fsm ts_bm nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables compat cdc_acm act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ifb l2tp_ip l2tp_eth l2tp_netlink l2tp_core ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[12141.090000] Process kworker/u2:3 (pid: 20210, threadinfo=8157e000, task=8175c430, tls=00000000)
[12141.090000] Stack : 80fae380 801e2ffc 8157fa10 00000001 80d73180 28090628 09ff0000 8157f974
          8157f974 00000000 00000000 81882124 00000000 00008800 8178d3a8 00000001
          00000535 00000001 8157f9d8 80d75440 80d75e94 80d75440 81882010 00100100
          00200200 00000006 00000018 80ee767c 00000000 00000000 80d75ef4 80e59628
          8157f9d8 8157f9d8 00000000 00100100 00200200 80d75ef4 80e59628 80eea5b8
          ...
[12141.090000] Call Trace:
[12141.090000] [<80e133d0>] rate_control_set_rates+0x0/0xa0 [mac80211]
[12141.090000] [<80e02054>] ieee80211_tx_status+0x414/0xda4 [mac80211]
[12141.090000] [<80ee767c>] ath_txq_unlock_complete+0xa4/0xbc [ath9k]
[12141.090000] [<80eea5b8>] ath_tx_edma_tasklet+0x258/0x298 [ath9k]
[12141.090000] [<80ee3cf8>] ath9k_tasklet+0x1d4/0x230 [ath9k]
[12141.090000] [<80249f6c>] tasklet_action+0x84/0xcc
[12141.090000] [<8008bdf0>] __do_softirq+0xd0/0x1bc
[12141.090000] [<80118948>] do_softirq+0x48/0x68
[12141.090000] [<80176440>] irq_exit+0x54/0x70
[12141.090000] [<80060830>] ret_from_irq+0x0/0x4
[12141.090000] [<800648a0>] __bzero+0x64/0x164
[12141.090000] [<80e439ec>] minstrel_remove_sta_debugfs+0xee8/0x16d0 [mac80211]
[12141.090000]
[12141.090000]
Code: 8fb00014  08019c2e  27bd0020 <8ca40048> 10800009  aca60048  27bdffe8  afbf0014  0c038b92
[12141.400000] ---[ end trace 07e7fefe2f84a36d ]---
[12141.400000] Kernel panic - not syncing: Fatal exception in interrupt
[12141.400000] Rebooting in 3 seconds..

U-Boot 1.1.4 (Aug 17 2012 - 15:21:03)

AP121 (ar9330) U-boot
procd: - init complete -
[10196.450000] CPU 0 Unable to handle kernel paging request at virtual address 00000048, epc == 80e133d0, ra == 80e02054
[10196.460000] Oops[#1]:
[10196.460000] CPU: 0 PID: 15736 Comm: kworker/u2:2 Not tainted 3.10.49 #1
[10196.460000] Workqueue: phy0 ieee80211_ibss_leave [mac80211]
[10196.460000] task: 80fa65b0 ti: 81732000 task.ti: 81732000
[10196.460000] $ 0   : 00000000 00000000 ffffffff 00000012
[10196.460000] $ 4   : 80db4ac0 00000000 80fd4400 80fd4412
[10196.460000] $ 8   : 00000006 80e49170 00000003 0000000c
[10196.460000] $12   : 00000001 00000000 00000000 00000000
[10196.460000] $16   : 80c503b8 80bcf000 80db4ac0 817668da
[10196.460000] $20   : 00000001 00008800 00000001 00000000
[10196.460000] $24   : 00000000 000011fb
[10196.460000] $28   : 81732000 81733958 00000018 80e02054
[10196.460000] Hi    : 00000000
[10196.460000] Lo    : 00001668
[10196.460000] epc   : 80e133d0 rate_control_set_rates+0x0/0xa0 [mac80211]
[10196.460000]     Not tainted
[10196.460000] ra    : 80e02054 ieee80211_tx_status+0x414/0xda4 [mac80211]
[10196.460000] Status: 1000dc03 KERNEL EXL IE
[10196.460000] Cause : 00800008
[10196.460000] BadVA : 00000048
[10196.460000] PrId  : 00019374 (MIPS 24Kc)
[10196.460000] Modules linked in: ath9k ath9k_common iptable_nat ath9k_hw ath nf_nat_ipv4 nf_conntrack_ipv4 mac80211 ipt_MASQUERADE cfg80211 xt_time xt_tcpudp xt_tcpmss xt_string xt_statistic xt_state xt_recent xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_id xt_hl xt_helper xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial ts_kmp ts_fsm ts_bm nf_nat_irc nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp iptable_raw iptable_mangle iptable_filter ipt_REJECT ipt_ECN ip_tables compat cdc_acm act_connmark act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw sch_hfsc sch_ingress ledtrig_usbdev ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ifb l2tp_ip l2tp_eth l2tp_netlink l2tp_core ipv6 arc4 crypto_blkcipher ehci_platform ehci_hcd gpio_button_hotplug usbcore nls_base usb_common
[10196.460000] Process kworker/u2:2 (pid: 15736, threadinfo=81732000, task=80fa65b0, tls=00000000)
[10196.460000] Stack : 00000000 819394d0 81733a10 00000001 80c503b8 28090728 09ff0000 81733974
          81733974 00000000 00000000 81882124 00000000 00008800 80bcf3a8 00000001
          000006c3 00000001 817339d8 80db5440 80db5e94 80db5440 81882010 00100100
          00200200 00000006 00000018 80ee767c 00000000 00000000 80db5ed4 80e59120
          817339d8 817339d8 00000000 00100100 00200200 80db5ed4 80e59120 80eea5b8
          ...
[10196.460000] Call Trace:
[10196.460000] [<80e133d0>] rate_control_set_rates+0x0/0xa0 [mac80211]
[10196.460000] [<80e02054>] ieee80211_tx_status+0x414/0xda4 [mac80211]
[10196.460000] [<80ee767c>] ath_txq_unlock_complete+0xa4/0xbc [ath9k]
[10196.460000] [<80eea5b8>] ath_tx_edma_tasklet+0x258/0x298 [ath9k]
[10196.460000] [<80ee3cf8>] ath9k_tasklet+0x1d4/0x230 [ath9k]
[10196.460000] [<80249f6c>] tasklet_action+0x84/0xcc
[10196.460000] [<8008bdf0>] __do_softirq+0xd0/0x1bc
[10196.460000] [<80118948>] do_softirq+0x48/0x68
[10196.460000] [<80176440>] irq_exit+0x54/0x70
[10196.460000] [<80060830>] ret_from_irq+0x0/0x4
[10196.460000] [<800648a8>] __bzero+0x6c/0x164
[10196.460000] [<80e439ec>] minstrel_remove_sta_debugfs+0xee8/0x16d0 [mac80211]
[10196.460000]
[10196.460000]
Code: 8fb00014  08019c2e  27bd0020 <8ca40048> 10800009  aca60048  27bdffe8  afbf0014  0c038b92
[10196.770000] ---[ end trace 524d1a69d6d7dc78 ]---
[10196.770000] Kernel panic - not syncing: Fatal exception in interrupt
[10196.770000] Rebooting in 3 seconds..

U-Boot 1.1.4 (Aug 17 2012 - 15:21:03)

AP121 (ar9330) U-boot

Attachments (0)

Change History (6)

comment:1 Changed 3 years ago by jernej@…

CCing.

comment:2 Changed 3 years ago by Hans Willi

can confirm this problem with tplink 4300.

with my setup the problems seems to trigger more frequently in case of heavy network load.

comment:3 Changed 3 years ago by nbd

please test if this happens on trunk as well.

comment:4 Changed 3 years ago by anonymous

I'll test trunk for 4300 later this month. Need to make other stuff first.

comment:5 Changed 3 years ago by anonymous

same problem documented here: /ticket/18388.html

comment:6 Changed 3 years ago by jow

  • Resolution set to duplicate
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.