Re: ASM1153 SATA bridge fails with Crucial MX100 512GB SSD

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

 



Hi,

On 27-06-16 23:12, Alistair Buxton wrote:
I have a USB to SATA bridge which claims to be a ASM1153. It works
fine with all the other drives I tried, but not with a Crucial MX100
512GB SSD. I can read approximately the first 1.7GB of the disk with
dd and then it stops, always at the same point. Very rarely, when I
plug it in, it does not work at all and reports bizarre disk geometry
like 0 bytes, or 250GB.

I have reproduced the problem with several different computers on both
USB 2 and USB 3 ports, with kernels from 4.2 through to 4.7-rc5 (the
latest kernel currently available).

The exact device is this one:
https://shop.pimoroni.com/products/sata-hard-drive-to-usb-adapter

Logs follow. Let me know if I can provide anything else.

A 512GB SSD drive is very likely to have a peak current way over
what can be drawn from 2 usb ports. Also note how it is reporting
write errors when you try to mount it and writing takes more current
then reading, so this is simply a powersupply problem. If you want
to connect that SSD over USB you should use an enclosure with an
external powersupply.

Regards,

Hans







When I plug it in I usually see this:

[   32.407739] scsi 9:0:0:0: Direct-Access     ASMT     2115
  0    PQ: 0 ANSI: 6
[   32.408085] sd 9:0:0:0: Attached scsi generic sg4 type 0
[   39.142436] sd 9:0:0:0: [sdd] 1000215216 512-byte logical blocks:
(512 GB/477 GiB)
[   39.142440] sd 9:0:0:0: [sdd] 4096-byte physical blocks
[   39.143419] sd 9:0:0:0: [sdd] Write Protect is off
[   39.143423] sd 9:0:0:0: [sdd] Mode Sense: 43 00 00 00
[   39.144419] sd 9:0:0:0: [sdd] Write cache: enabled, read cache:
enabled, doesn't support DPO or FUA
[   39.148165]  sdd: sdd1 sdd2 < sdd5 >
[   39.151671] sd 9:0:0:0: [sdd] Attached SCSI disk

But when I try to mount the disk:

[   45.323012] sd 9:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[   45.323017] sd 9:0:0:0: [sdd] tag#0 Sense Key : Medium Error [current]
[   45.323019] sd 9:0:0:0: [sdd] tag#0 Add. Sense: Peripheral device write fault
[   45.323022] sd 9:0:0:0: [sdd] tag#0 CDB: Write(10) 2a 00 00 00 08
00 00 00 10 00
[   45.323024] blk_update_request: I/O error, dev sdd, sector 2048
[   45.323026] Buffer I/O error on dev sdd1, logical block 0, lost
async page write
[   45.323037] Buffer I/O error on dev sdd1, logical block 1, lost
async page write
[   45.367006] sd 9:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE
[   45.367009] sd 9:0:0:0: [sdd] tag#0 Sense Key : Medium Error [current]
[   45.367011] sd 9:0:0:0: [sdd] tag#0 Add. Sense: Peripheral device write fault
[   45.367013] sd 9:0:0:0: [sdd] tag#0 CDB: Write(10) 2a 00 00 00 08
38 00 00 08 00
[   45.367014] blk_update_request: I/O error, dev sdd, sector 2104
[   45.367016] Buffer I/O error on dev sdd1, logical block 7, lost
async page write
[   45.406752] sd 9:0:0:0: [sdd] tag#0 FAILED Result: hostbyte=DID_OK
driverbyte=DRIVER_SENSE

...etc

USB descriptors:

Bus 004 Device 003: 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               2.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  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 Liangteng
  iProduct                3 ASM1153 USB3.0 TO SATA
  iSerial                 1 1153201404001
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    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     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
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

USB controllers in my main computer where I tested this:

00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0
USB OHCI1 Controller
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0
USB OHCI1 Controller
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
02:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller


--
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