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
  Debian (Vanilla) on Rock64 and eMMC - how ? as365n4 3 263 1 hour ago
Last Post: as365n4
  Lakka (retrogaming) os for rock64 Wizardknight 1 40 8 hours ago
Last Post: tllim
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 80 24,061 Yesterday, 05:36 PM
Last Post: Enig123
  openwrt for the rock64 wilsonYan 3 372 09-01-2020, 09:07 PM
Last Post: wilsonYan
  Arch Linux ARM on the Rock64 V3 justinweiss 2 466 08-24-2020, 05:16 PM
Last Post: justinweiss
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 3 654 08-16-2020, 07:42 AM
Last Post: aclaret
  Linux Images (ROCK64) pineadmin 162 95,760 07-25-2020, 01:57 PM
Last Post: vve1505
Sad Is there a none-headless Linux OS that really works now for Rock64? AkiraSensei 7 743 07-09-2020, 10:02 PM
Last Post: nethammer
  RETRO-GAMING: UPDATED RELEASE OF RECALBOX FOR THE ROCK64 Mrfixit2001 28 10,084 06-08-2020, 09:06 AM
Last Post: Ozk649
  Installing DietPie on Rock64 and set 1280x1024 resolution Dape97 2 438 05-26-2020, 07:20 AM
Last Post: Dape97

Forum Jump:


Users browsing this thread: 1 Guest(s)