All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
@ 2016-07-24 14:51 lkcl .
  2016-07-24 15:01 ` lkcl .
  0 siblings, 1 reply; 11+ messages in thread
From: lkcl . @ 2016-07-24 14:51 UTC (permalink / raw)
  To: ath9k-devel

hi folks, we're running a crowdfunding campaign live at the moment on
crowdsupply so it is a little more prominent than usual debugging
issues: ath9k_htc has the "unable to allocate urbs" issue which has
cropped up a number of times in the past, since 2013 and even 2010.

i'm plugging in a powered USB3 Hub into the OTG port (set up as a USB
Host).  the OTG port is USB2.  (i don't yet have access to a powered
USB2-only hub)


this is what i get:

[  146.752856] usb 5-1.4: new high-speed USB device number 7 using musb-hdrc
[  146.931295] usb 5-1.4: ath9k_htc: Firmware ath9k_htc/htc_7010-1.4.0.fw reques
ted
[  146.938943] usbcore: registered new interface driver ath9k_htc
[  147.051422] usb 5-1.4: ath9k_htc: Transferred FW: ath9k_htc/htc_7010-1.4.0.fw
, size: 72812
[  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
[  147.066080] usb 5-1.4: ath9k_htc: USB layer deinitialized
[  153.176102] usb 5-1.4: USB disconnect, device number 7

now, here's the really strange thing: this issue does *NOT* occur if
the ath9k_htc 9271 dongle is plugged in as the very first device (but
we get additional problems)  here's the sequences that i've tried so
far:

* plug in TP-Link 9271 dongle: works fine
* plug in Logitech dual-endpoint (hybrid usb-hid keyboard and usb-hid trackpad):
  keyboard works, TRACKPAD DOES NOT
* unplug either device and re-plug them back in, result is:

[  804.942464] usb 5-1: new high-speed USB device number 58 using musb-hdrc
[  805.482464] usb 5-1: new high-speed USB device number 59 using musb-hdrc
[  806.022463] usb 5-1: new high-speed USB device number 60 using musb-hdrc
[  806.602464] usb 5-1: new high-speed USB device number 61 using musb-hdrc
[  807.182479] usb 5-1: new high-speed USB device number 62 using musb-hdrc

if the hub is then unplugged it is no longer recognised.  plugging in
any usb device directly into the usb port is also no longer
recognised.


second sequence attempted:

* plug in Logitech dual-endpoint device: works fine
* plug in TP-Link 9271 dongle: Unable to allocate URBs
* unplug both devices, plug something (anything) back in: new
high-speed number 58 59 60 61 62 .... one every second

third sequence attempted:

* plug in Logitech dual-endpoint device: works fine
* plug in ASIX88xxx USB-ETH dongle: works fine
* plug in *SECOND* ASIX88xx USB-ETH dongle: works fine
* plug in TP-Link 9271: wark, wark


in essence, then, it would seem as if the TP-Link 9271 is
destabilising the usb bus infrastructure.

any additional information needed, please do let me know.

l.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 14:51 [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue lkcl .
@ 2016-07-24 15:01 ` lkcl .
  2016-07-24 15:14   ` lkcl .
  2016-07-24 16:16   ` Oleksij Rempel
  0 siblings, 2 replies; 11+ messages in thread
From: lkcl . @ 2016-07-24 15:01 UTC (permalink / raw)
  To: ath9k-devel

oo that's interesting..  i had to unplug the ath9k_htc because these
kept streaming up-screen, here's the setup:

* plug in USB3 powered hub into OTG port (set up as USB2 Host)
* plug in USB2 *unpowered* hub into 1 of USB3 powered hub ports
* plug in two ASIX88xx dongles into USB3 powered hub ports
* plug in ath9k_htc tp-link 9271 dongle into *USB2 unpowered* hub port
* unplug 9271 to stop messages going mad



