Hi,

I am getting the same issue with the USB to CAN interface in my Beaglebone 
green Wireless. Did you figure out what is causing this issue?


On Sunday, 18 December 2016 15:10:54 UTC+1, Kasun Hewage wrote:
>
> Hi,
>
> I am trying to get a NetGear WNA1100 (based on AR9271) USB adapter 
> attached to BBB connected to WiFi access point. I can get it connected 
> successfully via connmanctl. 
> However, BBB freezes shortly after the connection is made. When I unplug 
> the WNA1100 adapter, BBB things get back to normal. The same happens when I 
> try with a TL-WN722N (based on AR9271) adapter.
> Note that this doesn't happen when I use a AWUS036NH (based on RT3070) 
> adapter. Looks like the problem is with ath9k driver being stuck in a 
> loop due to some reason.
>
> Has anyone experienced the same problem?
>
> Here are the configurations I am using on BBB:
>
> Debian 8.6 2016-12-09 4GB SD IoT image on BBB.
>
> uname -a 
> Linux beaglebone 4.4.36-ti-r72 #1 SMP Wed Dec 7 22:29:53 UTC 2016 armv7l 
> GNU/Linux
>
> lsusb
> Bus 001 Device 007: ID 0846:9030 NetGear, Inc. WNA1100 Wireless-N 150 
> [Atheros AR9271]  
>
> lsmod (I am including only the relevant details to make this post short)
>
> ath9k_htc              62687  0 
> ath9k_common           29906  1 ath9k_htc
> ath9k_hw              452958  2 ath9k_common,ath9k_htc
> ath                    23009  3 ath9k_common,ath9k_htc,ath9k_hw
> mac80211              626207  1 ath9k_htc
> cfg80211              531670  4 ath,ath9k_common,mac80211,ath9k_htc
> rfkill                 21386  3 cfg80211
>
> dmesg (I am including only the relevant details to make this post short)
>
> [  195.426274] usb 1-1.2: new high-speed USB device number 6 using 
> musb-hdrc
> [  195.530690] usb 1-1.2: New USB device found, idVendor=0846, 
> idProduct=9030
> [  195.530715] usb 1-1.2: New USB device strings: Mfr=16, Product=32, 
> SerialNumber=48
> [  195.530727] usb 1-1.2: Product: WNA1100
> [  195.530738] usb 1-1.2: Manufacturer: NETGEAR WNA
> [  195.530748] usb 1-1.2: SerialNumber: 12345
> [  195.877792] usb 1-1.2: ath9k_htc: Firmware ath9k_htc/htc_9271-1.4.0.fw 
> requested
> [  195.886470] usbcore: registered new interface driver ath9k_htc
> [  196.167948] usb 1-1.2: ath9k_htc: Transferred FW: 
> ath9k_htc/htc_9271-1.4.0.fw, size: 51008
> [  196.423796] ath9k_htc 1-1.2:1.0: ath9k_htc: HTC initialized with 33 
> credits
> [  196.723050] ath9k_htc 1-1.2:1.0: ath9k_htc: FW Version: 1.4
> [  196.723085] ath9k_htc 1-1.2:1.0: FW RMW support: On
> [  196.723100] ath: EEPROM regdomain: 0x60
> [  196.723109] ath: EEPROM indicates we should expect a direct regpair map
> [  196.723130] ath: Country alpha2 being used: 00
> [  196.723138] ath: Regpair used: 0x60
> [  196.879267] ieee80211 phy0: Atheros AR9271 Rev:1
> [  197.062446] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
> [  198.188169] wlan0: authenticate with 30:85:a9:6a:1a:5c
> [  198.342781] wlan0: send auth to 30:85:a9:6a:1a:5c (try 1/3)
> [  198.351258] wlan0: authenticated
> [  198.358372] wlan0: associate with 30:85:a9:6a:1a:5c (try 1/3)
> [  198.363329] wlan0: RX AssocResp from 30:85:a9:6a:1a:5c (capab=0x411 
> status=0 aid=2)
> [  198.376174] wlan0: associated
> [  198.376281] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
> [  248.631017] INFO: rcu_sched self-detected stall on CPU
> [  248.637364] 0-...: (5250 ticks this GP) idle=915/140000000000002/0 
> softirq=0/0 fqs=0 
> [  248.645728] (t=5250 jiffies g=17320 c=17319 q=1583)
> [  248.651507] rcu_sched kthread starved for 5250 jiffies! g17320 c17319 
> f0x0 s3 ->state=0x1
> [  248.660063] Task dump for CPU 0:
> [  248.660324] kworker/0:0     R running      0     4      2 0x00000002
> [  248.661155] Workqueue: events dbs_timer
> [  248.661996] [<c001acb8>] (unwind_backtrace) from [<c0015a14>] 
> (show_stack+0x20/0x24)
> [  248.662556] [<c0015a14>] (show_stack) from [<c0074a10>] 
> (sched_show_task+0xb8/0x110)
> [  248.663099] [<c0074a10>] (sched_show_task) from [<c007720c>] 
> (dump_cpu_task+0x48/0x4c)
> [  248.663771] [<c007720c>] (dump_cpu_task) from [<c00b1c68>] 
> (rcu_dump_cpu_stacks+0x9c/0xd8)
> [  248.664364] [<c00b1c68>] (rcu_dump_cpu_stacks) from [<c00b5d54>] 
> (rcu_check_callbacks+0x5c8/0x910)
> [  248.664960] [<c00b5d54>] (rcu_check_callbacks) from [<c00bc08c>] 
> (update_process_times+0x4c/0x74)
> [  248.665503] [<c00bc08c>] (update_process_times) from [<c00cf4b4>] 
> (tick_sched_handle+0x64/0x70)
> [  248.666001] [<c00cf4b4>] (tick_sched_handle) from [<c00cf518>] 
> (tick_sched_timer+0x58/0x9c)
> [  248.666531] [<c00cf518>] (tick_sched_timer) from [<c00bcd18>] 
> (__hrtimer_run_queues+0x1b4/0x3a8)
> [  248.667100] [<c00bcd18>] (__hrtimer_run_queues) from [<c00bd7b8>] 
> (hrtimer_interrupt+0xd4/0x230)
> [  248.667689] [<c00bd7b8>] (hrtimer_interrupt) from [<c002b8c4>] 
> (omap2_gp_timer_interrupt+0x38/0x40)
> [  248.668336] [<c002b8c4>] (omap2_gp_timer_interrupt) from [<c00a6c98>] 
> (handle_irq_event_percpu+0xa0/0x2a0)
> [  248.668926] [<c00a6c98>] (handle_irq_event_percpu) from [<c00a6eec>] 
> (handle_irq_event+0x54/0x78)
> [  248.669463] [<c00a6eec>] (handle_irq_event) from [<c00aa714>] 
> (handle_level_irq+0xb0/0x148)
> [  248.669988] [<c00aa714>] (handle_level_irq) from [<c00a6234>] 
> (generic_handle_irq+0x34/0x44)
> [  248.670553] [<c00a6234>] (generic_handle_irq) from [<c00a6540>] 
> (__handle_domain_irq+0x6c/0xc4)
> [  248.671104] [<c00a6540>] (__handle_domain_irq) from [<c00094dc>] 
> (omap_intc_handle_irq+0x44/0xa0)
> [  248.671684] [<c00094dc>] (omap_intc_handle_irq) from [<c0a57d54>] 
> (__irq_svc+0x54/0x70)
> [  248.671990] Exception stack(0xdc14b698 to 0xdc14b6e0)
> [  248.672362] b680:                                                       
> db399540 dc8ba624
> [  248.672883] b6a0: db5cb000 00000000 db399540 c0f95a88 c1051740 db5cb000 
> 000000bc d41431c0
> [  248.673389] b6c0: db5cb05c dc14b72c dc14b730 dc14b6e8 c0952504 c09528f8 
> 60000113 ffffffff
> [  248.673960] [<c0a57d54>] (__irq_svc) from [<c09528f8>] 
> (ip_local_deliver+0x50/0x108)
> [  248.674481] [<c09528f8>] (ip_local_deliver) from [<c0952504>] 
> (ip_rcv_finish+0x17c/0x3e8)
> [  248.674967] [<c0952504>] (ip_rcv_finish) from [<c0952d8c>] 
> (ip_rcv+0x3dc/0x4bc)
> [  248.675582] [<c0952d8c>] (ip_rcv) from [<c090caa4>] 
> (__netif_receive_skb_core+0x328/0xb64)
> [  248.676153] [<c090caa4>] (__netif_receive_skb_core) from [<c090f418>] 
> (__netif_receive_skb+0x38/0x94)
> [  248.676672] [<c090f418>] (__netif_receive_skb) from [<c090f4c8>] 
> (netif_receive_skb_internal+0x54/0xd4)
> [  248.677176] [<c090f4c8>] (netif_receive_skb_internal) from [<c090f57c>] 
> (netif_receive_skb+0x34/0xa4)
> [  248.686167] [<c090f57c>] (netif_receive_skb) from [<bf2ac994>] 
> (ieee80211_deliver_skb+0x154/0x1a8 [mac80211])
> [  248.699533] [<bf2ac994>] (ieee80211_deliver_skb [mac80211]) from 
> [<bf2ae770>] (ieee80211_rx_handlers+0xf10/0x2718 [mac80211])
> [  248.711685] [<bf2ae770>] (ieee80211_rx_handlers [mac80211]) from 
> [<bf2b0138>] (ieee80211_prepare_and_rx_handle+0x1c0/0xa68 [mac80211])
> [  248.723740] [<bf2b0138>] (ieee80211_prepare_and_rx_handle [mac80211]) 
> from [<bf2b11b0>] (ieee80211_rx_napi+0x7d0/0x858 [mac80211])
> [  248.731044] [<bf2b11b0>] (ieee80211_rx_napi [mac80211]) from 
> [<bf3eb98c>] (ath9k_rx_tasklet+0x3ac/0x418 [ath9k_htc])
> [  248.732586] [<bf3eb98c>] (ath9k_rx_tasklet [ath9k_htc]) from 
> [<c004828c>] (__tasklet_action+0x70/0x138)
> [  248.733153] [<c004828c>] (__tasklet_action) from [<c00483ec>] 
> (tasklet_action+0x4c/0x50)
> [  248.733688] [<c00483ec>] (tasklet_action) from [<c004853c>] 
> (__do_softirq+0xec/0x37c)
> [  248.734214] [<c004853c>] (__do_softirq) from [<c0048f60>] 
> (irq_exit+0xc4/0x12c)
> [  248.734805] [<c0048f60>] (irq_exit) from [<c00a6544>] 
> (__handle_domain_irq+0x70/0xc4)
> [  248.735371] [<c00a6544>] (__handle_domain_irq) from [<c00094dc>] 
> (omap_intc_handle_irq+0x44/0xa0)
> [  248.735938] [<c00094dc>] (omap_intc_handle_irq) from [<c0a57d54>] 
> (__irq_svc+0x54/0x70)
> [  248.736236] Exception stack(0xdc14bbd0 to 0xdc14bc18)
> [  248.736642] bbc0:                                     00000000 0000007f 
> fff80100 00000100
> [  248.737149] bbe0: dc039b80 0007ff7f 00000064 c1151b14 dc039c00 00000003 
> 00000000 dc14bc44
> [  248.737598] bc00: dc14bc20 dc14bc20 c08cf450 c08cf490 60000113 ffffffff
> [  248.738261] [<c0a57d54>] (__irq_svc) from [<c08cf490>] 
> (omap3_noncore_dpll_program+0x8c/0x308)
> [  248.738896] [<c08cf490>] (omap3_noncore_dpll_program) from [<c08cfa60>] 
> (omap3_noncore_dpll_set_rate+0x8c/0x268)
> [  248.739463] [<c08cfa60>] (omap3_noncore_dpll_set_rate) from 
> [<c08c7a40>] (clk_change_rate+0xe8/0x3dc)
> [  248.739975] [<c08c7a40>] (clk_change_rate) from [<c08c831c>] 
> (clk_core_set_rate_nolock+0x78/0xf8)
> [  248.740484] [<c08c831c>] (clk_core_set_rate_nolock) from [<c08c83cc>] 
> (clk_set_rate+0x30/0x48)
> [  248.741005] [<c08c83cc>] (clk_set_rate) from [<c06fa1b8>] 
> (dev_pm_opp_domain_set_rate+0x108/0x2ec)
> [  248.741653] [<c06fa1b8>] (dev_pm_opp_domain_set_rate) from [<c06f85f0>] 
> (dev_pm_opp_set_rate+0x38/0x5c)
> [  248.742260] [<c06f85f0>] (dev_pm_opp_set_rate) from [<c08703a0>] 
> (set_target+0x3c/0x40)
> [  248.742902] [<c08703a0>] (set_target) from [<c0869320>] 
> (__cpufreq_driver_target+0x2a4/0x41c)
> [  248.743450] [<c0869320>] (__cpufreq_driver_target) from [<c086d7cc>] 
> (od_check_cpu+0xcc/0xd0)
> [  248.743965] [<c086d7cc>] (od_check_cpu) from [<c086f72c>] 
> (dbs_check_cpu+0x1cc/0x228)
> [  248.744476] [<c086f72c>] (dbs_check_cpu) from [<c086da40>] 
> (od_dbs_timer+0x68/0xf8)
> [  248.744972] [<c086da40>] (od_dbs_timer) from [<c086fb00>] 
> (dbs_timer+0x1ac/0x1d0)
> [  248.745487] [<c086fb00>] (dbs_timer) from [<c005ea74>] 
> (process_one_work+0x158/0x460)
> [  248.745983] [<c005ea74>] (process_one_work) from [<c005edd0>] 
> (worker_thread+0x54/0x4f8)
> [  248.746518] [<c005edd0>] (worker_thread) from [<c0064de8>] 
> (kthread+0xfc/0x114)
> [  248.747108] [<c0064de8>] (kthread) from [<c0010f20>] 
> (ret_from_fork+0x14/0x34)
> [  252.982782] usb 1-1.2: USB disconnect, device number 6
> [  253.258660] wlan0: deauthenticating from 30:85:a9:6a:1a:5c by local 
> choice (Reason: 3=DEAUTH_LEAVING)
> [  253.274301] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x541718dc 
> AR_DIAG_SW=0x541718dc DMADBG_7=0x541718dc
> [  253.301898] ath: phy0: Failed to wakeup in 500us
> [  253.408402] ath: phy0: RX failed to go idle in 10 ms RXSM=0x30d358db
> [  253.425058] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x3c1718dc 
> AR_DIAG_SW=0x3c1718dc DMADBG_7=0x3c1718dc
> [  253.448062] ath: phy0: Failed to wakeup in 500us
> [  253.555628] ath: phy0: RX failed to go idle in 10 ms RXSM=0x30d358db
> [  253.572306] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x341a18dc 
> AR_DIAG_SW=0x341a18dc DMADBG_7=0x341a18dc
> [  253.593974] ath: phy0: Failed to wakeup in 500us
> [  253.611384] ath: phy0: DMA failed to stop in 10 ms AR_CR=0x3c1a18dc 
> AR_DIAG_SW=0x3c1a18dc DMADBG_7=0x3c1a18dc
> [  253.661201] usb 1-1.2: ath9k_htc: USB layer deinitialized
> [  253.753726] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
>
>
>
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7e5e0e7e-172a-4540-995b-ebc96fb26608%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to