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
  Armbian for Rock64 pineadmin 19 6,081 02-03-2020, 11:07 PM
Last Post: janke
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 62 14,643 01-28-2020, 12:36 PM
Last Post: mara
  Linux Images (ROCK64) pineadmin 159 80,762 01-14-2020, 12:23 PM
Last Post: dpgraham
  CentOS 7 for Rock64 pineadmin 2 697 01-13-2020, 12:27 PM
Last Post: decontainerized
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 24 5,714 12-28-2019, 11:35 PM
Last Post: suberimakuri
Thumbs Up Manjaro for Rock64 Luke 7 1,972 12-19-2019, 05:53 PM
Last Post: tomarm
Sad HDMI doesn't work on rock64 rock7 0 124 12-16-2019, 01:04 PM
Last Post: rock7
  Remote desktop access Rock64 over Internet hg6806 2 127 12-11-2019, 08:27 PM
Last Post: default_user8
Question /dev/spidev0,0 on the Rock64 - Does anyone know how to enable it? Kappuchino 14 2,942 12-05-2019, 09:42 PM
Last Post: phuzy
  Did my Rock64 die? ab1jx 7 281 11-19-2019, 12:58 PM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)