Problems with USB 3.0 and SATA disk (UAS)
#1
Hi,
I'm having problems with my 2.5" 500GB WD Blue disk connected to USB 3.0 port with Startech's USB 3.1 (10Gbps) Adapter Cable for 2.5" SATA Drives
(https://www.startech.com/HDD/Adapters/us...B312SAT3CB) under heavy disk usage.

Linux version installed to rock64: Ayufan's stretch-minimal-rock64-0.5.15-136-arm64
uname -a:
Linux rockBOX 4.4.77-rockchip-ayufan-136 #1 SMP Thu Oct 12 09:14:48 UTC 2017 aarch64 GNU/Linux
(It is upgraded to stretch-minimal-rock64-0.6.25-193-arm64 today, but problems still goes on)

after boot:

Code:
[    6.513428] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[    6.520230] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d450 00000000 00000000 1b000000 01038001
[    6.566054]  sda: sda1
[    6.574262] sd 0:0:0:0: [sda] Attached SCSI disk
[    6.761739] random: nonblocking pool is initialized
[    7.065293] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)
[    7.751919] Adding 4194300k swap on /mnt/data/swap.file.  Priority:-1 extents:5 across:4636668k
[    9.387683] rk_gmac-dwmac ff540000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.267894] NFSD: starting 90-second grace period (net ffffff8009286480)
[   15.437115] tty_port_close_start: tty->count = 1 port count = 2.

After trying to extract files
Code:
[ 1160.867080] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD IN
[ 1160.867936] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 0a b7 cd 07 00 01 00 00
[ 1160.868798] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1160.869822] xhci-hcd xhci-hcd.9.auto: @00000000f3a6ddb0 00000000 00000000 1b000000 01038001
[ 1196.825676] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT
[ 1196.826550] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x2a 2a 00 08 86 6c df 00 00 18 00
[ 1196.827424] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.828448] xhci-hcd xhci-hcd.9.auto: @00000000f3a6ddd0 00000000 00000000 1b000000 01048001
[ 1196.829399] scsi host0: uas_eh_bus_reset_handler start
[ 1196.830016] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.831037] xhci-hcd xhci-hcd.9.auto: @00000000f3a6ddf0 00000000 00000000 1b000000 01078001
[ 1196.832000] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.833018] xhci-hcd xhci-hcd.9.auto: @00000000f3a6de10 00000000 00000000 1b000000 01078001
[ 1196.833970] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.834987] xhci-hcd xhci-hcd.9.auto: @00000000f3a6de30 00000000 00000000 1b000000 01078001
[ 1196.835943] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.836958] xhci-hcd xhci-hcd.9.auto: @00000000f3a6de50 00000000 00000000 1b000000 01078001
[ 1196.837886] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.838902] xhci-hcd xhci-hcd.9.auto: @00000000f3a6de70 00000000 00000000 1b000000 01078001
[ 1196.839847] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.840864] xhci-hcd xhci-hcd.9.auto: @00000000f3a6de90 00000000 00000000 1b000000 01048001
[ 1196.841817] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1196.842830] xhci-hcd xhci-hcd.9.auto: @00000000f3a6deb0 00000000 00000000 1b000000 01048001
[ 1196.843745] sd 0:0:0:0: [sda] tag#1 uas_zap_pending 0 uas-tag 2 inflight: CMD
[ 1196.844536] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x35 35 00 00 00 00 00 00 00 00 00
[ 1196.845351] sd 0:0:0:0: [sda] tag#3 uas_zap_pending 0 uas-tag 4 inflight: CMD
[ 1196.846122] sd 0:0:0:0: [sda] tag#3 CDB: opcode=0x2a 2a 00 05 47 e7 0f 00 00 08 00
[ 1196.846933] sd 0:0:0:0: [sda] tag#4 uas_zap_pending 0 uas-tag 5 inflight: CMD
[ 1196.847704] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x2a 2a 00 0f bd f7 17 00 00 08 00
[ 1196.950752] usb 5-1: reset SuperSpeed USB device number 2 using xhci-hcd
[ 1196.963198] scsi host0: uas_eh_bus_reset_handler success
[ 1230.884233] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
[ 1230.885093] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 08 83 be 9f 00 00 08 00
[ 1230.885952] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1230.886973] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d660 00000000 00000000 1b000000 01048000
[ 1236.842345] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[ 1236.843202] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 0a b9 a2 07 00 01 00 00
[ 1236.844068] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1236.845088] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d680 00000000 00000000 1b000000 01038000
[ 1236.846051] scsi host0: uas_eh_bus_reset_handler start
[ 1236.846674] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1236.847701] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d6a0 00000000 00000000 1b000000 01078000
[ 1236.848652] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1236.849661] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d6c0 00000000 00000000 1b000000 01078000
[ 1236.952435] usb 5-1: reset SuperSpeed USB device number 2 using xhci-hcd
[ 1236.969913] scsi host0: uas_eh_bus_reset_handler success
[ 1274.829062] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
[ 1274.835019] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 1d 05 41 af 00 00 30 00
[ 1274.842297] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1274.848302] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d990 00000000 00000000 1b000000 01048000
[ 1274.855284] sd 0:0:0:0: [sda] tag#2 unexpected response iu 10 uas-tag 1 inflight: CMD IN
[ 1274.861118] sd 0:0:0:0: [sda] tag#2 CDB: opcode=0x28 28 00 1b bc 43 d7 00 01 00 00
[ 1274.866874] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1274.872858] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d9d0 00000000 00000000 1b000000 01038000
[ 1297.883446] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT
[ 1297.889265] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x2a 2a 00 00 00 ff ff 00 00 08 00
[ 1297.895058] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1297.901005] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d9f0 00000000 00000000 1b000000 01048000
[ 1297.906843] scsi host0: uas_eh_bus_reset_handler start
[ 1297.912458] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1297.918438] xhci-hcd xhci-hcd.9.auto: @00000000f3a6da10 00000000 00000000 1b000000 01078000
[ 1297.924324] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1297.930314] xhci-hcd xhci-hcd.9.auto: @00000000f3a6da30 00000000 00000000 1b000000 01078000
[ 1298.038542] usb 5-1: reset SuperSpeed USB device number 2 using xhci-hcd
[ 1298.056157] scsi host0: uas_eh_bus_reset_handler success
[ 1376.854958] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN
[ 1376.860801] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 1b bd 57 d7 00 01 00 00
[ 1376.868264] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1376.874292] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d7a0 00000000 00000000 1b000000 01038000
[ 1376.880224] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD
[ 1376.886070] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 1d 05 50 07 00 00 88 00
[ 1376.894335] scsi host0: uas_eh_bus_reset_handler start
[ 1376.899985] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1376.906067] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d7c0 00000000 00000000 1b000000 01078000
[ 1376.912106] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
[ 1376.918243] xhci-hcd xhci-hcd.9.auto: @00000000f3a6d7e0 00000000 00000000 1b000000 01078000
[ 1377.027035] usb 5-1: reset SuperSpeed USB device number 2 using xhci-hcd
[ 1377.045562] scsi host0: uas_eh_bus_reset_handler success

