RE: Issues with LaCie USB3 drive and UAS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Update: I found out how to do it! 

Created /etc/modprobe.d/blacklist_uas.conf containing text:

options usb-storage quirks=059f:105f:u

followed by: update-initramfs -u
and rebooted.

Now the device works fine and mkfs.ext4 finishes in seconds rather than hours.

David
-----Original Message-----
From: David C. Partridge [mailto:david.partridge@xxxxxxxxxxxxx] 
Sent: 09 November 2020 11:21
To: 'Oliver Neukum'; linux-usb@xxxxxxxxxxxxxxx
Subject: RE: Issues with LaCie USB3 drive and UAS

Please could I ask you to provide detailed instructions on how to blacklist UAS for just this device?

Thanks
Daivd

-----Original Message-----
From: Oliver Neukum [mailto:oneukum@xxxxxxxx] 
Sent: 09 November 2020 10:14
To: David C. Partridge; linux-usb@xxxxxxxxxxxxxxx
Subject: Re: Issues with LaCie USB3 drive and UAS

Am Montag, den 09.11.2020, 09:51 +0000 schrieb David C. Partridge:
> I'm sure you are right in your diagnosis (absent any knowledge to the contrary).

It is a guess, merely. Based on long woefull experience with the
quality of some hardware.

> Now what's the treatment?

Use WRITE, not WRITE SAME. That is a task of the SCSI layer, not UAS.

> Would uas black-list provide a work-araound? If so a detailed recipe will be needed by me ...

Indirectly. The storage driver sets no_write_same. UAS does not. It
looks like UAS will need a kernel patch for that.

> Fix to the code? Ideal, but takes lots longer, so a work-around may be needed for a while

Very well. For experimentation, please try blacklisting UAS. If that
fails I have guessed wrong. If it works, I will make a test patch.

	Regards
		Oliver





[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux