#17378: USB crash when USB WiFi dongle is used (RTL8192CU) - WDR4300
---------------------+------------------------
 Reporter:  l.baj@…  |      Owner:  developers
     Type:  defect   |     Status:  new
 Priority:  high     |  Milestone:
Component:  kernel   |    Version:  Trunk
 Keywords:           |
---------------------+------------------------
 Hi,

 I'm trying to use Edimax USB WiFi dongle (based on RTL8192CU) with TP-Link
 WDR4300 router. I have tried also two different kernels 3.10.49 and
 3.14.12. When I connect this dongle to USB and then disconnect it I see
 following crash and USB stops working. Any ideas how to fix this problem?

 [  129.650000] usb 1-1.1.1: new high-speed USB device number 5 using ehci-
 platform
 [  129.780000] rtl8192cu: Chip version 0x10
 [  129.920000] rtl8192cu: MAC address: 80:1f:02:e6:91:36
 [  129.920000] rtl8192cu: Board Type 0
 [  129.920000] rtl_usb: rx_max_size 15360, rx_urb_num 8, in_ep 1
 [  129.930000] rtl8192cu: Loading firmware rtlwifi/rtl8192cufw_TMSC.bin
 [  130.130000] ieee80211 phy2: Selected rate control algorithm 'rtl_rc'
 [  130.140000] rtlwifi: wireless switch is on
 [  143.750000] usb 1-1.1.1: USB disconnect, device number 5
 [  143.780000] CPU 0 Unable to handle kernel paging request at virtual
 address 00100104, epc == 86e93008, ra == 86e93000
 [  143.790000] Oops[#1]:
 [  143.790000] CPU: 0 PID: 292 Comm: khubd Not tainted 3.14.12 #1
 [  143.790000] task: 878ad770 ti: 87b0e000 task.ti: 87b0e000
 [  143.790000] $ 0   : 00000000 00000000 00200200 00100100
 [  143.790000] $ 4   : 87b0fce0 87b0fee0 80360000 00000009
 [  143.790000] $ 8   : 000a0040 8622b480 00000020 000a0040
 [  143.790000] $12   : 00000013 0000000e 00000007 00000001
 [  143.790000] $16   : 863311a0 87b0fcd8 00100100 863311a8
 [  143.790000] $20   : 863311a0 00200200 8634f000 87b00438
 [  143.790000] $24   : 8031ee50 800a27c4
 [  143.790000] $28   : 87b0e000 87b0fcc8 00000000 86e93000
 [  143.790000] Hi    : 000001d4
 [  143.790000] Lo    : 00000006
 [  143.790000] epc   : 86e93008 ieee80211_remove_interfaces+
 0x128/0x1b4 [mac80211]
 [  143.790000]     Not tainted
 [  143.790000] ra    : 86e93000 ieee80211_remove_interfaces+0x120/0x1b4
 [mac80211]
 [  143.790000] Status: 1100dc03 KERNEL EXL IE
 [  143.790000] Cause : 0080000c
 [  143.790000] BadVA : 00100104
 [  143.790000] PrId  : 0001974c (MIPS 74Kc)
 [  143.790000] Modules linked in: ath9k rtl8192cu ath9k_common rtl_usb
 qcserial pppoe ppp_async option iptable_nat ath9k_hw ath usb_wwan rtlwifi
 rndis_host qmi_wwan pppox ppp_generic nf_nat_ipv4 nf_conntrack_ipv4
 mac80211 ipt_MASQUERADE huawei_cdc_ncm cfg80211 cdc_ncm cdc_ether
 ax88179_178a asix xt_time xt_tcpmss xt_string xt_statistic xt_state
 xt_recent xt_quota xt_pkttype xt_owner xt_nfacct xt_nat xt_multiport
 xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_ecn xt_dscp
 xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype
 xt_TCPMSS xt_REDIRECT xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY usbserial
 usbnet ts_kmp ts_fsm ts_bm slhc rtl8192c_common nfnetlink_acct 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 ipheth
 ip_tables crc_ccitt compat cdc_wdm 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 nf_conntrack_ipv6 nf_defrag_ipv6 ifb ipv6 arc4
 crypto_blkcipher usb_storage uhci_hcd ohci_hcd ehci_platform ehci_hcd
 sd_mod scsi_mod gpio_button_hotplug usbcore nls_base usb_common mii
 crypto_hash
 [  143.790000] Process khubd (pid: 292, threadinfo=87b0e000,
 task=878ad770, tls=00000000)
 [  143.790000] Stack : 863313a0 86f6efa0 00000000 00000000 87b0fcd8
 87b0fcd8 00100100 00200200
 [  143.790000]    8634f000 86330ae0 86331460 86bce220 86f6efa0 00000000
 00000000 86e80fac
 [  143.790000]    00000004 86330ae0 86331460 86bce220 86330ae0 86e010a0
 87b0fd1c 86123798
 [  143.790000]    86bce220 8634f000 86bce220 8634f000 86bce200 87b2c580
 879ffc00 8009c92c
 [  143.790000]    87b39180 801cf05c 86bce220 86f6efa0 87b39180 879ffc00
 86bce200 801cf1ec
 [  143.790000]    ...
 [  143.790000] Call Trace:
 [  143.790000] [<86e93008>] ieee80211_remove_interfaces+0x128/0x1b4
 [mac80211]
 [  143.790000] [<86e80fac>] ieee80211_unregister_hw+0x3c/0xe4 [mac80211]
 [  143.790000] [<86e010a0>] rtl_usb_disconnect+0x4c/0xf4 [rtl_usb]
 [  143.790000] [<87b2c580>] usb_deregister+0x228/0x2ec [usbcore]
 [  143.790000] [<801cf1ec>] __device_release_driver+0x6c/0xd0
 [  143.790000] [<801cf278>] device_release_driver+0x28/0x40
 [  143.790000] [<801cec00>] bus_remove_device+0xec/0x120
 [  143.790000] [<801cc334>] device_del+0x110/0x170
 [  143.790000] [<87b2ad58>] usb_disable_device+0xb0/0x1d8 [usbcore]
 [  143.790000] [<87b22920>] usb_disconnect+0xac/0x408 [usbcore]
 [  143.790000] [<87b24a68>] usb_reset_device+0xd28/0x15c8 [usbcore]
 [  143.790000] [<80080cb4>] do_exit+0x72c/0x744
 [  143.790000]
 [  143.790000]
 [  143.790000] Code: 27a40018  8fa2001c  8fa30018 <ac620004> ac430000
 8fb00010  3c030010  3c020020  24630100
 [  144.120000] ---[ end trace 5ac30dedb278f0ff ]---

--
Ticket URL: <https://dev.openwrt.org/ticket/17378>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to