USB UASP SSD problem

Issues related to hardware problems
Post Reply
mghe
Posts: 710
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

USB UASP SSD problem

Post by mghe » 2018/08/29 07:41:05

Hi,

I bought HP P600 SSD USB drive and I have problem with handle it under Linux system. On Win 10 it look like works OK.

It has UASP technology: https://en.wikipedia.org/wiki/USB_Attached_SCSI

Linux CentOS 7.5, kernel: 4.18.1-1.el7.elrepo.x86_64

Similar problem has Mint 19.

Problem persist on other PC as well.


Info in message log after plug in

Code: Select all

Aug 29 08:41:54 localhost kernel: usb 4-1: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
Aug 29 08:41:54 localhost kernel: usb 4-1: New USB device found, idVendor=03f0, idProduct=b140, bcdDevice=22.01
Aug 29 08:41:54 localhost kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Aug 29 08:41:54 localhost kernel: usb 4-1: Product: P600
Aug 29 08:41:54 localhost kernel: usb 4-1: Manufacturer: HP
Aug 29 08:41:54 localhost kernel: usb 4-1: SerialNumber: HBSC4810060000E
Aug 29 08:41:54 localhost kernel: usbcore: registered new interface driver usb-storage
Aug 29 08:41:54 localhost kernel: scsi host3: uas
Aug 29 08:41:54 localhost kernel: usb 4-1: stat urb: status -32
Aug 29 08:41:54 localhost kernel: scsi 3:0:0:0: tag#0 data cmplt err -32 uas-tag 1 inflight: CMD 
Aug 29 08:41:54 localhost kernel: scsi 3:0:0:0: tag#0 CDB: Inquiry 12 00 00 00 24 00
Aug 29 08:41:54 localhost org.xfce.FileManager: thunar-volman: Unsupported USB device type "usb".
Aug 29 08:42:01 localhost dbus[894]: [system] Activating service name='org.freedesktop.problems' (using servicehelper)
Aug 29 08:42:01 localhost dbus[894]: [system] Successfully activated service 'org.freedesktop.problems'
Aug 29 08:42:15 localhost kernel: scsi 3:0:0:0: tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD 
Aug 29 08:42:15 localhost kernel: scsi 3:0:0:0: tag#0 CDB: Inquiry 12 00 00 00 24 00
Aug 29 08:42:16 localhost kernel: scsi host3: uas_eh_device_reset_handler FAILED to get lock err -16
Aug 29 08:42:16 localhost kernel: scsi 3:0:0:0: Device offlined - not ready after error recovery
Aug 29 08:42:16 localhost kernel: usbcore: registered new interface driver uas
Aug 29 08:42:16 localhost journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb4/4-1
Aug 29 08:42:16 localhost journal: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:15.0/0000:03:00.0/usb4/4-1/4-1:1.0
Aug 29 08:42:16 localhost org.xfce.FileManager: thunar-volman: Unsupported USB device type "uas".
Some info from lsusb:

Code: Select all

Bus 004 Device 002: ID 03f0:b140 Hewlett-Packard 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         9
  idVendor           0x03f0 Hewlett-Packard
  idProduct          0xb140 
  bcdDevice           22.01
  iManufacturer           1 HP
  iProduct                2 P600
  iSerial                 3 HBSC4810060000E
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength          121
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              224mA
    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              14
        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              15
        MaxStreams             32
        Data-out pipe (0x04)
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           42
  bNumDeviceCaps          3
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000f0e
      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          32 micro seconds
  ** UNRECOGNIZED:  14 10 0a 00 01 00 00 00 00 11 00 00 30 40 0a 00 b0 40 0a 00
Device Status:     0x000c
  (Bus Powered)
  U1 Enabled
  U2 Enabled

I still looking resolve problem, but for any tips I will be appreciate.

mghe
Posts: 710
Joined: 2015/11/24 12:04:43
Location: Katowice, Poland

Re: USB UASP SSD problem

Post by mghe » 2018/08/29 17:06:53

It looks like I have resolve problem.

usb-storage.quirks=03f0:b140:u

Now OS use usb-storage driver and USB SSD works fine.

Post Reply