tomerf
February 1, 2021, 4:33pm
1
USB3 traffic of few hundreds of MBs on the TX devkit (also reproduced on Connectech carier boards) for 0.5-3 hours causes USB crash - reboot needed to restart USB.
logs (/var/log/syslog) imply that it is a USB controller issue:
tegra-xusb 3530000.xhci: controller firmware hang
…
…
usb 1-3: USB disconnect, device number 3
…
steps to reproduce:
Setup:
connect USB hub to Jetson TX2 Devkit (for example: Transcend TS-HUB3K)
connect 3 (Basler daA1280-54uc) cameras to USB hub
start new Jetson TX2 devkit (new ubuntu 18.04 - Nvidia factory settings)
install pylon 5.2.13457
available at https://www.baslerweb.com/fp-1551786460/media/downloads/software/pylon_software/pylon_5.2.0.13457-deb0_arm64.deb
Reproduce
Boot Jetson
Open pylon viewer
Start BW manager analysis after setting fps to 20 or higher
Wait for crash (20mins - 3 hours)
related discussions:
Hey doksmf,
Were you able to figure out what was going on?? I’m running into the same issue running into the same issue. Please see the relevant section of the kernel log.
Feb 11 08:42:34 tegra-ubuntu kernel: [ 886.221089] 509-17000000.gp10b, pid 1165, refs: 2:
Feb 11 08:42:34 tegra-ubuntu kernel: [ 886.225933] channel status: in use idle not busy
Feb 11 08:42:34 tegra-ubuntu kernel: [ 886.230969] RAMFC : TOP: 0000000000000000 PUT: 0000000000000000 GET: 0000000000000000 FETCH: 00000000000…
we have a customed TX2 carry board with four USB3.0 ports.
one port connected to TX2 PEX_RFU_*X
one port connected to TX2 USB_SS0_*X
other two ports connected to TUSB8041A USB HUB which connected to TX2 USB_SS1_*X
The BSP is L4T R28.1.
when connected all fours USB3.0 industry camera and streaming with aravis(Projects/Aravis - GNOME Wiki! ).
After about 30mins to several hours the USB HOST will crash and streaming stop.
Follow are the message when USB host crash.
ar 30 18:57:19 tegra-ubunt…
1 Like
This reminds me another thread.
Hi daniell,
Could you add below patch? Please change the device ID for your own drive.
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index 8b9866b..68ad850 100644
--- a/drivers/usb/host/xhci-tegra.c
+++ b/drivers/usb/host/xhci-tegra.c
@@ -235,6 +235,8 @@ static struct usb_device_id max_burst_quirk_list[] = {
{ USB_DEVICE_SS(0x0bc2, 0xab26) },
/* Seagate Expansion Portable Drive 1TB */
{ USB_DEVICE_SS(0x0bc2, 0x231a) },
+ /* JMicron TEY…
Please do similar thing to add your device into the quirk list and see if it can prevent the hang. This is due to the usb hub may not follow the spec.