Hello, I have a SanDisk USB3.2 Gen2x2 NVMe enclosure. Bus 004 Device 004: ID 0781:55af SanDisk Corp. Extreme Pro 55AF That was working with UAS fine on all machines. Now on one machine it started failing with UAS. The same drive and same cable on a different machine with almost same setup and kernel is still working fine with uas. Here is the failing machine: Sep 19 07:00:15 [kernel] usb-storage 2-1.6:1.0: USB Mass Storage device detected Sep 19 07:00:15 [kernel] scsi host0: usb-storage 2-1.6:1.0 Sep 19 07:00:15 [kernel] usbcore: registered new interface driver usb-storage Sep 19 07:00:15 [kernel] scsi host7: uas Sep 19 07:00:15 [kernel] usbcore: registered new interface driver uas Sep 19 07:00:15 [kernel] scsi 7:0:0:0: Direct-Access SanDisk Extreme Pro 55AF 1087 PQ: 0 ANSI: 6 Sep 19 07:00:15 [kernel] sd 7:0:0:0: [sdc] 7813971617 512-byte logical blocks: (4.00 TB/3.64 TiB) Sep 19 07:00:15 [kernel] sd 7:0:0:0: [sdc] Write Protect is off Sep 19 07:00:15 [kernel] scsi 7:0:0:1: Enclosure SanDisk SES Device 1087 PQ: 0 ANSI: 6 Sep 19 07:00:15 [kernel] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA Sep 19 07:00:15 [kernel] sd 7:0:0:0: [sdc] Preferred minimum I/O size 512 bytes Sep 19 07:00:15 [kernel] sd 7:0:0:0: [sdc] Optimal transfer size 2097152 bytes Sep 19 07:00:16 [kernel] scsi 0:0:0:0: Direct-Access Generic- Compact Flash 1.00 PQ: 0 ANSI: 0 CCS Sep 19 07:00:16 [kernel] sd 0:0:0:0: [sdd] Media removed, stopped polling Sep 19 07:00:16 [kernel] sd 0:0:0:0: [sdd] Attached SCSI removable disk Sep 19 07:00:16 [kernel] scsi 0:0:0:1: Direct-Access Generic- SM/xD-Picture 1.00 PQ: 0 ANSI: 0 CCS Sep 19 07:00:16 [kernel] sd 0:0:0:1: [sde] Media removed, stopped polling Sep 19 07:00:16 [kernel] sd 0:0:0:1: [sde] Attached SCSI removable disk Sep 19 07:00:16 [kernel] scsi 0:0:0:2: Direct-Access Generic- SD/MMC 1.00 PQ: 0 ANSI: 0 CCS Sep 19 07:00:16 [kernel] scsi 0:0:0:3: Direct-Access Generic- MS/MS-Pro/HG 1.00 PQ: 0 ANSI: 0 CCS Sep 19 07:00:16 [kernel] sd 0:0:0:2: [sdf] Media removed, stopped polling Sep 19 07:00:16 [kernel] sd 0:0:0:2: [sdf] Attached SCSI removable disk Sep 19 07:00:16 [kernel] sd 0:0:0:3: [sdg] Media removed, stopped polling Sep 19 07:00:16 [kernel] sd 0:0:0:3: [sdg] Attached SCSI removable disk Sep 19 07:00:16 [kernel] scsi 0:0:0:4: Direct-Access Generic- SD/MMC/MS/MSPRO 1.00 PQ: 0 ANSI: 0 CCS Sep 19 07:00:16 [kernel] sd 0:0:0:4: [sdh] Media removed, stopped polling Sep 19 07:00:16 [kernel] sd 0:0:0:4: [sdh] Attached SCSI removable disk Sep 19 07:00:29 [kernel] usb 4-4: USB disconnect, device number 3 Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] tag#24 uas_zap_pending 0 uas-tag 1 inflight: CMD Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] tag#24 CDB: Test Unit Ready 00 00 00 00 00 00 Sep 19 07:00:29 [kernel] scsi 7:0:0:1: tag#26 uas_zap_pending 0 uas-tag 2 inflight: CMD Sep 19 07:00:29 [kernel] scsi 7:0:0:1: tag#26 CDB: Inquiry 12 01 00 00 0d 00 Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] Read Capacity(16) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] Sense not available. Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] Read Capacity(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] Sense not available. Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] 0 512-byte logical blocks: (0 B/0 B) Sep 19 07:00:29 [kernel] sdc: detected capacity change from 7813971617 to 0 Sep 19 07:00:29 [kernel] sd 7:0:0:0: [sdc] Attached SCSI disk Sep 19 07:00:33 [kernel] usb 4-4: new SuperSpeed USB device number 4 using xhci_hcd Sep 19 07:00:33 [kernel] usb 4-4: New USB device found, idVendor=0781, idProduct=55af, bcdDevice=10.87 Sep 19 07:00:33 [kernel] usb 4-4: New USB device strings: Mfr=2, Product=3, SerialNumber=1 Sep 19 07:00:33 [kernel] usb 4-4: Product: Extreme Pro 55AF Sep 19 07:00:33 [kernel] usb 4-4: Manufacturer: SanDisk Sep 19 07:00:33 [kernel] usb 4-4: SerialNumber: 323134385331643031333831 Sep 19 07:00:33 [kernel] scsi host7: uas Sep 19 07:00:33 [mtp-probe] checking bus 4, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-4" Sep 19 07:00:33 [mtp-probe] bus: 4, device: 4 was not an MTP device Sep 19 07:00:33 [mtp-probe] checking bus 4, device 4: "/sys/devices/pci0000:00/0000:00:14.0/usb4/4-4" Sep 19 07:00:33 [mtp-probe] bus: 4, device: 4 was not an MTP device Sep 19 07:00:34 [kernel] scsi 7:0:0:0: Direct-Access SanDisk Extreme Pro 55AF 1087 PQ: 0 ANSI: 6 Sep 19 07:00:34 [kernel] sd 7:0:0:0: [sdc] 7813971617 512-byte logical blocks: (4.00 TB/3.64 TiB) Sep 19 07:00:34 [kernel] sd 7:0:0:0: [sdc] Write Protect is off Sep 19 07:00:34 [kernel] scsi 7:0:0:1: Enclosure SanDisk SES Device 1087 PQ: 0 ANSI: 6 Sep 19 07:00:34 [kernel] sd 7:0:0:0: [sdc] Write cache: enabled, read cache: enabled, supports DPO and FUA Sep 19 07:00:34 [kernel] sd 7:0:0:0: [sdc] Preferred minimum I/O size 512 bytes Sep 19 07:00:34 [kernel] sd 7:0:0:0: [sdc] Optimal transfer size 2097152 bytes Sep 19 07:00:42 [metalog] Got SIGUSR1 - enabling synchronous mode. Sep 19 07:01:04 [kernel] scsi 7:0:0:1: tag#21 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD IN Sep 19 07:01:04 [kernel] scsi 7:0:0:1: tag#21 CDB: Inquiry 12 01 00 00 04 00 Sep 19 07:01:04 [kernel] sd 7:0:0:0: [sdc] tag#26 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD Sep 19 07:01:04 [kernel] sd 7:0:0:0: [sdc] tag#26 CDB: Test Unit Ready 00 00 00 00 00 00 Sep 19 07:01:04 [kernel] scsi host7: uas_eh_device_reset_handler start Sep 19 07:01:04 [kernel] usb 4-4: reset SuperSpeed USB device number 4 using xhci_hcd Sep 19 07:01:04 [kernel] scsi host7: uas_eh_device_reset_handler success Sep 19 07:01:04 [kernel] scsi host7: uas_eh_device_reset_handler start Sep 19 07:01:05 [kernel] usb 4-4: reset SuperSpeed USB device number 4 using xhci_hcd Sep 19 07:01:05 [kernel] scsi host7: uas_eh_device_reset_handler success Sep 19 07:01:05 [kernel] sd 7:0:0:0: [sdc] tag#25 data cmplt err -75 uas-tag 2 inflight: CMD Sep 19 07:01:05 [kernel] sd 7:0:0:0: [sdc] tag#25 CDB: Mode Sense(6) 1a 00 3f 00 04 00 Sep 19 07:01:35 [kernel] sd 7:0:0:0: [sdc] tag#25 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD Sep 19 07:01:35 [kernel] sd 7:0:0:0: [sdc] tag#25 CDB: Mode Sense(6) 1a 00 3f 00 04 00 Sep 19 07:01:35 [kernel] scsi 7:0:0:1: tag#20 uas_eh_abort_handler 0 uas-tag 1 inflight: IN Sep 19 07:01:35 [kernel] scsi 7:0:0:1: tag#20 CDB: Inquiry 12 01 80 00 14 00 Sep 19 07:01:35 [kernel] scsi host7: uas_eh_device_reset_handler start Sep 19 07:01:35 [kernel] usb 4-4: reset SuperSpeed USB device number 4 using xhci_hcd Sep 19 07:01:35 [kernel] scsi host7: uas_eh_device_reset_handler success Sep 19 07:01:35 [kernel] scsi host7: uas_eh_device_reset_handler start Sep 19 07:01:35 [kernel] usb 4-4: reset SuperSpeed USB device number 4 using xhci_hcd Sep 19 07:01:35 [kernel] scsi host7: uas_eh_device_reset_handler success Sep 19 07:01:35 [kernel] sdc: sdc1 sdc2 sdc3 When plugging the device it seems to interact somehow with the internal card reader module on that machine, so I left these lines here in the log for analysis. Searching the web for these error messages I found I needed to disable UAS and continue with usb-storage: options usb-storage quirks=0781:55af:u That works, but reduces the performance a lot. What is broken? I remember the issue started when I tried a new longer cable on that machine. Because it didn't work properly I switched back to the original cable again which didn't solve the issues. Testing the drive with original cable again on other machines is still working with uas, so I don't think the drive is broken. Could the local physical USB interface be broken by that cable test in a way that only affects UAS? I doubt. Best regards, Massimo