Rock64 crash randomly during usb 3 copy with RAID1 drive
#24
Hello,

I know I'm late to the party, but I've been encountering the very same issue described here on my Rock64 4GB model, running Armbian 5.42

I have a 500GB 2.5' Hitachi drive, enclosed in a ICYBOX IB231StU3 connected via USB 3.0 to the Rock64 which I use for storage.
I noticed when I had high disk utilization, I got some messages as below in my system log and the Rock just "froze", I had to unplug/plug it back up in order to get it running.

Code:
May 30 11:50:37 localhost kernel: [  805.828012] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT
May 30 11:50:37 localhost kernel: [  805.828053] sd 0:0:0:0: [sda] tag#4 CDB: opcode=0x2a 2a 00 01 2e ac 00 00 04 00 00
May 30 11:50:37 localhost kernel: [  805.828137] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
May 30 11:50:37 localhost kernel: [  805.828170] xhci-hcd xhci-hcd.9.auto: @00000000f36e4a60 00000000 00000000 1b000000 010c8000
May 30 11:50:37 localhost kernel: [  805.828384] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT
May 30 11:50:37 localhost kernel: [  805.828423] sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x2a 2a 00 01 2e a8 00 00 04 00 00
May 30 11:50:37 localhost kernel: [  805.828505] xhci-hcd xhci-hcd.9.auto: ERROR Transfer event for disabled endpoint or incorrect stream ring
May 30 11:50:37 localhost kernel: [  805.828537] xhci-hcd xhci-hcd.9.auto: @00000000f36e4a80 00000000 00000000 1b000000 010c8000


I tried blacklisting the "uas" kernel module as described in this thread by @rotant, yet post reboot my external HDD driver was still stuck to "uas"

I found this post, which uses Armbian's config file to blacklist the "uas" kernel module for the respective device and this did the trick for me.

To summarize:

1. Use
Code:
lsbusb -t

to identify which devices use the dreaded "uas" module.

2.
Code:
lsusb

to identify that device's ID. (just like user rotant pointed out)

3. Edit the /boot/ArmbianEnv.txt. Go to the line:

Code:
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u

 and add you device ID these as so(please note the commas between entries):

Code:
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u,0x174c:0x55aa:u

4. Update initramfs
Code:
update-initramfs -u

5. reboot and verify with "lsusb -t" that the device driver is now "usb-storage" as oppossed to "uas"

* Please note, this will affect the read/write sped on your HDD, using "uas" I had ~120 MB/s, whereas with "usb-storage" I get ~ 77 MB/s, but now it's stable...
  Reply


Messages In This Thread
RE: Rock64 crash randomly during usb 3 copy with RAID1 drive - by AnythingIsFine - 05-30-2018, 06:20 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 63 15,964 2 hours ago
Last Post: Enig123
  Armbian for Rock64 pineadmin 22 6,839 04-03-2020, 05:38 PM
Last Post: tomarm
  Rock64 bricked after upgrade jean_bruder 7 57 04-02-2020, 09:27 AM
Last Post: tophneal
  Volumio on Rock64 gkkpch 20 11,724 04-01-2020, 05:33 PM
Last Post: gkkpch
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 26 6,674 03-29-2020, 06:16 PM
Last Post: Marcel
  How Can Install Unify controller in rock64? gedas07 0 38 03-23-2020, 08:41 AM
Last Post: gedas07
  Best Solution to run a TvHeadend on Rock64? Tetterl 17 441 03-16-2020, 11:51 AM
Last Post: Rocklobster
  OMV Rock64 Nerevarine 7 304 02-29-2020, 02:15 AM
Last Post: Nerevarine
  Linux Images (ROCK64) pineadmin 159 84,294 01-14-2020, 12:23 PM
Last Post: dpgraham
  CentOS 7 for Rock64 pineadmin 2 792 01-13-2020, 12:27 PM
Last Post: decontainerized

Forum Jump:


Users browsing this thread: 1 Guest(s)