There are multiple reports of UAS issue together with JMS567 (from myself also) Question: you mentioned that connecting the enclosure to an intermediate USB HUB is a workaround. Can you specify if your PC USB port is USB 3.0 and if the HUB is USB 3.0 as well, and if it is self-powered or not? 2018-02-09 4:17 GMT+01:00 Chris Murphy <lists@xxxxxxxxxxxxxxxxx>: > Problem summary: > Out of the box, a USB 3.0 SATA 6.0 enclosure, hangs during reads or > writes and spits out some errors, when directly connected to a > computer's USB port. When connected via a USB hub, uas is still used, > but the errors do not occur. When setting a quirk to blacklist the > drive from uas, the problem doesn't happen when directly connected > either. > > Host: > > Intel ® NUC Board NUC5PPYB > kernel 4.14.18-300.fc27.x86_64 > Fedora 27 > One 1.5A port > Multiple 900 mA ports > > lspci -vvnn > > 00:14.0 USB controller [0c03]: Intel Corporation Atom/Celeron/Pentium > Processor x5-E8000/J3xxx/N3xxx Series USB xHCI Controller [8086:22b5] > (rev 21) (prog-if 30 [XHCI]) > Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- > ParErr- Stepping- SERR- FastB2B- DisINTx+ > Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- > <TAbort- <MAbort- >SERR- <PERR- INTx- > Latency: 0 > Interrupt: pin A routed to IRQ 116 > Region 0: Memory at 81400000 (64-bit, non-prefetchable) [size=64K] > Capabilities: [70] Power Management version 2 > Flags: PMEClk- DSI- D1- D2- AuxCurrent=375mA > PME(D0-,D1-,D2-,D3hot+,D3cold+) > Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME- > Capabilities: [80] MSI: Enable+ Count=1/8 Maskable- 64bit+ > Address: 00000000fee0300c Data: 4122 > Kernel driver in use: xhci_hcd > > > Enclosure: > > $ sudo lsusb -v > > Bus 002 Device 003: ID 152d:0567 JMicron Technology Corp. / JMicron > USA Technology Corp. JMS567 SATA 6Gb/s bridge > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 3.00 > bDeviceClass 0 > bDeviceSubClass 0 > bDeviceProtocol 0 > bMaxPacketSize0 9 > idVendor 0x152d JMicron Technology Corp. / JMicron USA > Technology Corp. > idProduct 0x0567 JMS567 SATA 6Gb/s bridge > bcdDevice 7.01 > iManufacturer 1 JMicron > iProduct 2 USB3.0 Device > iSerial 3 DB98765433E84 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 121 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0x80 > (Bus Powered) > MaxPower 896mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 8 Mass Storage > bInterfaceSubClass 6 SCSI > bInterfaceProtocol 80 Bulk-Only > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 15 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 15 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 1 > bNumEndpoints 4 > bInterfaceClass 8 Mass Storage > bInterfaceSubClass 6 SCSI > bInterfaceProtocol 98 > iInterface 10 MSC USB Attached SCSI > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x01 EP 1 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 0 > Command pipe (0x01) > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 0 > MaxStreams 32 > Status pipe (0x02) > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 15 > MaxStreams 32 > Data-in pipe (0x03) > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x04 EP 4 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0400 1x 1024 bytes > bInterval 0 > bMaxBurst 7 > MaxStreams 32 > Data-out pipe (0x04) > Binary Object Store Descriptor: > bLength 5 > bDescriptorType 15 > wTotalLength 22 > bNumDeviceCaps 2 > USB 2.0 Extension Device Capability: > bLength 7 > bDescriptorType 16 > bDevCapabilityType 2 > bmAttributes 0x00000f0e > BESL Link Power Management (LPM) Supported > BESL value 3840 us > SuperSpeed USB Device Capability: > bLength 10 > bDescriptorType 16 > bDevCapabilityType 3 > bmAttributes 0x00 > wSpeedsSupported 0x000e > Device can operate at Full Speed (12Mbps) > Device can operate at High Speed (480Mbps) > Device can operate at SuperSpeed (5Gbps) > bFunctionalitySupport 1 > Lowest fully-functional device speed is Full Speed (12Mbps) > bU1DevExitLat 10 micro seconds > bU2DevExitLat 32 micro seconds > can't get debug descriptor: Resource temporarily unavailable > Device Status: 0x000c > (Bus Powered) > U1 Enabled > U2 Enabled > > Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 3.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 > bDeviceProtocol 3 > bMaxPacketSize0 9 > idVendor 0x1d6b Linux Foundation > idProduct 0x0003 3.0 root hub > bcdDevice 4.14 > iManufacturer 3 Linux 4.14.18-300.fc27.x86_64 xhci-hcd > iProduct 2 xHCI Host Controller > iSerial 1 0000:00:14.0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 31 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 12 > bMaxBurst 0 > Hub Descriptor: > bLength 12 > bDescriptorType 42 > nNbrPorts 6 > wHubCharacteristic 0x000a > No power switching (usb 1.0) > Per-port overcurrent protection > bPwrOn2PwrGood 10 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > bHubDecLat 0.0 micro seconds > wHubDelay 0 nano seconds > DeviceRemovable 0x60 > Hub Port Status: > Port 1: 0000.02a0 5Gbps power Rx.Detect > Port 2: 0000.0203 5Gbps power U0 enable connect > Port 3: 0000.02a0 5Gbps power Rx.Detect > Port 4: 0000.02a0 5Gbps power Rx.Detect > Port 5: 0000.02a0 5Gbps power Rx.Detect > Port 6: 0000.02a0 5Gbps power Rx.Detect > Binary Object Store Descriptor: > bLength 5 > bDescriptorType 15 > wTotalLength 15 > bNumDeviceCaps 1 > SuperSpeed USB Device Capability: > bLength 10 > bDescriptorType 16 > bDevCapabilityType 3 > bmAttributes 0x02 > Latency Tolerance Messages (LTM) Supported > wSpeedsSupported 0x0008 > Device can operate at SuperSpeed (5Gbps) > bFunctionalitySupport 3 > Lowest fully-functional device speed is SuperSpeed (5Gbps) > bU1DevExitLat 10 micro seconds > bU2DevExitLat 512 micro seconds > can't get debug descriptor: Resource temporarily unavailable > Device Status: 0x0001 > Self Powered > > Bus 001 Device 004: ID 8087:0a2a Intel Corp. > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 224 Wireless > bDeviceSubClass 1 Radio Frequency > bDeviceProtocol 1 Bluetooth > bMaxPacketSize0 64 > idVendor 0x8087 Intel Corp. > idProduct 0x0a2a > bcdDevice 0.01 > iManufacturer 0 > iProduct 0 > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 177 > bNumInterfaces 2 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 3 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x02 EP 2 OUT > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x82 EP 2 IN > bmAttributes 2 > Transfer Type Bulk > Synch Type None > Usage Type Data > wMaxPacketSize 0x0040 1x 64 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 0 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0000 1x 0 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0000 1x 0 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 1 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0009 1x 9 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0009 1x 9 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 2 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0011 1x 17 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0011 1x 17 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 3 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0019 1x 25 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0019 1x 25 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 4 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0021 1x 33 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0021 1x 33 bytes > bInterval 1 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 1 > bAlternateSetting 5 > bNumEndpoints 2 > bInterfaceClass 224 Wireless > bInterfaceSubClass 1 Radio Frequency > bInterfaceProtocol 1 Bluetooth > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x03 EP 3 OUT > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0031 1x 49 bytes > bInterval 1 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x83 EP 3 IN > bmAttributes 1 > Transfer Type Isochronous > Synch Type None > Usage Type Data > wMaxPacketSize 0x0031 1x 49 bytes > bInterval 1 > can't get device qualifier: Resource temporarily unavailable > Device Status: 0x0001 > Self Powered > > Bus 001 Device 003: ID 05e3:0610 Genesys Logic, Inc. 4-port hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 > bDeviceProtocol 2 TT per port > bMaxPacketSize0 64 > idVendor 0x05e3 Genesys Logic, Inc. > idProduct 0x0610 4-port hub > bcdDevice 32.98 > iManufacturer 0 > iProduct 1 USB2.0 Hub > iSerial 0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 41 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 100mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 > bInterfaceProtocol 1 Single TT > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0001 1x 1 bytes > bInterval 12 > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 1 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 > bInterfaceProtocol 2 TT per port > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0001 1x 1 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 4 > wHubCharacteristic 0x00e9 > Per-port power switching > Per-port overcurrent protection > TT think time 32 FS bits > Port indicators > bPwrOn2PwrGood 50 * 2 milli seconds > bHubContrCurrent 100 milli Ampere > DeviceRemovable 0x00 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0103 power enable connect > Port 2: 0000.0100 power > Port 3: 0000.0100 power > Port 4: 0000.0100 power > Device Qualifier (for other device speed): > bLength 10 > bDescriptorType 6 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 > bDeviceProtocol 0 Full speed (or root) hub > bMaxPacketSize0 64 > bNumConfigurations 1 > can't get debug descriptor: Resource temporarily unavailable > Device Status: 0x0001 > Self Powered > > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 9 Hub > bDeviceSubClass 0 > bDeviceProtocol 1 Single TT > bMaxPacketSize0 64 > idVendor 0x1d6b Linux Foundation > idProduct 0x0002 2.0 root hub > bcdDevice 4.14 > iManufacturer 3 Linux 4.14.18-300.fc27.x86_64 xhci-hcd > iProduct 2 xHCI Host Controller > iSerial 1 0000:00:14.0 > bNumConfigurations 1 > Configuration Descriptor: > bLength 9 > bDescriptorType 2 > wTotalLength 25 > bNumInterfaces 1 > bConfigurationValue 1 > iConfiguration 0 > bmAttributes 0xe0 > Self Powered > Remote Wakeup > MaxPower 0mA > Interface Descriptor: > bLength 9 > bDescriptorType 4 > bInterfaceNumber 0 > bAlternateSetting 0 > bNumEndpoints 1 > bInterfaceClass 9 Hub > bInterfaceSubClass 0 > bInterfaceProtocol 0 Full speed (or root) hub > iInterface 0 > Endpoint Descriptor: > bLength 7 > bDescriptorType 5 > bEndpointAddress 0x81 EP 1 IN > bmAttributes 3 > Transfer Type Interrupt > Synch Type None > Usage Type Data > wMaxPacketSize 0x0004 1x 4 bytes > bInterval 12 > Hub Descriptor: > bLength 9 > bDescriptorType 41 > nNbrPorts 7 > wHubCharacteristic 0x000a > No power switching (usb 1.0) > Per-port overcurrent protection > TT think time 8 FS bits > bPwrOn2PwrGood 10 * 2 milli seconds > bHubContrCurrent 0 milli Ampere > DeviceRemovable 0xc0 > PortPwrCtrlMask 0xff > Hub Port Status: > Port 1: 0000.0100 power > Port 2: 0000.0100 power > Port 3: 0000.0100 power > Port 4: 0000.0100 power > Port 5: 0000.0503 highspeed power enable connect > Port 6: 0000.0100 power > Port 7: 0000.0100 power > can't get device qualifier: Resource temporarily unavailable > can't get debug descriptor: Resource temporarily unavailable > Device Status: 0x0001 > Self Powered > [chris@f27s ~]$ > > > Annotated kernel messages: > > Directly connect the enclosure to the 1.5A USB 3.0 port on the computer. > > [61365.874627] usb 2-2: new SuperSpeed USB device number 2 using xhci_hcd > [61365.888928] usb 2-2: New USB device found, idVendor=152d, idProduct=0567 > [61365.888966] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > [61365.888994] usb 2-2: Product: USB3.0 Device > [61365.889010] usb 2-2: Manufacturer: JMicron > [61365.889023] usb 2-2: SerialNumber: DB98765433E84 > [61366.214438] usbcore: registered new interface driver usb-storage > [61366.225134] scsi host2: uas > [61366.225490] usbcore: registered new interface driver uas > [61368.402082] scsi 2:0:0:0: Direct-Access TOSHIBA MQ01ABD100 > 0701 PQ: 0 ANSI: 6 > [61369.176275] xhci_hcd 0000:00:14.0: Cannot set link state. > [61369.176296] usb usb2-port2: cannot disable (err = -32) > [61369.176306] usb 2-2: USB disconnect, device number 2 > [61369.176538] scsi 2:0:0:0: tag#0 uas_zap_pending 0 uas-tag 1 inflight: CMD > [61369.176549] scsi 2:0:0:0: tag#0 CDB: Inquiry 12 01 00 00 ff 00 > [61369.274383] sd 2:0:0:0: Attached scsi generic sg1 type 0 > [61369.434695] sd 2:0:0:0: [sdb] Read Capacity(16) failed: Result: > hostbyte=DID_ERROR driverbyte=DRIVER_OK > [61369.434739] sd 2:0:0:0: [sdb] Sense not available. > [61369.554847] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: > hostbyte=DID_ERROR driverbyte=DRIVER_OK > [61369.554891] sd 2:0:0:0: [sdb] Sense not available. > [61369.602836] sd 2:0:0:0: [sdb] 0 512-byte logical blocks: (0 B/0 B) > [61369.602874] sd 2:0:0:0: [sdb] 0-byte physical blocks > [61369.642581] sd 2:0:0:0: [sdb] Write Protect is off > [61369.642619] sd 2:0:0:0: [sdb] Mode Sense: 00 00 00 00 > [61369.683573] sd 2:0:0:0: [sdb] Asking for cache data failed > [61369.683611] sd 2:0:0:0: [sdb] Assuming drive cache: write through > [61369.869846] sd 2:0:0:0: [sdb] Read Capacity(16) failed: Result: > hostbyte=DID_ERROR driverbyte=DRIVER_OK > [61369.869892] sd 2:0:0:0: [sdb] Sense not available. > [61369.989567] sd 2:0:0:0: [sdb] Read Capacity(10) failed: Result: > hostbyte=DID_ERROR driverbyte=DRIVER_OK > [61369.989615] sd 2:0:0:0: [sdb] Sense not available. > [61370.141558] sd 2:0:0:0: [sdb] Attached SCSI disk > [61371.674597] usb 2-2: new SuperSpeed USB device number 3 using xhci_hcd > [61371.688759] usb 2-2: New USB device found, idVendor=152d, idProduct=0567 > [61371.688801] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 > [61371.688829] usb 2-2: Product: USB3.0 Device > [61371.688852] usb 2-2: Manufacturer: JMicron > [61371.688872] usb 2-2: SerialNumber: DB98765433E84 > [61371.696500] scsi host2: uas > [61371.697653] scsi 2:0:0:0: Direct-Access TOSHIBA MQ01ABD100 > 0701 PQ: 0 ANSI: 6 > [61371.699076] sd 2:0:0:0: Attached scsi generic sg1 type 0 > [61371.699501] sd 2:0:0:0: [sdb] 1953525168 512-byte logical blocks: > (1.00 TB/932 GiB) > [61371.699516] sd 2:0:0:0: [sdb] 4096-byte physical blocks > [61371.699705] sd 2:0:0:0: [sdb] Write Protect is off > [61371.699713] sd 2:0:0:0: [sdb] Mode Sense: 5f 00 00 08 > [61371.700137] sd 2:0:0:0: [sdb] Disabling FUA > [61371.700147] sd 2:0:0:0: [sdb] Write cache: enabled, read cache: > enabled, doesn't support DPO or FUA > [61371.783958] sdb: sdb1 > [61371.786899] sd 2:0:0:0: [sdb] Attached SCSI disk > [chris@f27s ~]$ > > > sudo cryptsetup open > > [63077.497429] device-mapper: table: 253:9: adding target device sdb1 > caused an alignment inconsistency: physical_block_size=4096, > logical_block_size=512, alignment_offset=0, start=2097152 > [63077.497484] device-mapper: table: 253:9: adding target device sdb1 > caused an alignment inconsistency: physical_block_size=4096, > logical_block_size=512, alignment_offset=0, start=2097152 > [63079.671918] device-mapper: thin: Data device (dm-11) discard > unsupported: Disabling discard passdown. > > > sudo mount > > [63126.445367] SGI XFS with ACLs, security attributes, no debug enabled > [63126.461972] XFS (dm-14): Mounting V5 Filesystem > [63127.084290] XFS (dm-14): Ending clean mount > > Start a copy (cp) with this volume as the source for reading, works > for a short while at normal speeds, but then within a few seconds, > throughput stops entirely per iotop, and only one kernel message: > > [63246.094062] xhci_hcd 0000:00:14.0: ERROR Unknown event condition 10 > for slot 6 ep 6 , HC probably busted > > During this gap the access LED on the enclosure is flashing but > there's no throughput for the copy, and no user space or kernel > errors. I cancel the copy and then the following is found in dmesg: > > > [63276.943798] sd 2:0:0:0: [sdb] tag#0 uas_eh_abort_handler 0 uas-tag > 1 inflight: CMD IN > [63276.943826] sd 2:0:0:0: [sdb] tag#0 CDB: Read(10) 28 00 43 ae 7a 08 > 00 02 00 00 > [63276.944040] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed > due to incorrect slot or ep state. > [63276.944163] sd 2:0:0:0: [sdb] tag#1 uas_eh_abort_handler 0 uas-tag > 2 inflight: CMD IN > [63276.944198] sd 2:0:0:0: [sdb] tag#1 CDB: Read(10) 28 00 43 ae 78 08 > 00 02 00 00 > [63276.944283] xhci_hcd 0000:00:14.0: WARN Set TR Deq Ptr cmd failed > due to incorrect slot or ep state. > [63308.687045] sd 2:0:0:0: [sdb] tag#2 uas_eh_abort_handler 0 uas-tag > 3 inflight: CMD > [63308.687092] sd 2:0:0:0: [sdb] tag#2 CDB: Synchronize Cache(10) 35 > 00 00 00 00 00 00 00 00 00 > [63308.687253] scsi host2: uas_eh_device_reset_handler start > [63308.803637] usb 2-2: reset SuperSpeed USB device number 3 using xhci_hcd > [63308.820480] scsi host2: uas_eh_device_reset_handler success > [chris@f27s ~]$ > > > If I use a quirk to disable uas for this drive, the problem doesn't happen. > > /etc/modprobe.d/ignore_uas.conf containing the line: > options usb-storage quirks=152d:0567:u > > And without the quirk the problem also doesn't happen if the drive is > connected to a powered USB hub. > > This enclosure works out of the box without problems on Windows 10 on > the same hardware, as well as on a Mac. > > > Thanks, > > -- > Chris Murphy > -- > To unsubscribe from this list: send the line "unsubscribe linux-usb" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html