I’ve recently bought a Seagate backup drive, to replace a ~10 year old one that was showing bad sectors.
However, when mounted and accessed, I got lots of errors like:
[ 868.584429] usb 9-1.2: reset SuperSpeed USB device number 9 using xhci_hcd [ 868.605346] scsi host8: uas_eh_device_reset_handler success [ 902.619527] sd 8:0:0:0: [sdi] tag#6 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [ 902.619540] sd 8:0:0:0: [sdi] tag#6 CDB: Write(16) 8a 00 00 00 00 00 01 41 82 d8 00 00 04 00 00 00 [ 902.636266] scsi host8: uas_eh_device_reset_handler start [ 902.710721] usb 9-1.2: reset SuperSpeed USB device number 9 using xhci_hcd [ 902.731783] scsi host8: uas_eh_device_reset_handler success
While I can prevent them for that device by adding a
options usb-storage quirks=0bc2:ab38:u
however, any USB-3 disk connected through the built-in hub on the drive still has the problem. Adding the hub’s ID doesn’t help, and in fact then the errors re-occur on the backup drive.
Completely disabling UAS with a
appears to disable the recognition of USB-3 disks altogether.
So, is there a way to do one of:
Disable UAS support altogether, without disabling USB-3. I’m by no means sure that my M.B. supports UAS properly as it’s also about 10 years old.
Disable UAS for all devices connected through the backup drive’s hub.
lspci: the USB 3 controller:
03:00.0 USB controller: NEC Corporation uPD720200 USB 3.0 Host Controller (rev 03) (prog-if 30 [XHCI]) Subsystem: ASUSTeK Computer Inc. P8P67 Deluxe Motherboard Flags: bus master, fast devsel, latency 0, IRQ 18, NUMA node 0 Memory at feafe000 (64-bit, non-prefetchable) [size=8K] Capabilities:  Power Management version 3 Capabilities:  MSI: Enable- Count=1/8 Maskable- 64bit+ Capabilities:  MSI-X: Enable+ Count=8 Masked- Capabilities: [a0] Express Endpoint, MSI 00 Capabilities:  Advanced Error Reporting Capabilities:  Device Serial Number ff-ff-ff-ff-ff-ff-ff-ff Capabilities:  Latency Tolerance Reporting Kernel driver in use: xhci_hcd Kernel modules: xhci_pci
The devices associated with the backup drive (from lsusb)
Bus 001 Device 009: ID 0bc2:ab44 Seagate RSS LLC Backup Plus Hub Bus 009 Device 011: ID 0bc2:ab38 Seagate RSS LLC Backup Plus Hub (Mass Storage) Bus 009 Device 010: ID 0bc2:ab45 Seagate RSS LLC Backup+ Hub
ab44 hub is USB2, the
ab45 one is USB3
I’m running the current Manjaro 5.14 kernel.