Rock64 crash randomly during usb 3 copy with RAID1 drive
#22
(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.

Thanks @rontant, it works great

after your instructions, I also run "sudo update-initramfs -u"
Code:
root@rock64:~#sudo update-initramfs -u

reboot

root@rock64:~# dmesg | grep blacklisted
[    5.042432] usb 5-1: UAS is blacklisted for this device, using usb-storage instead
root@rock64:~#
  Reply


Messages In This Thread
RE: Rock64 crash randomly during usb 3 copy with RAID1 drive - by i69fstop - 05-08-2018, 01:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  DietPi OS for ROCK64 MichaIng 40 17,417 11-15-2022, 05:28 PM
Last Post: Chubber
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 126 132,394 11-13-2022, 01:04 PM
Last Post: mara
  Using multiple UART's on Rock64. ramprasad 0 265 08-29-2022, 01:22 PM
Last Post: ramprasad
  Using multiple UART's on Rock64. sachineswar 0 231 08-29-2022, 12:31 PM
Last Post: sachineswar
  Rock64 v2 - did not work song / audio sqw200zu 1 397 07-29-2022, 12:08 PM
Last Post: sqw200zu
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 5,189 06-30-2022, 06:28 PM
Last Post: rookie_267
  my rock64 can't boot rookie_267 0 416 06-27-2022, 06:52 PM
Last Post: rookie_267
  Armbian for Rock64 pineadmin 57 51,721 04-01-2022, 03:16 PM
Last Post: TRS-80
  Fedora 35 on rock64 dafsjr 4 1,952 03-19-2022, 10:03 PM
Last Post: t4_4t
  openwrt for the rock64 wilsonYan 29 17,912 03-13-2022, 10:25 PM
Last Post: CanadianBacon

Forum Jump:


Users browsing this thread: 1 Guest(s)