and it hangs later:
Code:
Message from syslogd@rockBOX at Mar  9 20:00:23 ...
 kernel:[ 1680.499560] Kernel panic - not syncing: hung_task: blocked tasks

Message from syslogd@rockBOX at Mar  9 20:00:23 ...
 kernel:[ 1680.968260] Kernel Offset: disabled

Message from syslogd@rockBOX at Mar  9 20:00:23 ...
 kernel:[ 1680.970737] Memory Limit: none


I tested my disk and USB 3.0 SATA adapter on my other PCs (Arch Linux on laptop, Windows 7 & Windows 10 on desktop),
It is running perfect without any problem.

Anyone having similar problems?
I need help...

Thanks.
  Reply
#2
The workaround is to disable UAS: https://forum.pine64.org/showthread.php?tid=5137
  Reply
#3
(03-10-2018, 02:30 AM)maal Wrote: The workaround is to disable UAS: https://forum.pine64.org/showthread.php?tid=5137

Thank you for your help. I will try that workaround.

but developers/engineers at pine64 and Rockchip should find a solution to use UAS.
  Reply
#4
same here ! please help up
  Reply
#5
(10-14-2018, 09:10 AM)lupa18 Wrote: same here ! please help up

Holy necro batman, and afaik its a linux problem not specific to pine nor rockchip since armbian disables UAS on allmost all their SBC images (if not all), iirc the problem comes from the fact that manufacturers dont care to make hdd firmwares 100% compliant so linux either goes a hackish way to make it work or simply disable it...so basically yea, it needs to be fixed but you cant blame pine specifically for this issue...
  Reply
#6
(10-16-2018, 08:39 AM)Trash_Can_Man Wrote:
(10-14-2018, 09:10 AM)lupa18 Wrote: same here ! please help up

Holy necro batman, and afaik its a linux problem not specific to pine nor rockchip since armbian disables UAS on allmost all their SBC images (if not all), iirc the problem comes from the fact that manufacturers dont care to make hdd firmwares 100% compliant so linux either goes a hackish way to make it work or simply disable it...so basically yea, it needs to be fixed but you cant blame pine specifically for this issue...

Where can I report ?
  Reply
#7
(10-16-2018, 09:59 AM)lupa18 Wrote:
(10-16-2018, 08:39 AM)Trash_Can_Man Wrote:
(10-14-2018, 09:10 AM)lupa18 Wrote: same here ! please help up

Holy necro batman, and afaik its a linux problem not specific to pine nor rockchip since armbian disables UAS on allmost all their SBC images (if not all), iirc the problem comes from the fact that manufacturers dont care to make hdd firmwares 100% compliant so linux either goes a hackish way to make it work or simply disable it...so basically yea, it needs to be fixed but you cant blame pine specifically for this issue...

Where can I report ?

Im not expert in the subject by any means but i can use google same as you, "apparently" (not completelly sure) you should report here, there are even 2 more reports there about uas problems so im probably barking at the right tree...

Scratch that, i found that they dont use bugzilla, you need to send a mail to a mail list, the direction is here.
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Full Disk Encryption archangel 3 5,197 03-30-2019, 11:13 AM
Last Post: gzom
  Gigabit Ethernet problems aaronw 2 6,614 02-16-2019, 03:04 AM
Last Post: uttam
  USB3 problems scalextrix 2 4,539 09-08-2018, 01:15 AM
Last Post: scalextrix
  Xenial Mate: Screensaver Preview & LibreOffice Slideshow problems moravecz 2 3,871 08-27-2017, 10:37 PM
Last Post: moravecz

Forum Jump:


Users browsing this thread: 1 Guest(s)