Rock64 crash randomly during usb 3 copy with RAID1 drive
#14
(09-19-2017, 05:46 AM)rontant Wrote:
(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.

I'd actually worked it all out, the real key to this and I haven't a clue why is the "Reboot twice. " I had only rebooted once, thanks!
  Reply


Messages In This Thread
RE: Rock64 crash randomly during usb 3 copy with RAID1 drive - by digitaldaz - 09-19-2017, 08:00 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 104 Yesterday, 10:02 PM
Last Post: nethammer
  Arch Linux ARM on the Rock64 V3 justinweiss 0 121 06-17-2020, 10:00 PM
Last Post: justinweiss
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 28 8,179 06-08-2020, 09:06 AM
Last Post: Ozk649
  Installing DietPie on Rock64 and set 1280x1024 resolution Dape97 2 164 05-26-2020, 07:20 AM
Last Post: Dape97
Thumbs Up Manjaro for Rock64 Luke 8 2,750 05-18-2020, 02:58 AM
Last Post: camosoul
  Partitioning encrypted CCC Carbon Copy Cloner AND setting up Time Machine on HDD vidin 0 79 05-10-2020, 01:08 PM
Last Post: vidin
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 73 18,561 05-10-2020, 03:25 AM
Last Post: mara
  pcsx rearmed on rock64 debian stretch does not go fullscreen RockyBoulder 2 693 05-09-2020, 03:15 AM
Last Post: lawrencejd
  Linux Images (ROCK64) pineadmin 161 89,497 05-07-2020, 12:01 PM
Last Post: useful64
Question bluetooth rock64 problem deta 3 164 05-06-2020, 11:29 PM
Last Post: deta

Forum Jump:


Users browsing this thread: 1 Guest(s)