Rock64 crash randomly during usb 3 copy with RAID1 drive
#13
(09-19-2017, 02:26 AM)digitaldaz Wrote: Actually, how do you blacklist the UAS??

First, check if your USB enclosure is indeed a UAS enabled USB 3 enclosure. Use the command:

Code:
lsusb -t

Do you see your device listed as one using uas driver?

If yes, get the vendor ID and the product ID . Just use the command  line 'lsusb' without any parameter and you will see a list of USB devices with their respective ID numbers. Your USB enclosure should be one of them. If you use WD Passport 3TB, for example, you will see something like this:

Bus 005 Device 003: ID 1058:0827 Western Digital Technologies, Inc.

1058 is the vendor ID and 0827 the product ID.

Add these 2 numbers into the conf file in /etc/modprobe.d to blacklist the UAS

Code:
sudo nano /etc/modprobe.d/rk3328-usb-storage-quirks.conf

The ID numbers should be following the format 0xVendorID:0xProductID:u. Each blacklisted device should be separated by a comma. See the example below.  

options usb-storage quirks=0x2537:0x1066:u,0x2537:0x1068:u,0x0bc2:0xa013:u,0x1058:0x0827:u,0x0bc2:0x2101:u,0x2109:0x0715:u


Reboot twice. 
Run 'dmesg' to verify. If you edit correctly, you should see a line in dmesg saying your device has been blacklisted. If you run "lsusb -t" again, it should say "driver=usb-storage" instead of "driver=uas"

A BIG CAVEAT: Do this at your own risk.
  Reply


Messages In This Thread
RE: Rock64 crash randomly during usb 3 copy with RAID1 drive - by rontant - 09-19-2017, 05:46 AM

Possibly Related Threads...
Thread Author Replies Views Last Post
  Rock64 bricked after upgrade jean_bruder 7 44 Yesterday, 09:27 AM
Last Post: tophneal
  Volumio on Rock64 gkkpch 20 11,677 04-01-2020, 05:33 PM
Last Post: gkkpch
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 26 6,642 03-29-2020, 06:16 PM
Last Post: Marcel
  Armbian for Rock64 pineadmin 21 6,765 03-28-2020, 01:07 PM
Last Post: Enig123
  How Can Install Unify controller in rock64? gedas07 0 35 03-23-2020, 08:41 AM
Last Post: gedas07
  Best Solution to run a TvHeadend on Rock64? Tetterl 17 440 03-16-2020, 11:51 AM
Last Post: Rocklobster
  OMV Rock64 Nerevarine 7 300 02-29-2020, 02:15 AM
Last Post: Nerevarine
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 62 15,909 01-28-2020, 12:36 PM
Last Post: mara
  Linux Images (ROCK64) pineadmin 159 84,213 01-14-2020, 12:23 PM
Last Post: dpgraham
  CentOS 7 for Rock64 pineadmin 2 789 01-13-2020, 12:27 PM
Last Post: decontainerized

Forum Jump:


Users browsing this thread: 1 Guest(s)