Hi,
I have some trouble with usb stick on jetson nano and I’d like to get some help.
Configuration:
Jetson nano production module
Jetpack 4.6 (L4T 32.6.1)
More often than not, we get the following problem at startup:
The usb stick cannot be mounted, and our data cannot be saved.
This is even more problematic as the jetson are not on site and changing usb stick can be complicated.
This is the messages we get
$dmesg | grep usb
[ 0.000000] Kernel command line: tegraid=21.1.2.0.0 ddr_die=4096M@2048M section=512M memtype=0 vpr_resize usb_port_owner_info=0 lane_owner_info=0 emc_max_dvfs=0 touch_id=0@63 video=tegrafb no_console_suspend=1 console=ttyS0,115200n8 debug_uartport=lsport,4 earlyprintk=uart8250-32bit,0x70006000 maxcpus=4 usbcore.old_scheme_first=1 lp0_vec=0x1000@0xff780000 core_edp_mv=1075 core_edp_ma=4000 gpt earlycon=uart8250,mmio32,0x70006000 root=/dev/mmcblk0p1 rw rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 quiet root=/dev/mmcblk0p1 ro rootwait rootfstype=ext4 console=ttyS0,115200n8 console=tty0 fbcon=map:0 net.ifnames=0 sdhci_tegra.en_boot_part_access=1 usbcore.autosuspend=-1
[ 0.435182] iommu: Adding device 70090000.xusb to group 2
[ 0.507023] vdd-usb-vbus: 5000 mV
[ 0.507261] vdd-usb-vbus: supplied by vdd-5v0-sys
[ 0.507620] vdd-usb-vbus2: 5000 mV
[ 0.554398] usbcore: registered new interface driver usbfs
[ 0.554450] usbcore: registered new interface driver hub
[ 0.554491] usbcore: registered new device driver usb
[ 0.621163] vdd-usb-vbus2: supplied by vdd-3v3-sys
[ 0.623081] vdd-usb-hub-en: 5000 mV
[ 0.623407] vdd-usb-hub-en: supplied by vdd-1v8-sys
[ 1.033078] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_SKU_CALIB_0 = 0x71c7c0e
[ 1.033086] tegra-xusb-padctl 7009f000.xusb_padctl: TEGRA_FUSE_USB_CALIB_EXT_0 = 0x4
[ 1.034728] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.0, lane = usb2-0, function = xusb
[ 1.034837] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.1, lane = usb2-1, function = xusb
[ 1.034929] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-usb2.2, lane = usb2-2, function = xusb
[ 1.035120] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.3, lane = pcie-0, function = pcie-x1
[ 1.035206] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.4, lane = pcie-1, function = pcie-x4
[ 1.035297] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.5, lane = pcie-2, function = pcie-x4
[ 1.035383] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.6, lane = pcie-3, function = pcie-x4
[ 1.035473] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.7, lane = pcie-4, function = pcie-x4
[ 1.035560] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.8, lane = pcie-5, function = xusb
[ 1.035651] tegra-xusb-padctl 7009f000.xusb_padctl: dev = phy-pcie.9, lane = pcie-6, function = xusb
[ 1.654041] usbcore: registered new interface driver r8152
[ 1.654083] usbcore: registered new interface driver asix
[ 1.654121] usbcore: registered new interface driver ax88179_178a
[ 1.654156] usbcore: registered new interface driver cdc_ether
[ 1.654188] usbcore: registered new interface driver net1080
[ 1.654220] usbcore: registered new interface driver cdc_subset
[ 1.654252] usbcore: registered new interface driver zaurus
[ 1.654298] usbcore: registered new interface driver cdc_ncm
[ 1.660812] tegra-xusb 70090000.xusb: USB2 port 0 has OTG_CAP
[ 1.661373] tegra-xusb-padctl 7009f000.xusb_padctl: enabled OTG on UTMI pad 0
[ 1.662425] tegra-xusb 70090000.xusb: extcon 0: ffffffc0fa5d2c00 id
[ 1.662498] tegra-xusb 70090000.xusb: Direct firmware load for tegra21x_xusb_firmware failed with error -2
[ 1.662503] tegra-xusb 70090000.xusb: Falling back to user helper
[ 1.663644] usbcore: registered new interface driver uas
[ 1.663690] usbcore: registered new interface driver usb-storage
[ 1.663766] usbcore: registered new interface driver usbserial
[ 1.667881] usbcore: registered new interface driver xpad
[ 1.904390] usbcore: registered new interface driver usbhid
[ 1.904393] usbhid: USB HID core driver
[ 1.909350] usbcore: registered new interface driver snd-usb-audio
[ 2.352127] tegra-xusb 70090000.xusb: cannot find firmware....retry after 1 second
[ 3.383816] tegra-xusb 70090000.xusb: Firmware timestamp: 2020-07-31 09:33:12 UTC, Version: 50.26 release
[ 3.383849] tegra-xusb 70090000.xusb: xHCI Host Controller
[ 3.383867] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 1
[ 3.384554] tegra-xusb 70090000.xusb: hcc params 0x0184f525 hci version 0x100 quirks 0x00050010
[ 3.384588] tegra-xusb 70090000.xusb: irq 61, io mem 0x70090000
[ 3.384710] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 3.384715] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.384719] usb usb1: Product: xHCI Host Controller
[ 3.384722] usb usb1: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[ 3.384725] usb usb1: SerialNumber: 70090000.xusb
[ 3.385465] tegra-xusb 70090000.xusb: xHCI Host Controller
[ 3.385474] tegra-xusb 70090000.xusb: new USB bus registered, assigned bus number 2
[ 3.385536] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 3.385604] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003
[ 3.385608] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 3.385611] usb usb2: Product: xHCI Host Controller
[ 3.385614] usb usb2: Manufacturer: Linux 4.9.253-tegra xhci-hcd
[ 3.385617] usb usb2: SerialNumber: 70090000.xusb
[ 3.386448] tegra-xusb 70090000.xusb: Upgrade port 0 to USB3.0
[ 3.386454] tegra-xusb 70090000.xusb: Upgrade port 1 to USB3.0
[ 3.486781] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 1
[ 3.486880] tegra-xusb-padctl 7009f000.xusb_padctl: power on UTMI pads 2
[ 3.710727] usb 1-2: new high-speed USB device number 2 using tegra-xusb
[ 3.733591] usb 1-2: New USB device found, idVendor=2109, idProduct=2817
[ 3.733597] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.733601] usb 1-2: Product: USB2.0 Hub
[ 3.733604] usb 1-2: Manufacturer: VIA Labs, Inc.
[ 3.857815] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[ 3.877025] usb 2-1: New USB device found, idVendor=2109, idProduct=0817
[ 3.877032] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.877035] usb 2-1: Product: USB3.0 Hub
[ 3.877039] usb 2-1: Manufacturer: VIA Labs, Inc.
[ 3.994713] usb 1-3: new full-speed USB device number 3 using tegra-xusb
[ 4.016687] usb 1-3: New USB device found, idVendor=8087, idProduct=0029
[ 4.016694] usb 1-3: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 4.450709] usb 1-2.2: new full-speed USB device number 4 using tegra-xusb
[ 4.475653] usb 1-2.2: New USB device found, idVendor=1546, idProduct=01a9
[ 4.475660] usb 1-2.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4.475664] usb 1-2.2: Product: u-blox GNSS receiver
[ 4.475668] usb 1-2.2: Manufacturer: u-blox AG - www.u-blox.com
[ 4.566989] usb 2-1.1: Device not responding to setup address.
[ 4.790972] usb 2-1.1: Device not responding to setup address.
[ 5.002726] usb 2-1.1: device not accepting address 3, error -71
[ 5.346983] usb 2-1.1: Device not responding to setup address.
[ 5.570995] usb 2-1.1: Device not responding to setup address.
[ 5.663292] usb0: HOST MAC ea:4f:23:d8:a6:d2
[ 5.663322] usb0: MAC ea:4f:23:d8:a6:d3
[ 5.731973] l4tbr0: port 2(usb0) entered blocking state
[ 5.731977] l4tbr0: port 2(usb0) entered disabled state
[ 5.732984] device usb0 entered promiscuous mode
[ 5.778734] usb 2-1.1: device not accepting address 4, error -71
[ 5.784985] usb 2-1-port1: attempt power cycle
[ 5.791200] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 6.991004] usb 2-1.1: Device not responding to setup address.
[ 7.214979] usb 2-1.1: Device not responding to setup address.
[ 7.426772] usb 2-1.1: device not accepting address 5, error -71
[ 7.774970] usb 2-1.1: Device not responding to setup address.
[ 7.998993] usb 2-1.1: Device not responding to setup address.
[ 8.210727] usb 2-1.1: device not accepting address 6, error -71
[ 8.217019] usb 2-1-port1: unable to enumerate USB device
[ 8.314992] usb 2-1.4: Device not responding to setup address.
[ 8.534962] usb 2-1.4: Device not responding to setup address.
[ 8.746726] usb 2-1.4: device not accepting address 7, error -71
[ 9.095087] usb 2-1.4: Device not responding to setup address.
[ 9.318977] usb 2-1.4: Device not responding to setup address.
[ 9.530722] usb 2-1.4: device not accepting address 8, error -71
[ 9.536978] usb 2-1-port4: attempt power cycle
[ 10.734974] usb 2-1.4: Device not responding to setup address.
[ 10.958970] usb 2-1.4: Device not responding to setup address.
[ 11.170716] usb 2-1.4: device not accepting address 9, error -71
[ 11.519073] usb 2-1.4: Device not responding to setup address.
[ 11.742933] usb 2-1.4: Device not responding to setup address.
[ 11.954722] usb 2-1.4: device not accepting address 10, error -71
[ 11.961147] usb 2-1-port4: unable to enumerate USB device
[ 12.025255] usbcore: registered new interface driver btusb
[ 12.064570] usbcore: registered new interface driver cdc_acm
[ 33.906910] vdd-usb-vbus: disabling
[ 33.906913] vdd-usb-vbus2: disabling
[ 33.907007] vdd-usb-hub-en: disabling
The problem seems to appear randomly, on multiple jetson with different usb stick. (SanDisk and samsung)
On the same Jetson, it can be working a day but not the following.
I also couldn’t find the meaning of the “-71” error number.
I tried the following things found here and there on internet, and it didn’t work so far, including
*set use_both_schemes=y
*set usbcore.autosuspend=-1
I hope you will be able to help me,
I stay available for any further information.
Thank you in advance for your help.
Leo.