Discussion:
[Bug 255780] USB timeout
b***@freebsd.org
2021-05-11 08:30:34 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

Bug ID: 255780
Summary: USB timeout
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: usb
Assignee: ***@FreeBSD.org
Reporter: ***@gmail.com
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-11 08:32:13 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

--- Comment #1 from Konrad Jopek <***@gmail.com> ---
When using BladeRF 2.0 A9 I noticed this issue:

[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:123]
_bladerf2_initialize: dev->backend->get_fpga_version(dev,
&board_data->fpga_version) failed: Operation timed out
[ERROR @ host/libraries/libbladeRF/src/board/bladerf2/bladerf2.c:2186]
bladerf2_load_fpga: _bladerf2_initialize(dev) failed: Operation timed out

Here are the stats for USB device:
ugen4.2: <Nuand bladeRF 2.0> at usbus4, cfg=0 md=HOST spd=SUPER (5.0Gbps)
pwr=ON (200mA)
{
UE_CONTROL_OK : 518
UE_ISOCHRONOUS_OK : 0
UE_BULK_OK : 2574
UE_INTERRUPT_OK : 0
UE_CONTROL_FAIL : 0
UE_ISOCHRONOUS_FAIL : 0
UE_BULK_FAIL : 26
UE_INTERRUPT_FAIL : 0
}


Not sure what happens, this may be a problem at USB 3.0 stack. However, looks
like at some point bulk transfers are failing.

Please let me know if you need more debug data.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-11 08:32:29 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

Konrad Jopek <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|USB timeout |USB timeout when using
| |BladeRF 2.0 A9
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-11 14:13:57 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

Hans Petter Selasky <***@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@FreeBSD.org

--- Comment #2 from Hans Petter Selasky <***@FreeBSD.org> ---
Hi,

usbdump -i usbusX -f Y -s65536 -vvv

might sched more light into this.

Can be started before you plug the device. X.Y are numbers after ugen.

--HPS
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-13 22:12:19 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

--- Comment #3 from Konrad Jopek <***@gmail.com> ---
Created attachment 224916
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=224916&action=edit
usbdump for bladerf 2.0 A9

Requested usbdump log.
--
You are receiving this mail because:
You are the assignee for the bug.
b***@freebsd.org
2021-05-17 09:50:15 UTC
Permalink
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255780

--- Comment #4 from Konrad Jopek <***@gmail.com> ---
Do you any further debug information?
--
You are receiving this mail because:
You are the assignee for the bug.
Loading...