[OpenWrt-Devel] OpenWrt hangs on USB radio unplug

Gioacchino Mazzurco gio at eigenlab.org
Sun Aug 10 12:39:31 EDT 2014


Hi!

I my device hungs when an usb radio is plugged, I have serial console so I 
investigated a little, it seems that just the networking parts hungs and on 
dmesg appear something that seems interesting, i know that ath9k_htc is pretty 
unstable, but if there is someone interested in fix it here it goes the dmesg 
output:

1.2: USB disconnect, device number 3
[   69.130000] ath: phy2: Unable to reset channel (2462 Mhz) reset status -5
[   69.140000] ath: phy2: Unable to set channel
[   69.250000] ath: phy2: RX failed to go idle in 10 ��[   69.360000] br-lan: 
port 4(wlan2_ap) entered disabled state
�^E^@^A^P�[   69.380000] device wlan2_ap left promiscuous mode
[   69.380000] br-lan: port 4(wlan2_ap) entered disabled state
[   69.410000] CPU 0 Unable to handle kernel paging request at virtual address 
00100104, epc == 87212f98, ra == 87212f90
[   69.420000] Oops[#1]:
[   69.420000] CPU: 0 PID: 287 Comm: khubd Not tainted 3.10.49 #1
[   69.420000] task: 879050c0 ti: 87afe000 task.ti: 87afe000
[   69.420000] $ 0   : 00000000 p0000000 00200200 00100100
[   69.420000] $ 4   : 87affca8 87affe70 00000001 0000001e
[   69.420000] $ 8   : 001f0041 001f0041 00000001 86f21b80
[   69.420000] $12   : 00000014 00000001 001e0041 00000001
[   69.420000] $16   : 873e7180 87affca0 00100100 873e7188
[   69.420000] $20   : 873e7180 00200200 87aee400 87acd138
[   69.420000] $24   : 802f2870 800fb780
[   69.420000] $28   : 87afe000 87affc90 00000000 87212f90
[   69.420000] Hi    : 00000010
[   69.420000] Lo    : 29288c80
[   69.420000] epc   : 87212f98 ieee80211_remove_interfaces+0x128/0x1b4 
[mac80211]
[   69.420000]     Not tainted
[   69.420000] ra    : 87212f90 ieee80211_remove_interfaces+0x120/0x1b4 
[mac80211]
[   69.420000] Status: 1100dc03 KERNEL EXL IE
[   69.420000] Cause : 0080000c
[   69.420000] BadVA : 00100104
[   69.420000] PrId  : 0001974c (MIPS 74Kc)
[   69.420000] Modules linked in: ath9k ath9k_htc ath9k_common pppoe ppp_async 
iptable_nat ath9k_hw ath pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4 
mac80211 ipt_MASQUERADE ebtable_nat ebtable_filter ebtable_broute cfg80211 
xt_time xt_tcpudp xt_state xt_nat xt_multiport xt_mark xt_mac xt_limit xt_id 
xt_conntrack xt_comment xt_TCPMSS xt_REDIRECT xt_LOG xt_CT slhc nf_nat_irc 
nf_nat_ftp nf_nat nf_defrag_ipv4 nf_conntrack_irc nf_conntrack_ftp macvlan 
iptable_raw iptable_mangle iptable_filter ipt_REJECT ip_tables ebtables 
ebt_vlan ebt_stp ebt_redirect ebt_pkttype ebt_mark_m ebt_mark ebt_limit 
ebt_among ebt_802_3 crc_ccitt compat ledtrig_usbdev batman_adv libcrc32c crc16 
ip6t_REJECT ip6table_raw ip6table_mangle ip6table_filter ip6_tables x_tables 
nf_conntrack_ipv6 nf_conntrack nf_defrag_ipv6 ip6_tunnel tunnel6 tun ipv6 arc4 
crypto_blkcipher ohci_hcd ehci_platform ehci_hcd gpio_button_hotplug usbcore 
nls_base usb_common crc32c crypto_hash
[   69.420000] Process khubd (pid: 287, threadinfo=87afe000, task=879050c0, 
tls=00000000)
[   69.420000] Stack : 873e7380 87aee400 87acd820 00000000 87affca0 87affca0 
00100100 00200200
          00000000 873e6ac0 871b3c00 873e6ac0 87aee400 87acd820 00000000 
87200fac
          00000000 873e7440 871b3c00 873e6ac0 873e7440 872e8f58 00000001 
801bd150
          00000000 870bc900 870bc900 87aee468 00000001 872e0bbc 87acd820 
00000005
          8794256c 80085b74 00000000 87affd1c 87affd1c 80244134 87acd820 
87aee400
          ...
[   69.420000] Call Trace:
[   69.420000] [<87212f98>] ieee80211_remove_interfaces+0x128/0x1b4 [mac80211]
[   69.420000] [<87200fac>] ieee80211_unregister_hw+0x3c/0xe4 [mac80211]
[   69.420000] [<872e8f58>] ath9k_htc_disconnect_device+0x5c/0xc4 [ath9k_htc]
[   69.420000] [<872e0bbc>] ath9k_htc_hw_deinit+0x260/0x1d54 [ath9k_htc]
[   69.420000]
[   69.420000]
Code: 27a40018  8fa2001c  8fa30018 <ac620004> ac430000  8fb00010  3c030010  
3c020020  24630100
[   69.680000] ---[ end trace f27fa60a0f936140 ]---
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list