Jump to content

Odroid xu4 usb sata SSD drive random disconnect


Go to solution Solved by Igor,

Recommended Posts

Posted

Odroid XU4 / Armbian 22.02 Bullseye
USB3 sata drive gets randomly disconnected: (every 8 hours or so when constantly reading / writing)

 

[44676.709229] sd 0:0:0:0: [sda] tag#24 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[44676.709252] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x28 28 00 49 a5 1b d8 00 00 08 00
[44681.728962] xhci-hcd xhci-hcd.8.auto: xHCI host not responding to stop endpoint command.
[44681.749158] xhci-hcd xhci-hcd.8.auto: xHCI host controller not responding, assume dead
[44681.749210] usb 4-1.2: cmd cmplt err -108
[44681.749509] xhci-hcd xhci-hcd.8.auto: HC died; cleaning up
[44681.749696] usb 3-1: USB disconnect, device number 2
[44681.751626] sd 0:0:0:0: [sda] tag#20 uas_eh_abort_handler 0 uas-tag 13 inflight: CMD
[44681.751666] sd 0:0:0:0: [sda] tag#20 CDB: opcode=0x2a 2a 00 3e a6 aa f0 00 00 08 00

 

 

root@btcfn:~# uname -a
Linux btcfn 5.4.181-odroidxu4 #22.02.1 SMP PREEMPT Sun Feb 27 08:55:42 UTC 2022 armv7l GNU/Linux

 

USB sata bridge JMicron (the official Hardkernel thingie)

  • Solution
Posted
15 minutes ago, mykdelta said:

USB3 sata drive gets randomly disconnected


Search Odroid forums for similar problems. Then search Raspbery Pi forums for similar problems ... then ask storage experts on some storage oriented forums if they recommend USB connected drives and why not. USB protocol / drives were not designed for 24/7 usage and Armbian can't fix what is fundamentally broken.

Disabling UASP might help.

Posted

@mykdelta I am hit by the same issue since upgrading my Odroid HC-2 (a "server version" of the XU4) from the official Odroid image (Kernel 4.14) to Armbian (Kernel 5.4). I am pretty sure this is not hardware related, as everything was working just fine up until the upgrade.

 

I am also able to trigger the crash deterministically by doing a

 btrfs scrub start /storage

 

and within a couple of minutes the whole device freezes. For reference - in syslog I see (same as you):

Oct 30 12:37:56 odroidxu4 kernel: [ 1333.613911] sd 0:0:0:0: [sda] tag#29 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD IN 
Oct 30 12:37:56 odroidxu4 kernel: [ 1333.613934] sd 0:0:0:0: [sda] tag#29 CDB: opcode=0x28 28 00 0a f8 11 00 00 01 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.633730] xhci-hcd xhci-hcd.8.auto: xHCI host not responding to stop endpoint command.
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.653922] xhci-hcd xhci-hcd.8.auto: xHCI host controller not responding, assume dead
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.660399] usb 4-1: cmd cmplt err -108
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667632] sd 0:0:0:0: [sda] tag#28 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667654] sd 0:0:0:0: [sda] tag#28 CDB: opcode=0x28 28 00 0a f8 0c 00 00 01 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667672] sd 0:0:0:0: [sda] tag#27 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667687] sd 0:0:0:0: [sda] tag#27 CDB: opcode=0x28 28 00 0a f8 3f 00 00 04 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667710] sd 0:0:0:0: [sda] tag#26 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667724] sd 0:0:0:0: [sda] tag#26 CDB: opcode=0x28 28 00 0a f8 3c 00 00 03 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667746] sd 0:0:0:0: [sda] tag#25 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667761] sd 0:0:0:0: [sda] tag#25 CDB: opcode=0x28 28 00 0a f8 32 00 00 03 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667783] sd 0:0:0:0: [sda] tag#24 uas_eh_abort_handler 0 uas-tag 18 inflight: CMD IN 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667794] sd 0:0:0:0: [sda] tag#24 CDB: opcode=0x28 28 00 0a f8 2a 00 00 01 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667817] sd 0:0:0:0: [sda] tag#23 uas_eh_abort_handler 0 uas-tag 30 inflight: CMD IN 
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.667831] sd 0:0:0:0: [sda] tag#23 CDB: opcode=0x28 28 00 0a f8 16 00 00 01 00 00
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.670028] xhci-hcd xhci-hcd.8.auto: HC died; cleaning up
Oct 30 12:38:01 odroidxu4 kernel: [ 1338.674217] usb 4-1: USB disconnect, device number 2

 

Now the HC-2 mounts a USB-to-SATA bridge onboard, so I think overall my setup is very similar to yours. Did you find a solution?

 

Cheers,

Juri

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines