USB Errors: tegra-xusb 3610000.xhci: failed to load firmware: -5

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
other

Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other


After rebooting several Drive AGX Orin devices, I am seeing the following intermittent errors.

  1. No output at all from lsusb, despite having USB devices connected:
user@tegra-ubuntu:~$ lsusb
user@tegra-ubuntu:~$ 
  1. Errors in dmesg stating that firmware failed to load.
    The main error is:
[    2.103511] tegra-xusb 3610000.xhci: failed to load firmware: -5

Longer set of messages from dmesg:

user@tegra-ubuntu:~$ sudo dmesg | grep firmware
[sudo] password for user: 
[    0.000000] psci: PSCIv1.0 detected in firmware.
[    0.281029] tegra-bpmp bpmp: firmware: bc32b19598089cb9211a-a42a49f89ac
[    1.239881] tegra186-cam-rtcpu bc00000.rtcpu: firmware version cpu=rce cmd=6 sha1=a8296e531d36821f74e02cb2c549df9bd18e1ed5
[    2.103511] tegra-xusb 3610000.xhci: failed to load firmware: -5
[    4.880166] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2

This renders USB unusable on the Drive AGX.

Any tips to resolve?

Things I’ve Tried

Unplugging Attached Devices & Re-attaching

This has no effect.

Rebooting

Re-booting has helped resolve on one occasion, but it does not help 100% of the time.

user@tegra-ubuntu:~$ lsusb
user@tegra-ubuntu:~$ sudo reboot now
~$ ssh user@$IP
user@$IP's password: 
Welcome to Ubuntu 20.04.5 LTS (GNU/Linux 5.10.120-rt70-tegra aarch64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.
Last login: Thu Feb  9 08:03:19 2023 from $IP
user@tegra-ubuntu:~$ lsusb
user@tegra-ubuntu:~$ 

Re-Flashing

I am able to successfully flash (and re-flash) devices with the command:

$ sdkmanager --cli install --product DRIVE --version 6.0.6 --targetos Linux --target DRIVE_AGX_ORIN_DEVKITS --host --flash all

Re-flashing seems to resolve the problem with 100% certainty so far. But continually re-flashing devices is not a viable path forward.

Some more output from dmesg:

user@tegra-ubuntu:~$ sudo dmesg | grep usb
[    0.061314] usbcore: registered new interface driver usbfs
[    0.061324] usbcore: registered new interface driver hub
[    0.061332] usbcore: registered new device driver usb
[    0.277727] usbcore: registered new interface driver r8152
[    0.277736] usbcore: registered new interface driver asix
[    0.277745] usbcore: registered new interface driver ax88179_178a
[    0.277752] usbcore: registered new interface driver cdc_ether
[    0.277757] usbcore: registered new interface driver net1080
[    0.277763] usbcore: registered new interface driver cdc_subset
[    0.277769] usbcore: registered new interface driver zaurus
[    0.277782] usbcore: registered new interface driver cdc_ncm
[    0.277788] usbcore: registered new interface driver aqc111
[    0.278121] tegra-xusb 3610000.xhci: Adding to iommu group 1
[    0.278485] usbcore: registered new interface driver uas
[    0.278495] usbcore: registered new interface driver usb-storage
[    0.279419] usbcore: registered new interface driver xpad
[    1.168131] usbcore: registered new interface driver usbhid
[    1.168134] usbhid: USB HID core driver
[    1.266614] usbcore: registered new interface driver snd-usb-audio
[    1.306302] tegra-xusb-padctl 3520000.xusb_padctl: failed to setup XUSB ports: -517
[    2.101029] tegra-xusb 3610000.xhci: XHCI Controller not ready. Falcon state: 0xffffffff
[    2.101032] tegra-xusb 3610000.xhci: failed to load firmware: -5
[    2.103172] tegra-xusb: probe of 3610000.xhci failed with error -5
[    2.108633] tegra-xusb-padctl 3520000.xusb_padctl: 00000288 poll timeout > 0451e85e
[    2.108636] tegra-xusb-padctl 3520000.xusb_padctl: failed to poll USB2 trk completed: -110
[    3.315771] usbcore: registered new interface driver rndis_host
[   33.759086] usb2-vbus: disabling

If it was caused by rebooting, could you try power cycling the system to see if it resolves the problem?

Thanks. I have tried both:

  1. Restarting with: $ sudo reboot now
  2. Actually unplugging the device

Neither solved the issue, nor seems to have made any difference in this case.

Is there anything else that might be worth trying?

Or maybe something I could run to collect further data?

You need to power cycle the system instead of executing the ‘reboot’ command. Please refer to CLI reboot and poweroff commands do not work.

Thanks, I did the following:

$ sudo su
$ echo 1 >
/sys/class/tegra_hv_pm_ctl/tegra_hv_pm_ctl/device/trigger_
sys_reboot

After reboot, the USB Devices were visible again. Thank you.

Is there any way to generally prevent this from re-occurring, or is this workaround the best path forward?

This is still a known issue on 6.0.6. Thanks.

Please try with DRIVE OS 6.0.8.1 release.
See NVIDIA DRIVE OS 6.0.8.1 is Now Available - DRIVE AGX Orin / DRIVE AGX Orin General - NVIDIA Developer Forums

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.