[lug] UAS and USB 3 Disks

Zan Lynx zlynx at acm.org
Wed Jun 26 12:29:21 MDT 2019


On 6/25/19 7:20 PM, duboulder wrote:
> Before I get envious, I am just wondering if you know that you have the uas driver being used for your devices and how much data have you transferred at a time.
> 
> I see this in dmesg (first line for kernel boot, 2nd for device plugging):
> [    6.528555] usbcore: registered new interface driver uas
> [  809.894207] scsi host4: uas

Well, I usually use lsusb. Here's an example from my NAS:

> $ lsusb
> Bus 006 Device 002: ID 0bc2:3322 Seagate RSS LLC SRD0NF2 [Expansion Desktop Drive]
> Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
> Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
> Bus 001 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
> Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

> $ lsusb -t
> /:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
>     |__ Port 2: Dev 2, If 0, Class=Mass Storage, Driver=uas, 5000M
> /:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
> /:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
> /:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
> /:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/8p, 10000M
> /:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/14p, 480M
>     |__ Port 14: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
>     |__ Port 14: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
>     |__ Port 14: Dev 2, If 2, Class=Human Interface Device, Driver=usbhid, 12M

And you can see that Bus 006 Device 2 is the Seagate external drive and
Driver=uas.

I can't tell you how much it's written except that it's done at least
one full backup and several incremental updates and it is currently
storing 1.5 TB.

In case it matters that Ryzen 1700X is on an ASUS motherboard and the
USB controller in use is:
> 0d:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) USB 3.0 Host Controller (prog-if 30 [XHCI])
> 	Subsystem: ASUSTeK Computer Inc. Device 8747

My other computer that seems to work well is this Dell laptop and it's
all Intel. Interestingly though, and I hadn't noticed this before, it
seems to use usb-storage instead of uas even when the drive supports it.
I'm not at home so I can't try the Seagate backup drive or the USB-NVMe
bridge on this. I wonder though if Fedora or Linux in general has
black-listed UAS on this Intel chipset.

-- 
                Knowledge is Power -- Power Corrupts
                        Study Hard -- Be Evil


More information about the LUG mailing list