[   75.803214] ------------[ cut here ]------------
[   75.807858] WARNING: CPU: 1 PID: 59 at drivers/usb/core/urb.c:449 usb_submit_
urb+0x1c4/0x49c
[   75.816339] usb 5-1.4.2: BOGUS urb xfer, pipe 1 != type 3
[   75.821739] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath
[   75.828019] CPU: 1 PID: 59 Comm: kworker/1:1 Tainted: G        W       4.7.0-
rc7-dirty #25
[   75.836270] Hardware name: Allwinner sun7i (A20) Family
[   75.841495] Workqueue: events request_firmware_work_func
[   75.846829] [<c010d818>] (unwind_backtrace) from [<c010a690>] (show_stack+0x1
0/0x14)
[   75.854571] [<c010a690>] (show_stack) from [<c0359324>] (dump_stack+0x80/0xa0
)
[   75.861794] [<c0359324>] (dump_stack) from [<c011aa50>] (__warn+0xd4/0x100)
[   75.868754] [<c011aa50>] (__warn) from [<c011ab24>] (warn_slowpath_fmt+0x38/0
x48)
[   75.876234] [<c011ab24>] (warn_slowpath_fmt) from [<c04a80c4>] (usb_submit_ur
b+0x1c4/0x49c)
[   75.884611] [<c04a80c4>] (usb_submit_urb) from [<bf07ba24>] (hif_usb_send+0x1
58/0x30c [ath9k_htc])
[   75.893586] [<bf07ba24>] (hif_usb_send [ath9k_htc]) from [<bf07a058>] (htc_is
sue_send.constprop.0+0x58/0x5c [ath9k_htc])
[   75.904468] [<bf07a058>] (htc_issue_send.constprop.0 [ath9k_htc]) from [<bf07
cb58>] (ath9k_wmi_cmd+0x104/0x170 [ath9k_htc])
[   75.915610] [<bf07cb58>] (ath9k_wmi_cmd [ath9k_htc]) from [<bf081c48>] (ath9k
_regread+0x3c/0x54 [ath9k_htc])
[   75.925493] [<bf081c48>] (ath9k_regread [ath9k_htc]) from [<bf00da6c>] (ath9k
_hw_setpower+0xb4/0x444 [ath9k_hw])
[   75.935710] [<bf00da6c>] (ath9k_hw_setpower [ath9k_hw]) from [<bf00f114>] (at
h9k_hw_init+0x3bc/0xb60 [ath9k_hw])
[   75.945913] [<bf00f114>] (ath9k_hw_init [ath9k_hw]) from [<bf0822e0>] (ath9k_
htc_probe_device+0x2b0/0x868 [ath9k_htc])
[   75.956622] [<bf0822e0>] (ath9k_htc_probe_device [ath9k_htc]) from [<bf07a7bc
>] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc])
[   75.967591] [<bf07a7bc>] (ath9k_htc_hw_init [ath9k_htc]) from [<bf07c2bc>] (a
th9k_hif_usb_firmware_cb+0x8c/0x198 [ath9k_htc])
[   75.978895] [<bf07c2bc>] (ath9k_hif_usb_firmware_cb [ath9k_htc]) from [<c0421
748>] (request_firmware_work_func+0x30/0x58)
[   75.989845] [<c0421748>] (request_firmware_work_func) from [<c012f930>] (proc
ess_one_work+0x134/0x33c)
[   75.999143] [<c012f930>] (process_one_work) from [<c012fb9c>] (worker_thread+
0x2c/0x4e8)
[   76.007227] [<c012fb9c>] (worker_thread) from [<c0134dac>] (kthread+0xd8/0xf4
)
[   76.014448] [<c0134dac>] (kthread) from [<c0107778>] (ret_from_fork+0x14/0x3c
)
[   76.021792] ---[ end trace 8813a228050623a2 ]---
[   76.027545] ------------[ cut here ]------------
[   76.032236] WARNING: CPU: 1 PID: 59 at drivers/usb/core/urb.c:449 usb_submit_
urb+0x1c4/0x49c
[   76.040838] usb 5-1.4.2: BOGUS urb xfer, pipe 1 != type 3
[   76.046367] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath
[   76.052647] CPU: 1 PID: 59 Comm: kworker/1:1 Tainted: G        W       4.7.0-
rc7-dirty #25
[   76.060908] Hardware name: Allwinner sun7i (A20) Family
[   76.066151] Workqueue: events request_firmware_work_func
[   76.071497] [<c010d818>] (unwind_backtrace) from [<c010a690>] (show_stack+0x1
0/0x14)
[   76.079245] [<c010a690>] (show_stack) from [<c0359324>] (dump_stack+0x80/0xa0
)
[   76.086468] [<c0359324>] (dump_stack) from [<c011aa50>] (__warn+0xd4/0x100)
[   76.093427] [<c011aa50>] (__warn) from [<c011ab24>] (warn_slowpath_fmt+0x38/0
x48)
[   76.100914] [<c011ab24>] (warn_slowpath_fmt) from [<c04a80c4>] (usb_submit_ur
b+0x1c4/0x49c)
[   76.109300] [<c04a80c4>] (usb_submit_urb) from [<bf07ba24>] (hif_usb_send+0x1
58/0x30c [ath9k_htc])
[   76.118278] [<bf07ba24>] (hif_usb_send [ath9k_htc]) from [<bf07a058>] (htc_is
sue_send.constprop.0+0x58/0x5c [ath9k_htc])
[   76.129161] [<bf07a058>] (htc_issue_send.constprop.0 [ath9k_htc]) from [<bf07
cb58>] (ath9k_wmi_cmd+0x104/0x170 [ath9k_htc])
[   76.140304] [<bf07cb58>] (ath9k_wmi_cmd [ath9k_htc]) from [<bf081f4c>] (ath9k
_reg_rmw+0x70/0x154 [ath9k_htc])
[   76.150297] [<bf081f4c>] (ath9k_reg_rmw [ath9k_htc]) from [<bf00daac>] (ath9k
_hw_setpower+0xf4/0x444 [ath9k_hw])
[   76.160514] [<bf00daac>] (ath9k_hw_setpower [ath9k_hw]) from [<bf00f114>] (at
h9k_hw_init+0x3bc/0xb60 [ath9k_hw])
[   76.170720] [<bf00f114>] (ath9k_hw_init [ath9k_hw]) from [<bf0822e0>] (ath9k_
htc_probe_device+0x2b0/0x868 [ath9k_htc])
[   76.181430] [<bf0822e0>] (ath9k_htc_probe_device [ath9k_htc]) from [<bf07a7bc
>] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc])
[   76.192399] [<bf07a7bc>] (ath9k_htc_hw_init [ath9k_htc]) from [<bf07c2bc>] (a
th9k_hif_usb_firmware_cb+0x8c/0x198 [ath9k_htc])
[   76.203704] [<bf07c2bc>] (ath9k_hif_usb_firmware_cb [ath9k_htc]) from [<c0421
748>] (request_firmware_work_func+0x30/0x58)
[   76.214653] [<c0421748>] (request_firmware_work_func) from [<c012f930>] (proc
ess_one_work+0x134/0x33c)
[   76.223951] [<c012f930>] (process_one_work) from [<c012fb9c>] (worker_thread+
0x2c/0x4e8)
[   76.232036] [<c012fb9c>] (worker_thread) from [<c0134dac>] (kthread+0xd8/0xf4
)
[   76.239256] [<c0134dac>] (kthread) from [<c0107778>] (ret_from_fork+0x14/0x3c
)
[   76.246552] ---[ end trace 8813a228050623a3 ]---

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 15:01 ` lkcl .
@ 2016-07-24 15:14   ` lkcl .
  2016-07-24 16:16   ` Oleksij Rempel
  1 sibling, 0 replies; 11+ messages in thread
From: lkcl . @ 2016-07-24 15:14 UTC (permalink / raw)
  To: ath9k-devel

On Sun, Jul 24, 2016 at 4:01 PM, lkcl . <luke.leighton@gmail.com> wrote:
> oo that's interesting..  i had to unplug the ath9k_htc because these
> kept streaming up-screen, here's the setup:

 same massive set of continuous streaming of BOGUS urb if:

 * USB2 unpowered hub is plugged into OTG Host
 * USB3 powered hub is plugged into USB2 hub
 * 9271 dongle (no other devices) is plugged into USB3 host

hmmm i suspect the unpowered Genesys Logic USB2 hub more than
anything, but the continuous list of messages isn't helping... :)

l.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 15:01 ` lkcl .
  2016-07-24 15:14   ` lkcl .
@ 2016-07-24 16:16   ` Oleksij Rempel
  2016-07-24 18:24     ` lkcl .
  1 sibling, 1 reply; 11+ messages in thread
From: Oleksij Rempel @ 2016-07-24 16:16 UTC (permalink / raw)
  To: ath9k-devel

In case of:
[  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
you are out of bandwidth limit of you usb root hub.

Any research in this direction are welcome.

In case of:
[   75.816339] usb 5-1.4.2: BOGUS urb xfer, pipe 1 != type 3
the adapter was started in USB 1.0 mode (which is present, but never
tested - so, not supported.). Why it is in USB1 mode - no idea, but it
is already second time i have seen it.

Support for USB1 mode seems to be welcome too.


Am 24.07.2016 um 17:01 schrieb lkcl .:
> oo that's interesting..  i had to unplug the ath9k_htc because these
> kept streaming up-screen, here's the setup:
> 
> * plug in USB3 powered hub into OTG port (set up as USB2 Host)
> * plug in USB2 *unpowered* hub into 1 of USB3 powered hub ports
> * plug in two ASIX88xx dongles into USB3 powered hub ports
> * plug in ath9k_htc tp-link 9271 dongle into *USB2 unpowered* hub port
> * unplug 9271 to stop messages going mad
> 
> 
> 
> [   75.803214] ------------[ cut here ]------------
> [   75.807858] WARNING: CPU: 1 PID: 59 at drivers/usb/core/urb.c:449 usb_submit_
> urb+0x1c4/0x49c
> [   75.816339] usb 5-1.4.2: BOGUS urb xfer, pipe 1 != type 3
> [   75.821739] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath
> [   75.828019] CPU: 1 PID: 59 Comm: kworker/1:1 Tainted: G        W       4.7.0-
> rc7-dirty #25
> [   75.836270] Hardware name: Allwinner sun7i (A20) Family
> [   75.841495] Workqueue: events request_firmware_work_func
> [   75.846829] [<c010d818>] (unwind_backtrace) from [<c010a690>] (show_stack+0x1
> 0/0x14)
> [   75.854571] [<c010a690>] (show_stack) from [<c0359324>] (dump_stack+0x80/0xa0
> )
> [   75.861794] [<c0359324>] (dump_stack) from [<c011aa50>] (__warn+0xd4/0x100)
> [   75.868754] [<c011aa50>] (__warn) from [<c011ab24>] (warn_slowpath_fmt+0x38/0
> x48)
> [   75.876234] [<c011ab24>] (warn_slowpath_fmt) from [<c04a80c4>] (usb_submit_ur
> b+0x1c4/0x49c)
> [   75.884611] [<c04a80c4>] (usb_submit_urb) from [<bf07ba24>] (hif_usb_send+0x1
> 58/0x30c [ath9k_htc])
> [   75.893586] [<bf07ba24>] (hif_usb_send [ath9k_htc]) from [<bf07a058>] (htc_is
> sue_send.constprop.0+0x58/0x5c [ath9k_htc])
> [   75.904468] [<bf07a058>] (htc_issue_send.constprop.0 [ath9k_htc]) from [<bf07
> cb58>] (ath9k_wmi_cmd+0x104/0x170 [ath9k_htc])
> [   75.915610] [<bf07cb58>] (ath9k_wmi_cmd [ath9k_htc]) from [<bf081c48>] (ath9k
> _regread+0x3c/0x54 [ath9k_htc])
> [   75.925493] [<bf081c48>] (ath9k_regread [ath9k_htc]) from [<bf00da6c>] (ath9k
> _hw_setpower+0xb4/0x444 [ath9k_hw])
> [   75.935710] [<bf00da6c>] (ath9k_hw_setpower [ath9k_hw]) from [<bf00f114>] (at
> h9k_hw_init+0x3bc/0xb60 [ath9k_hw])
> [   75.945913] [<bf00f114>] (ath9k_hw_init [ath9k_hw]) from [<bf0822e0>] (ath9k_
> htc_probe_device+0x2b0/0x868 [ath9k_htc])
> [   75.956622] [<bf0822e0>] (ath9k_htc_probe_device [ath9k_htc]) from [<bf07a7bc
>> ] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc])
> [   75.967591] [<bf07a7bc>] (ath9k_htc_hw_init [ath9k_htc]) from [<bf07c2bc>] (a
> th9k_hif_usb_firmware_cb+0x8c/0x198 [ath9k_htc])
> [   75.978895] [<bf07c2bc>] (ath9k_hif_usb_firmware_cb [ath9k_htc]) from [<c0421
> 748>] (request_firmware_work_func+0x30/0x58)
> [   75.989845] [<c0421748>] (request_firmware_work_func) from [<c012f930>] (proc
> ess_one_work+0x134/0x33c)
> [   75.999143] [<c012f930>] (process_one_work) from [<c012fb9c>] (worker_thread+
> 0x2c/0x4e8)
> [   76.007227] [<c012fb9c>] (worker_thread) from [<c0134dac>] (kthread+0xd8/0xf4
> )
> [   76.014448] [<c0134dac>] (kthread) from [<c0107778>] (ret_from_fork+0x14/0x3c
> )
> [   76.021792] ---[ end trace 8813a228050623a2 ]---
> [   76.027545] ------------[ cut here ]------------
> [   76.032236] WARNING: CPU: 1 PID: 59 at drivers/usb/core/urb.c:449 usb_submit_
> urb+0x1c4/0x49c
> [   76.040838] usb 5-1.4.2: BOGUS urb xfer, pipe 1 != type 3
> [   76.046367] Modules linked in: ath9k_htc ath9k_common ath9k_hw ath
> [   76.052647] CPU: 1 PID: 59 Comm: kworker/1:1 Tainted: G        W       4.7.0-
> rc7-dirty #25
> [   76.060908] Hardware name: Allwinner sun7i (A20) Family
> [   76.066151] Workqueue: events request_firmware_work_func
> [   76.071497] [<c010d818>] (unwind_backtrace) from [<c010a690>] (show_stack+0x1
> 0/0x14)
> [   76.079245] [<c010a690>] (show_stack) from [<c0359324>] (dump_stack+0x80/0xa0
> )
> [   76.086468] [<c0359324>] (dump_stack) from [<c011aa50>] (__warn+0xd4/0x100)
> [   76.093427] [<c011aa50>] (__warn) from [<c011ab24>] (warn_slowpath_fmt+0x38/0
> x48)
> [   76.100914] [<c011ab24>] (warn_slowpath_fmt) from [<c04a80c4>] (usb_submit_ur
> b+0x1c4/0x49c)
> [   76.109300] [<c04a80c4>] (usb_submit_urb) from [<bf07ba24>] (hif_usb_send+0x1
> 58/0x30c [ath9k_htc])
> [   76.118278] [<bf07ba24>] (hif_usb_send [ath9k_htc]) from [<bf07a058>] (htc_is
> sue_send.constprop.0+0x58/0x5c [ath9k_htc])
> [   76.129161] [<bf07a058>] (htc_issue_send.constprop.0 [ath9k_htc]) from [<bf07
> cb58>] (ath9k_wmi_cmd+0x104/0x170 [ath9k_htc])
> [   76.140304] [<bf07cb58>] (ath9k_wmi_cmd [ath9k_htc]) from [<bf081f4c>] (ath9k
> _reg_rmw+0x70/0x154 [ath9k_htc])
> [   76.150297] [<bf081f4c>] (ath9k_reg_rmw [ath9k_htc]) from [<bf00daac>] (ath9k
> _hw_setpower+0xf4/0x444 [ath9k_hw])
> [   76.160514] [<bf00daac>] (ath9k_hw_setpower [ath9k_hw]) from [<bf00f114>] (at
> h9k_hw_init+0x3bc/0xb60 [ath9k_hw])
> [   76.170720] [<bf00f114>] (ath9k_hw_init [ath9k_hw]) from [<bf0822e0>] (ath9k_
> htc_probe_device+0x2b0/0x868 [ath9k_htc])
> [   76.181430] [<bf0822e0>] (ath9k_htc_probe_device [ath9k_htc]) from [<bf07a7bc
>> ] (ath9k_htc_hw_init+0x14/0x38 [ath9k_htc])
> [   76.192399] [<bf07a7bc>] (ath9k_htc_hw_init [ath9k_htc]) from [<bf07c2bc>] (a
> th9k_hif_usb_firmware_cb+0x8c/0x198 [ath9k_htc])
> [   76.203704] [<bf07c2bc>] (ath9k_hif_usb_firmware_cb [ath9k_htc]) from [<c0421
> 748>] (request_firmware_work_func+0x30/0x58)
> [   76.214653] [<c0421748>] (request_firmware_work_func) from [<c012f930>] (proc
> ess_one_work+0x134/0x33c)
> [   76.223951] [<c012f930>] (process_one_work) from [<c012fb9c>] (worker_thread+
> 0x2c/0x4e8)
> [   76.232036] [<c012fb9c>] (worker_thread) from [<c0134dac>] (kthread+0xd8/0xf4
> )
> [   76.239256] [<c0134dac>] (kthread) from [<c0107778>] (ret_from_fork+0x14/0x3c
> )
> [   76.246552] ---[ end trace 8813a228050623a3 ]---
> _______________________________________________
> ath9k-devel mailing list
> ath9k-devel at lists.ath9k.org
> https://lists.ath9k.org/mailman/listinfo/ath9k-devel
> 


-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160724/0e5a83b0/attachment.pgp 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 16:16   ` Oleksij Rempel
@ 2016-07-24 18:24     ` lkcl .
  2016-07-24 19:18       ` Oleksij Rempel
  0 siblings, 1 reply; 11+ messages in thread
From: lkcl . @ 2016-07-24 18:24 UTC (permalink / raw)
  To: ath9k-devel

On Sun, Jul 24, 2016 at 5:16 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
> In case of:
> [  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
> you are out of bandwidth limit of you usb root hub.

 *bandwidth* limit?!?!  bizarre.  but this is a USB3 hub plugged into
a USB2 port, and people plug these in directly into USB2 powered hubs
no problem with other devices (i just don't have one available right
now).

> Any research in this direction are welcome.

 alright i'll take a look around.

l.

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 18:24     ` lkcl .
@ 2016-07-24 19:18       ` Oleksij Rempel
  2016-07-24 19:38         ` lkcl .
  0 siblings, 1 reply; 11+ messages in thread
From: Oleksij Rempel @ 2016-07-24 19:18 UTC (permalink / raw)
  To: ath9k-devel

Am 24.07.2016 um 20:24 schrieb lkcl .:
> On Sun, Jul 24, 2016 at 5:16 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>> In case of:
>> [  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
>> you are out of bandwidth limit of you usb root hub.

can you please grub the output of this file in error case, and send it.
cat /sys/kernel/debug/usb/devices > devices.txt


>  *bandwidth* limit?!?!  bizarre.  but this is a USB3 hub plugged into
> a USB2 port, and people plug these in directly into USB2 powered hubs
> no problem with other devices (i just don't have one available right
> now).
> 
>> Any research in this direction are welcome.
> 
>  alright i'll take a look around.
> 
> l.
> 


-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160724/8737385e/attachment.pgp 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 19:18       ` Oleksij Rempel
@ 2016-07-24 19:38         ` lkcl .
  2016-07-24 19:40           ` Oleksij Rempel
  0 siblings, 1 reply; 11+ messages in thread
From: lkcl . @ 2016-07-24 19:38 UTC (permalink / raw)
  To: ath9k-devel

On Sun, Jul 24, 2016 at 8:18 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
> Am 24.07.2016 um 20:24 schrieb lkcl .:
>> On Sun, Jul 24, 2016 at 5:16 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>>> In case of:
>>> [  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
>>> you are out of bandwidth limit of you usb root hub.
>
> can you please grub the output of this file in error case, and send it.

 do you mean "grab"? :)

> cat /sys/kernel/debug/usb/devices > devices.txt

 what options do i enable in the kernel to get /sys/kernel/debug/usb appear?

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 19:38         ` lkcl .
@ 2016-07-24 19:40           ` Oleksij Rempel
  2016-07-24 19:58             ` lkcl .
  0 siblings, 1 reply; 11+ messages in thread
From: Oleksij Rempel @ 2016-07-24 19:40 UTC (permalink / raw)
  To: ath9k-devel

Am 24.07.2016 um 21:38 schrieb lkcl .:
> On Sun, Jul 24, 2016 at 8:18 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>> Am 24.07.2016 um 20:24 schrieb lkcl .:
>>> On Sun, Jul 24, 2016 at 5:16 PM, Oleksij Rempel <linux@rempel-privat.de> wrote:
>>>> In case of:
>>>> [  147.060165] usb 5-1.4: ath9k_htc: Unable to allocate URBs
>>>> you are out of bandwidth limit of you usb root hub.
>>
>> can you please grub the output of this file in error case, and send it.
> 
>  do you mean "grab"? :)

yea .. :)


>> cat /sys/kernel/debug/usb/devices > devices.txt
> 
>  what options do i enable in the kernel to get /sys/kernel/debug/usb appear?
> 

mount -t debugfs none /sys/kernel/debug/

-- 
Regards,
Oleksij

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: OpenPGP digital signature
Url : http://lists.ath9k.org/pipermail/ath9k-devel/attachments/20160724/97d5edc7/attachment.pgp 

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-24 19:40           ` Oleksij Rempel
@ 2016-07-24 19:58             ` lkcl .
       [not found]               ` <01d3ea7b-6fe3-a77a-1351-6a40d88f061a@rempel-privat.de>
  0 siblings, 1 reply; 11+ messages in thread
From: lkcl . @ 2016-07-24 19:58 UTC (permalink / raw)
  To: ath9k-devel

this is with the USB3 hub plugged in, logitech and TP-150 into that.

> mount -t debugfs none /sys/kernel/debug/
-------------- next part --------------

T:  Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.07
S:  Manufacturer=Linux 4.7.0-rc7-dirty ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=1c14000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.07
S:  Manufacturer=Linux 4.7.0-rc7-dirty ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=1c1c000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 4.07
S:  Manufacturer=Linux 4.7.0-rc7-dirty ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=1c14400.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=12   MxCh= 1
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 1.10 Cls=09(hub  ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0001 Rev= 4.07
S:  Manufacturer=Linux 4.7.0-rc7-dirty ohci_hcd
S:  Product=Generic Platform OHCI controller
S:  SerialNumber=1c1c400.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=255ms

T:  Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480  MxCh= 1
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=1d6b ProdID=0002 Rev= 4.07
S:  Manufacturer=Linux 4.7.0-rc7-dirty musb-hcd
S:  Product=MUSB HDRC host driver
S:  SerialNumber=musb-hdrc.1.auto
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   4 Ivl=256ms

T:  Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 4
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=02 MxPS=64 #Cfgs=  1
P:  Vendor=05e3 ProdID=0610 Rev=92.16
S:  Manufacturer=GenesysLogic
S:  Product=USB2.0 Hub
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=100mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=01 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms
I:* If#= 0 Alt= 1 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=02 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   1 Ivl=256ms

T:  Bus=05 Lev=02 Prnt=03 Port=01 Cnt=01 Dev#=  4 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=058f ProdID=6361 Rev= 1.00
S:  Manufacturer=Generic
S:  Product=Mass Storage Device
S:  SerialNumber=058F63616476
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=(none)
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms

T:  Bus=05 Lev=02 Prnt=03 Port=02 Cnt=02 Dev#=  5 Spd=12   MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=046d ProdID=c52b Rev=12.01
S:  Manufacturer=Logitech
S:  Product=USB Receiver
C:* #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr= 98mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid
E:  Ad=81(I) Atr=03(Int.) MxPS=   8 Ivl=8ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=usbhid
E:  Ad=82(I) Atr=03(Int.) MxPS=   8 Ivl=2ms
I:* If#= 2 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=00 Prot=00 Driver=usbhid
E:  Ad=83(I) Atr=03(Int.) MxPS=  32 Ivl=2ms

T:  Bus=05 Lev=02 Prnt=03 Port=03 Cnt=03 Dev#=  6 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=ff Prot=ff MxPS=64 #Cfgs=  1
P:  Vendor=0cf3 ProdID=9271 Rev= 1.08
S:  Manufacturer=ATHEROS
S:  Product=UB93
S:  SerialNumber=12345
C:  #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 6 Cls=ff(vend.) Sub=00 Prot=00 Driver=
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=83(I) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=04(O) Atr=03(Int.) MxPS=  64 Ivl=125us
E:  Ad=05(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=06(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] Fwd: Re: EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
       [not found]               ` <01d3ea7b-6fe3-a77a-1351-6a40d88f061a@rempel-privat.de>
@ 2016-07-25  5:07                 ` fixed-term.Oleksij.Rempel
  2016-07-25  5:37                   ` lkcl .
  0 siblings, 1 reply; 11+ messages in thread
From: fixed-term.Oleksij.Rempel @ 2016-07-25  5:07 UTC (permalink / raw)
  To: ath9k-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

hm... take my words back

i reviewed the code, "ath9k_htc: Unable to allocate URBs" may come if
there is not enough RAM or it is too fragmented. Some other reasons
can be too, but current code is not verbose enough to provide mode
information.

On 24.07.2016 22:47, Oleksij Rempel wrote:
> 
> 
> 
> -------- Weitergeleitete Nachricht -------- Betreff: Re:
> [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc
> "ath9k_htc: Unable to allocate URBs" issue Datum: Sun, 24 Jul 2016
> 20:58:49 +0100 Von: lkcl . <luke.leighton@gmail.com> An: Oleksij
> Rempel <linux@rempel-privat.de> Kopie (CC):
> ath9k-devel at lists.ath9k.org
> 
> this is with the USB3 hub plugged in, logitech and TP-150 into
> that.
> 
>> mount -t debugfs none /sys/kernel/debug/
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAleVnp0ACgkQHwImuRkmbWmY9wEAiSHmoQ323STlobmzZsr+S2cx
oNDqYKExy5P9nzT1hlMA/R+wkwuca7UBw6HaOww2V0GSSBDn/WakiTMwXontuun1
=xB0f
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 11+ messages in thread

* [ath9k-devel] Fwd: Re: EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue
  2016-07-25  5:07                 ` [ath9k-devel] Fwd: " fixed-term.Oleksij.Rempel
@ 2016-07-25  5:37                   ` lkcl .
  0 siblings, 0 replies; 11+ messages in thread
From: lkcl . @ 2016-07-25  5:37 UTC (permalink / raw)
  To: ath9k-devel

On Mon, Jul 25, 2016 at 6:07 AM, fixed-term.Oleksij.Rempel
<fixed-term.Oleksij.Rempel@de.bosch.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> hm... take my words back
>
> i reviewed the code, "ath9k_htc: Unable to allocate URBs" may come if
> there is not enough RAM or it is too fragmented. Some other reasons
> can be too, but current code is not verbose enough to provide mode
> information.

 eenterestiiing... and this is on a system with 1gb RAM, embedded
system, where i'd started up a full desktop environment.

 okay so i should put in a few more printk's at various points, stop
xfce4, and generally try narrowing things down a bit.

l.

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-07-25  5:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-24 14:51 [ath9k-devel] EOMA68-A20 (allwinner sunxi a20) 4.7.0-rc2 ath9k_htc "ath9k_htc: Unable to allocate URBs" issue lkcl .
2016-07-24 15:01 ` lkcl .
2016-07-24 15:14   ` lkcl .
2016-07-24 16:16   ` Oleksij Rempel
2016-07-24 18:24     ` lkcl .
2016-07-24 19:18       ` Oleksij Rempel
2016-07-24 19:38         ` lkcl .
2016-07-24 19:40           ` Oleksij Rempel
2016-07-24 19:58             ` lkcl .
     [not found]               ` <01d3ea7b-6fe3-a77a-1351-6a40d88f061a@rempel-privat.de>
2016-07-25  5:07                 ` [ath9k-devel] Fwd: " fixed-term.Oleksij.Rempel
2016-07-25  5:37                   ` lkcl .

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.