linux-usb.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* ID 174c:55aa ASMedia Technology issues with UAS driver
@ 2019-11-24 19:49 Pacho Ramos
  2019-11-27 11:54 ` Pacho Ramos
  0 siblings, 1 reply; 2+ messages in thread
From: Pacho Ramos @ 2019-11-24 19:49 UTC (permalink / raw)
  To: linux-usb

[-- Attachment #1: Type: text/plain, Size: 3419 bytes --]

Hello,

I was reviewing a problem I was hitting with one of my boxes to
connect external drives. The hard disk was working fine when it was
under the original laptop that it belonged to and also works fine if I
move it to a different usb box.

I think it's an issue with this box and it seems a common issue as
reported in other places:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1742318
https://unix.stackexchange.com/questions/441668/debian-usb3-hdd-uas-i-o-errors
https://www.raspberrypi.org/forums/viewtopic.php?t=245931
https://www.raspberrypi.org/forums/viewtopic.php?t=237829
https://forum.manjaro.org/t/usb-disk-not-working-in-a-usb3-0-port/50736

In summary, the disk works fine at the start but, after leaving it
idle some minutes, it reports and I/O error and gets remounted because
of that.

Errors are like:
[243037.109604] Buffer I/O error on dev sdc1, logical block 15262021,
async page read
[243038.045009] Buffer I/O error on dev sdc1, logical block 15262021,
async page read
[243038.750870] Buffer I/O error on dev sdc1, logical block 15262021,
async page read

or also:
[243416.635232] Buffer I/O error on dev sdd1, logical block 15262021,
async page read

[243172.126230] scsi 2:0:0:0: Direct-Access     USB      3.0
   0    PQ: 0 ANSI: 6
[243172.126564] sd 2:0:0:0: Attached scsi generic sg2 type 0
[243172.127195] sd 2:0:0:0: [sdc] 976773168 512-byte logical blocks:
(500 GB/466 GiB)
[243172.127332] sd 2:0:0:0: [sdc] Write Protect is off
[243172.127333] sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00
[243172.127494] sd 2:0:0:0: [sdc] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[243172.127732] sd 2:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[243172.166800]  sdc: sdc1
[243172.185089] sd 2:0:0:0: [sdc] Attached SCSI disk
[243416.635232] Buffer I/O error on dev sdd1, logical block 15262021,
async page read
[243616.891249] usb 2-3: USB disconnect, device number 6
[243616.893787] sd 2:0:0:0: [sdc] Synchronizing SCSI cache
[243617.013118] sd 2:0:0:0: [sdc] Synchronize Cache(10) failed:
Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
[243617.268239] usb 2-3: new SuperSpeed Gen 1 USB device number 7 using xhci_hcd
[243617.281559] usb 2-3: New USB device found, idVendor=174c,
idProduct=55aa, bcdDevice= 1.00
[243617.281560] usb 2-3: New USB device strings: Mfr=2, Product=3,
SerialNumber=1
[243617.281561] usb 2-3: Product: 3.0
[243617.281562] usb 2-3: Manufacturer: USB
[243617.281562] usb 2-3: SerialNumber: 000000000001
[243617.285598] scsi host2: uas
[243617.285946] scsi 2:0:0:0: Direct-Access     USB      3.0
   0    PQ: 0 ANSI: 6
[243617.286547] sd 2:0:0:0: Attached scsi generic sg2 type 0
[243617.287053] sd 2:0:0:0: [sdc] 976773168 512-byte logical blocks:
(500 GB/466 GiB)
[243617.287171] sd 2:0:0:0: [sdc] Write Protect is off
[243617.287172] sd 2:0:0:0: [sdc] Mode Sense: 43 00 00 00
[243617.287332] sd 2:0:0:0: [sdc] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[243617.287522] sd 2:0:0:0: [sdc] Optimal transfer size 33553920 bytes
[243619.819009]  sdc: sdc1
[243619.835850] sd 2:0:0:0: [sdc] Attached SCSI disk

I am running kernel 5.3.11 on Gentoo and I attach the lsusb -v output
for this device. What could I do to contribute to get this problem
solved? Any concrete test? I would like to get this solved as, sadly,
it seems that many hard disk boxes include this chipset and cause this
issues.

Thanks a lot

[-- Attachment #2: 1 --]
[-- Type: application/octet-stream, Size: 5383 bytes --]


Bus 002 Device 010: ID 174c:55aa ASMedia Technology Inc. Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.00
  bDeviceClass            0 
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x174c ASMedia Technology Inc.
  idProduct          0x55aa Name: ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
  bcdDevice            1.00
  iManufacturer           2 USB
  iProduct                3 3.0
  iSerial                 1 000000000001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0079
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    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             32
        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             32
        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             32
        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       0x0016
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x0000f41e
      BESL Link Power Management (LPM) Supported
    BESL value     1024 us 
    Deep BESL value    61440 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        2047 micro seconds
Device Status:     0x000d
  Self Powered
  U1 Enabled
  U2 Enabled



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-11-27 11:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-24 19:49 ID 174c:55aa ASMedia Technology issues with UAS driver Pacho Ramos
2019-11-27 11:54 ` Pacho Ramos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).