UAS errors with ASM1053 - 4.3.3

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

 



I'm getting UAS errors using a USB 3.0 SATA enclosure (StarTech S3510BMU33ET; 174c:55aa)

This appears to have an ASM1053 chipset which, as far as my reading of uas_use_uas_driver() goes, should have a working UAS providing we restrict the size of the transfer?

i.e. MaxPower is 36, and MaxStreams is 16, which should imply ASM1053, with working UAS, but with US_FL_MAX_SECTORS_240.


That should be done for us, according to the code, but just to be sure, as I'm using the Debian (unstable) kernel 4.3.3, I added the US_FL_MAX_SECTORS_240 quirk myself:

getz $ grep usb-storage /etc/modprobe.d/uas-blacklist.conf
options usb-storage quirks=174c:55aa:g

[but is that still used if UAS is active? I get no "Quirks match" message for 'g', unlike I do for UAS disable 'u']


With that 'g' in place, I get reams of UAS errors/resets, and the device is unusable.

If I change the quirk to 'u', to disable UAS:

options usb-storage quirks=174c:55aa:u

then things work, but the performance is dire (e.g. 8MB/s writes).


Should this particular device be working? It doesn't seem to, so should the detection logic in uas_use_uas_driver() be disabling UAS for my device?


Or am I missing something?

The disk in the enclosure is a WD30EZRX (WD Green 3TB)

Appended dmesg and lsusb excerpts.


any comments, please?


thanks much indeed.

cheers,
calum.



[256525.207694] scsi host22: uas
[256525.209858] scsi 22:0:0:0: Direct-Access asmedia ASM1053E 0 PQ: 0 ANSI: 6
[256525.210566] sd 22:0:0:0: Attached scsi generic sg4 type 0
[256525.210626] sd 22:0:0:0: [sdd] 5860533168 512-byte logical blocks: (3.00 TB/2.72 TiB)
[256525.210628] sd 22:0:0:0: [sdd] 4096-byte physical blocks
[256525.210942] sd 22:0:0:0: [sdd] Write Protect is off
[256525.210945] sd 22:0:0:0: [sdd] Mode Sense: 43 00 00 00
[256525.211107] sd 22:0:0:0: [sdd] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[256525.215134] sd 22:0:0:0: [sdd] Attached SCSI disk







[257772.832048] sd 22:0:0:0: [sdd] tag#11 uas_eh_abort_handler 0 uas-tag 12 inflight: CMD OUT [257772.832059] sd 22:0:0:0: [sdd] tag#11 CDB: Write(16) 8a 00 00 00 00 00 06 00 9a e0 00 00 00 f0 00 00 [257772.832163] sd 22:0:0:0: [sdd] tag#10 uas_eh_abort_handler 0 uas-tag 11 inflight: CMD OUT [257772.832168] sd 22:0:0:0: [sdd] tag#10 CDB: Write(16) 8a 00 00 00 00 00 06 00 99 f0 00 00 00 f0 00 00 [257772.832309] sd 22:0:0:0: [sdd] tag#9 uas_eh_abort_handler 0 uas-tag 10 inflight: CMD OUT [257772.832313] sd 22:0:0:0: [sdd] tag#9 CDB: Write(16) 8a 00 00 00 00 00 06 00 99 00 00 00 00 f0 00 00 [257772.832426] sd 22:0:0:0: [sdd] tag#8 uas_eh_abort_handler 0 uas-tag 9 inflight: CMD OUT [257772.832430] sd 22:0:0:0: [sdd] tag#8 CDB: Write(16) 8a 00 00 00 00 00 06 00 98 80 00 00 00 80 00 00 [257772.832550] sd 22:0:0:0: [sdd] tag#7 uas_eh_abort_handler 0 uas-tag 8 inflight: CMD OUT [257772.832554] sd 22:0:0:0: [sdd] tag#7 CDB: Write(16) 8a 00 00 00 00 00 06 00 97 90 00 00 00 f0 00 00 [257772.832676] sd 22:0:0:0: [sdd] tag#6 uas_eh_abort_handler 0 uas-tag 7 inflight: CMD OUT [257772.832680] sd 22:0:0:0: [sdd] tag#6 CDB: Write(16) 8a 00 00 00 00 00 06 00 96 a0 00 00 00 f0 00 00 [257772.832801] sd 22:0:0:0: [sdd] tag#5 uas_eh_abort_handler 0 uas-tag 6 inflight: CMD OUT [257772.832804] sd 22:0:0:0: [sdd] tag#5 CDB: Write(16) 8a 00 00 00 00 00 06 00 95 b0 00 00 00 f0 00 00 [257772.832928] sd 22:0:0:0: [sdd] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT [257772.832931] sd 22:0:0:0: [sdd] tag#4 CDB: Write(16) 8a 00 00 00 00 00 06 00 94 c0 00 00 00 f0 00 00 [257772.833051] sd 22:0:0:0: [sdd] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT [257772.833054] sd 22:0:0:0: [sdd] tag#3 CDB: Write(16) 8a 00 00 00 00 00 06 00 93 d0 00 00 00 f0 00 00 [257772.833156] sd 22:0:0:0: [sdd] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT [257772.833159] sd 22:0:0:0: [sdd] tag#2 CDB: Write(16) 8a 00 00 00 00 00 06 00 92 e0 00 00 00 f0 00 00 [257772.833277] sd 22:0:0:0: [sdd] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD [257772.833280] sd 22:0:0:0: [sdd] tag#1 CDB: Write(16) 8a 00 00 00 00 00 06 00 91 f0 00 00 00 f0 00 00 [257772.833284] sd 22:0:0:0: [sdd] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD [257772.833288] sd 22:0:0:0: [sdd] tag#0 CDB: Write(16) 8a 00 00 00 00 00 06 00 91 00 00 00 00 f0 00 00
[257772.833307] scsi host22: uas_eh_bus_reset_handler start
[257772.909175] usb 6-2.3.3: reset SuperSpeed USB device number 5 using xhci_hcd
[257772.930189] scsi host22: uas_eh_bus_reset_handler success


Bus 006 Device 005: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
idProduct 0x55aa ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 asmedia
  iProduct                3 ASM1053E
  iSerial                 1 123456789012
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          121
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower               36mA
    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              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
        MaxStreams             16
        Data-in pipe (0x03)
      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
        MaxStreams             16
        Data-out pipe (0x04)
      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             16
        Status pipe (0x02)
      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               0
        Command pipe (0x01)
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   0x00000002
      Link Power Management (LPM) Supported
  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        2047 micro seconds
Device Status:     0x0001
  Self Powered
--
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



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

  Powered by Linux