Hi Nvidia forums!
I have a NVME to USB 3.1 adapter. It does not work with the latest jetpack.
It shows up in lsusb as:
Bus 002 Device 003: ID 152d:0583 JMicron Technology Corp. / JMicron USA Technology Corp.
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
but it does not show up in lsblk.
Here is the dmesg output:
[ 105.951646] tegra-xusb 3530000.xhci: exiting ELPG
[ 105.962287] tegra-xusb 3530000.xhci: Firmware timestamp: 2019-07-08 19:32:42 UTC, Version: 55.15 release
[ 105.964141] tegra-xusb 3530000.xhci: exiting ELPG done
[ 106.199247] usb 2-1: new SuperSpeed USB device number 2 using tegra-xusb
[ 106.222633] usb 2-1: New USB device found, idVendor=152d, idProduct=0583
[ 106.222693] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 106.222720] usb 2-1: Product: USB 3.1 Storage Device
[ 106.222739] usb 2-1: Manufacturer: JMicron
[ 106.222755] usb 2-1: SerialNumber: 0123456789ABD51C
[ 106.277687] scsi host2: uas
[ 106.278644] scsi 2:0:0:0: Direct-Access Samsung SSD 970 EVO 3103 PQ: 0 ANSI: 6
[ 106.326027] tegra-asoc: sound: ASoC: CPU DAI ADMAIF1 not registered
[ 106.332321] tegra-asoc: sound: snd_soc_register_card failed (-517)
[ 114.355857] tegra-asoc: sound: ASoC: CPU DAI ADMAIF1 not registered
[ 114.362215] tegra-asoc: sound: snd_soc_register_card failed (-517)
[ 116.324298] sd 2:0:0:0: [sda] Spinning up disk…
[ 119.338177] .
[ 126.378135] .
[ 133.418151] .
[ 164.950287] sd 2:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
[ 164.950395] sd 2:0:0:0: tag#0 CDB: opcode=0x0 00 00 00 00 00 00
[ 164.950706] scsi host2: uas_eh_bus_reset_handler start
[ 165.079924] usb 2-1: reset SuperSpeed USB device number 2 using tegra-xusb
[ 165.128999] scsi host2: uas_eh_bus_reset_handler success
[ 175.178380] sd 2:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
[ 175.178489] sd 2:0:0:0: tag#0 CDB: opcode=0x0 00 00 00 00 00 00
[ 175.178552] scsi host2: uas_eh_bus_reset_handler start
[ 175.311839] usb 2-1: reset SuperSpeed USB device number 2 using tegra-xusb
[ 175.361039] scsi host2: uas_eh_bus_reset_handler success
[ 175.361183] sd 2:0:0:0: Device offlined - not ready after error recovery
[ 175.361589] ready
[ 175.361870] sd 2:0:0:0: rejecting I/O to offline device
[ 175.368241] sd 2:0:0:0: rejecting I/O to offline device
[ 175.374013] sd 2:0:0:0: rejecting I/O to offline device
[ 175.379851] sd 2:0:0:0: [sda] Read Capacity(16) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 175.379890] sd 2:0:0:0: [sda] Sense not available.
[ 175.386443] sd 2:0:0:0: rejecting I/O to offline device
[ 175.393167] sd 2:0:0:0: rejecting I/O to offline device
[ 175.399356] sd 2:0:0:0: rejecting I/O to offline device
[ 175.405092] sd 2:0:0:0: [sda] Read Capacity(10) failed: Result: hostbyte=0x01 driverbyte=0x00
[ 175.405131] sd 2:0:0:0: [sda] Sense not available.
[ 175.410281] sd 2:0:0:0: rejecting I/O to offline device
[ 175.415943] sd 2:0:0:0: rejecting I/O to offline device
[ 175.421552] sd 2:0:0:0: rejecting I/O to offline device
[ 175.427422] sd 2:0:0:0: [sda] Write Protect is off
[ 175.432385] sd 2:0:0:0: [sda] Mode Sense: 00 00 00 00
[ 175.432500] sd 2:0:0:0: rejecting I/O to offline device
[ 175.438284] sd 2:0:0:0: [sda] Asking for cache data failed
[ 175.443893] sd 2:0:0:0: [sda] Assuming drive cache: write through
[ 175.450024] sd 2:0:0:0: rejecting I/O to offline device
[ 175.455281] sd 2:0:0:0: rejecting I/O to offline device
[ 175.460522] sd 2:0:0:0: rejecting I/O to offline device
[ 175.466074] sd 2:0:0:0: [sda] Attached SCSI disk
Dmesg outputs stops here, check lsblk after shows no device mounted on /dev/sda
System:
uname -r
4.9.140-tegra
Anecdotally, I’ve also tried this on jetpack 3.3 latest. It did not work on the USB 3.0 port but it did on the USB 2.0 port. On that machine it was using the usb-driver not uas. USB 2.0 will not ‘work’ for me as the write speeds are too slow. This works out of the box on my standard 16.04 and 18.04 machines (laptops). My jetsons are on an auvidea j120 carrier.
I believe I’m missing some driver or dtb that will enable this functionality. Can you tell me if this usage is supported and how to fix it?
Thanks,
Alex