Jetson Nano USB 2.0 and USB 3.0 Not work sometimes

Hello,

There are one USB 2.0 port and four USB 3.0 ports. but they are stop working sometimes. Plugging doesn’t work either. The log is as attached.log.txt (92.9 KB)

Aug 22 15:46:29 lenssp-desktop kernel: [ 16.242582] tegra-xusb 70090000.xusb: xHCI host not responding to stop endpoint command.
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.250667] tegra-xusb 70090000.xusb: Assuming host is dying, halting host.
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.294419] tegra-xusb 70090000.xusb: Host not halted after 16000 microseconds.
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.301733] tegra-xusb 70090000.xusb: Non-responsive xHCI host is not halting.
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.308941] tegra-xusb 70090000.xusb: Completing active URBs anyway.
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.315378] tegra-xusb 70090000.xusb: HC died; cleaning up
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.320879] tegra-xusb 70090000.xusb: hcd_reinit is disabled or in progress
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.320961] usb 2-1.2: device descriptor read/8, error -110
Aug 22 15:46:29 lenssp-desktop kernel: [ 16.729782] tegra_soctherm 700e2000.soctherm: soctherm: trip temperature -2147483647 forced to -127000
Aug 22 15:46:30 lenssp-desktop kernel: [ 17.671842] tegra-xusb 70090000.xusb: controller firmware hang
Aug 22 15:46:30 lenssp-desktop kernel: [ 17.677675] tegra-xusb 70090000.xusb: hcd_reinit is disabled or in progress
Aug 22 15:46:47 lenssp-desktop kernel: [ 34.453472] tegra-xusb 70090000.xusb: Stopped the command ring failed, maybe the host is dead
Aug 22 15:46:47 lenssp-desktop kernel: [ 34.498214] tegra-xusb 70090000.xusb: Host not halted after 16000 microseconds.
Aug 22 15:46:47 lenssp-desktop kernel: [ 34.505506] tegra-xusb 70090000.xusb: Abort command ring failed

Do you know what’s wrong with this ?
Thanks and Regards.

Hi,

Does this issue only happen to this MV-CE050-30UC device?

Also, are you using nv devkit or custom carrier board?

We are using custom carrier, it don’t matter with camera,
This problem is accidental. All USB ports can not be used after boot sometimes.

Do you need to plug device to see this error happens?

The devices are online, and then powered on the system, this error will occur.
No plug and pull action.

I am now testing whether this problem will occur without a USB2.0 mouse.
Then, test if this problem occurs without a USB3.0 camera.

This issue is hard to occur which only USB2.0 or USB3.0 devices.

I want to try disable USB power management, but i cannot find the grub file.

Edit the /etc/default/grub file and change the GRUB_CMDLINE_LINUX_DEFAULT line to add the ‘usbcore.autosuspend=-1’ option GRUB_CMDLINE_LINUX_DEFAULT=“quiet splash usbcore.autosuspend=-1”

No grub file in our system. Kindly please let me know where is grub file in nano system.
Thank you very much.

Hi,

Nano does not use grub. Please add the kernel parameters to /boot/extlinux/extlinux.conf.

This error log looks familiar with another old thread on TX2.

This may only happen to specific devices.

Hello, Wayne.

I have a question, why P3449 carrier board only support one USB 3.0 port ?

I have tested on the P3449 carrier board with two USB3.0 cameras, it has the same issue. I have read the NVIDIA Jetson Linux Developer Guide carefully. it is mentioned that only support one USB3.0, but i don’t why.

Is it up to UPHY ability or devicetree’s configuration ?
If i want to support two USB 3.0 ports with one RTS5411 hub, What changes need to be made?

thank you very much

Hello,

I test it only one USB3.0 camera, it is the same. the controller firmware hang.

Aug 24 14:21:27 lenssp-desktop kernel: [ 6.213386] Extcon AUX1(HDMI) enable
Aug 24 14:21:27 lenssp-desktop kernel: [ 6.219538] tegradc tegradc.0: unblank
Aug 24 14:21:27 lenssp-desktop kernel: [ 6.219549] tegradc tegradc.1: blank - powerdown
Aug 24 14:21:28 lenssp-desktop kernel: [ 7.363041] ip6_tables: © 2000-2006 Netfilter Core Team
Aug 24 14:21:28 lenssp-desktop kernel: [ 7.785977] fuse init (API version 7.26)
Aug 24 14:21:35 lenssp-desktop kernel: [ 14.106158] tegra-xusb 70090000.xusb: controller firmware hang
Aug 24 14:21:35 lenssp-desktop kernel: [ 14.111992] tegra-xusb 70090000.xusb: hcd_reinit is disabled or in progress
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.125787] INFO: rcu_preempt detected stalls on CPUs/tasks:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.131666] 3-…: (0 ticks this GP) idle=2d3/140000000000000/0 softirq=8830/8830 fqs=2611
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.140194] (detected by 0, t=5252 jiffies, g=712, c=711, q=17881)
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.146602] Task dump for CPU 3:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.146635] kworker/3:0 R running task 0 30 2 0x00000002
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.146837] Workqueue: events xhci_handle_command_timeout
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.146888] Call trace:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.146958] [] __switch_to+0x9c/0xc0
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.147006] [] 0xffffffc0f509c29c
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.497818] INFO: rcu_sched detected stalls on CPUs/tasks:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.503504] 3-…: (1 GPs behind) idle=2d3/140000000000000/0 softirq=8743/8830 fqs=2609
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.511763] (detected by 0, t=5252 jiffies, g=328, c=327, q=141)
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.517988] Task dump for CPU 3:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.518019] kworker/3:0 R running task 0 30 2 0x00000002
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.518212] Workqueue: events xhci_handle_command_timeout
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.518261] Call trace:
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.518331] [] __switch_to+0x9c/0xc0
Aug 24 14:21:53 lenssp-desktop kernel: [ 32.518376] [] 0xffffffc0f509c29c
Aug 24 14:21:57 lenssp-desktop kernel: [ 36.261790] Watchdog detected hard LOCKUP on cpu 2

It has been one month later after your last post. Please help elaborate your problem again.

Did you try what we suggest in previous thread?

I have a question, why P3449 carrier board only support one USB 3.0 port ?

There is no reason behind this. It is just hardware design. The 4 USB ports are sharing one USB3.0 port with a usb hub.