Hello, I’m using a Jeston Nano as a home media server. I’m on Jetpack 4.2.2 [L4T 32.2.1]
and I have an externally powered USB 3.0 hard driver (Seagate Expansion 8TB Desktop External Hard Drive USB 3.0 (STEB8000100)) attached to the system.
Most of the time the system works just fine, but I get multiple USB resets in my dmesg
logs and when the system is under heavy io load the driver eventually goes offline and become unavailable after an USB reset.
It first I thought this might be a problem with the driver, so I mounted it to my computer running Manjaro
and I never saw any message popping on dmesg
even when running fio
stress tests. So this lead me to think that this could be a problem with how it’s being handled by the Jetson Nano. Any one has any suggestion of how can I solve this?
Some extra information that could be useful in identifying the problem:
$ uname -a
Linux jetson.local 4.9.140-tegra #1 SMP PREEMPT Sat Oct 19 15:54:06 PDT 2019 aarch64 aarch64 aarch64 GNU/Linux
and
$ cat /sys/kernel/debug/usb/devices
T: Bus=02 Lev=02 Prnt=02 Port=01 Cnt=01 Dev#= 4 Spd=5000 MxCh= 0
D: Ver= 3.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 9 #Cfgs= 1
P: Vendor=0bc2 ProdID=3322 Rev= 1.00
S: Manufacturer=Seagate
S: Product=Expansion Desk
S: SerialNumber=REDACTED
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA
I: If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=uas
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
I:* If#= 0 Alt= 1 #EPs= 4 Cls=08(stor.) Sub=06 Prot=62 Driver=uas
E: Ad=81(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=02(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=83(I) Atr=02(Bulk) MxPS=1024 Ivl=0ms
E: Ad=04(O) Atr=02(Bulk) MxPS=1024 Ivl=0ms
And finally the dmesg
log from last boot is attached and here is an extract with the reset message:
[ 5599.868555] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 5599.868641] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x88 88 00 00 00 00 01 aa d2 93 d8 00 00 01 00 00 00
[ 5599.960794] usb 2-1.2: reset SuperSpeed USB device number 4 using tegra-xusb
[ 5689.882249] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 5689.882265] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x88 88 00 00 00 00 00 3c 31 78 20 00 00 01 00 00 00
[ 5689.972737] usb 2-1.2: reset SuperSpeed USB device number 4 using tegra-xusb
[39873.198530] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
[39873.198538] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x8a 8a 00 00 00 00 00 5a ab 00 58 00 00 00 08 00 00
[39874.179378] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD IN
[39874.179467] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x88 88 00 00 00 00 00 30 8f 13 d0 00 00 01 00 00 00
[39874.186392] sd 0:0:0:0: [sda] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
[39874.186421] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x8a 8a 00 00 00 00 00 03 eb 00 80 00 00 00 08 00 00
[39874.271540] usb 2-1.2: reset SuperSpeed USB device number 4 using tegra-xusb
[39923.246063] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[39923.246092] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x88 88 00 00 00 00 00 62 6c 40 d0 00 00 00 08 00 00
[39923.724420] usb 2-1.2: reset SuperSpeed USB device number 4 using tegra-xusb
dmesg.log (69.9 KB)