Hi,
first: keep me posted, I'm not subscribed to this list.
When I connect an external USB 3.0 HDD, I see the following in my
logs:
[ 24.616996] usb 9-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 24.629627] usb 9-2: Parent hub missing LPM exit latency info. Power
management will be impacted.
[ 24.633589] usb 9-2: New USB device found, idVendor=174c, idProduct=5136
[ 24.633602] usb 9-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 24.633608] usb 9-2: Product: AS2105
[ 24.633614] usb 9-2: Manufacturer: ASMedia
[ 24.633619] usb 9-2: SerialNumber: 00000000000000000000
[ 24.635634] usb-storage 9-2:1.0: USB Mass Storage device detected
[ 24.635974] scsi9 : usb-storage 9-2:1.0
[ 25.641098] scsi 9:0:0:0: Direct-Access ASMT 21050 PQ: 0 ANSI: 6
[ 25.642785] sd 9:0:0:0: Attached scsi generic sg3 type 0
[ 27.575049] sd 9:0:0:0: [sdc] 976773168 512-byte logical blocks: (500 GB/465
GiB)
[ 27.576367] sd 9:0:0:0: [sdc] Write Protect is off
[ 27.576380] sd 9:0:0:0: [sdc] Mode Sense: 43 00 00 00
[ 27.577799] sd 9:0:0:0: [sdc] Write cache: enabled, read cache: enabled,
doesn't support DPO or FUA
[ 27.608516] sdc: sdc1
[ 27.611767] sd 9:0:0:0: [sdc] Attached SCSI disk
[....]
[ 232.412710] XFS (dm-0): Mounting Filesystem
[ 232.668607] usb 9-2: reset SuperSpeed USB device number 3 using xhci_hcd
[ 232.682214] usb 9-2: Parent hub missing LPM exit latency info. Power
management will be impacted.
[ 232.683435] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with
disabled ep ffff8800c751ff00
[ 232.683444] xhci_hcd 0000:02:00.0: xHCI xhci_drop_endpoint called with
disabled ep ffff8800c751ff40
[ 232.715282] XFS (dm-0): Ending clean mount
Without doing anything, after a few minutes, the logfile is spammed
with a LOT more "parent hub missing LPM exit latency info" lines, and the
device gets disconnected showing this (USB_DEBUG enabled).
[ 424.790287] sd 6:0:0:0: [sdb] Device not ready
[ 424.790292] sd 6:0:0:0: [sdb]
[ 424.790293] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.790295] sd 6:0:0:0: [sdb]
[ 424.790296] Sense Key : Not Ready [current]
[ 424.790298] sd 6:0:0:0: [sdb]
[ 424.790300] Add. Sense: Medium not present
[ 424.790301] sd 6:0:0:0: [sdb] CDB:
[ 424.790302] Read(10): 28 00 00 00 0b 10 00 00 08 00
[ 424.790307] end_request: I/O error, dev sdb, sector 2832
[ 424.790309] Buffer I/O error on device sdb1, logical block 98
[ 424.793409] sd 6:0:0:0: [sdb] Device not ready
[ 424.793413] sd 6:0:0:0: [sdb]
[ 424.793415] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.793416] sd 6:0:0:0: [sdb]
[ 424.793417] Sense Key : Not Ready [current]
[ 424.793419] sd 6:0:0:0: [sdb]
[ 424.793421] Add. Sense: Medium not present
[ 424.793423] sd 6:0:0:0: [sdb] CDB:
[ 424.793424] Read(10): 28 00 00 00 0b 10 00 00 08 00
[ 424.793428] end_request: I/O error, dev sdb, sector 2832
[ 424.793430] Buffer I/O error on device sdb1, logical block 98
[ 424.794777] sd 6:0:0:0: [sdb] Device not ready
[ 424.794779] sd 6:0:0:0: [sdb]
[ 424.794779] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.794780] sd 6:0:0:0: [sdb]
[ 424.794781] Sense Key : Not Ready [current]
[ 424.794782] sd 6:0:0:0: [sdb]
[ 424.794783] Add. Sense: Medium not present
[ 424.794785] sd 6:0:0:0: [sdb] CDB:
[ 424.794785] Read(10): 28 00 00 00 0a 00 00 00 08 00
[ 424.794788] end_request: I/O error, dev sdb, sector 2560
[ 424.794790] Buffer I/O error on device sdb1, logical block 64
[ 424.796277] sd 6:0:0:0: [sdb] Device not ready
[ 424.796278] sd 6:0:0:0: [sdb]
[ 424.796279] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.796280] sd 6:0:0:0: [sdb]
[ 424.796281] Sense Key : Not Ready [current]
[ 424.796282] sd 6:0:0:0: [sdb]
[ 424.796283] Add. Sense: Medium not present
[ 424.796284] sd 6:0:0:0: [sdb] CDB:
[ 424.796284] Read(10): 28 00 00 00 0a 00 00 00 08 00
[ 424.796288] end_request: I/O error, dev sdb, sector 2560
[ 424.796289] Buffer I/O error on device sdb1, logical block 64
[ 424.797660] sd 6:0:0:0: [sdb] Device not ready
[ 424.797661] sd 6:0:0:0: [sdb]
[ 424.797662] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.797663] sd 6:0:0:0: [sdb]
[ 424.797664] Sense Key : Not Ready [current]
[ 424.797665] sd 6:0:0:0: [sdb]
[ 424.797666] Add. Sense: Medium not present
[ 424.797667] sd 6:0:0:0: [sdb] CDB:
[ 424.797668] Read(10): 28 00 00 20 08 00 00 00 08 00
[ 424.797671] end_request: I/O error, dev sdb, sector 2099200
[ 424.797672] Buffer I/O error on device sdb1, logical block 262144
[ 424.799027] sd 6:0:0:0: [sdb] Device not ready
[ 424.799029] sd 6:0:0:0: [sdb]
[ 424.799029] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.799031] sd 6:0:0:0: [sdb]
[ 424.799032] Sense Key : Not Ready [current]
[ 424.799033] sd 6:0:0:0: [sdb]
[ 424.799034] Add. Sense: Medium not present
[ 424.799035] sd 6:0:0:0: [sdb] CDB:
[ 424.799036] Read(10): 28 00 00 20 08 00 00 00 08 00
[ 424.799039] end_request: I/O error, dev sdb, sector 2099200
[ 424.799040] Buffer I/O error on device sdb1, logical block 262144
[ 424.800410] sd 6:0:0:0: [sdb] Device not ready
[ 424.800414] sd 6:0:0:0: [sdb]
[ 424.800416] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.800417] sd 6:0:0:0: [sdb]
[ 424.800418] Sense Key : Not Ready [current]
[ 424.800420] sd 6:0:0:0: [sdb]
[ 424.800423] Add. Sense: Medium not present
[ 424.800424] sd 6:0:0:0: [sdb] CDB:
[ 424.800425] Read(10): 28 00 00 02 08 00 00 00 08 00
[ 424.800430] end_request: I/O error, dev sdb, sector 133120
[ 424.800432] Buffer I/O error on device sdb1, logical block 16384
[ 424.801780] sd 6:0:0:0: [sdb] Device not ready
[ 424.801783] sd 6:0:0:0: [sdb]
[ 424.801784] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
[ 424.801785] sd 6:0:0:0: [sdb]
[ 424.801786] Sense Key : Not Ready [current]
[ 424.801788] sd 6:0:0:0: [sdb]
[ 424.801790] Add. Sense: Medium not present
[ 424.801791] sd 6:0:0:0: [sdb] CDB:
[ 424.801792] Read(10): 28 00 00 00 18 00 00 00 08 00
[ 424.801795] end_request: I/O error, dev sdb, sector 6144
[ 424.801797] Buffer I/O error on device sdb1, logical block 512
[ 424.805608] sdb: detected capacity change from 3926949888 to 0
[ 428.333259] usb 2-2: USB disconnect, device number 3
The external HDD/interface is this one:
[root@keera ~]# lsusb -v -s 009:003
Bus 009 Device 003: ID 174c:5136 ASMedia Technology Inc.
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 0x5136
bcdDevice 0.01
iManufacturer 2 ASMedia
iProduct 3 AS2105
iSerial 1 00000000000000000000
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 44
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
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
And this is the USB 3.0 controller:
[root@keera log]# lspci -v -s 02:00.0
02:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0
Host Controller (rev 02) (prog-if 30 [XHCI])
Flags: bus master, fast devsel, latency 0, IRQ 17
Memory at fdafe000 (64-bit, non-prefetchable) [size=8K]
Capabilities: [50] Power Management version 3
Capabilities: [70] MSI: Enable- Count=1/8 Maskable- 64bit+
Capabilities: [90] MSI-X: Enable+ Count=8 Masked-
Capabilities: [a0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [150] Latency Tolerance Reporting
Kernel driver in use: xhci_hcd
The drive is unuseable with USB 3.0, but works ok on any USB 2.0
controller. The filesystem on the HDD is not corrupted, and the HDD is
not faulty. Kernel 3.14.4 vanilla.
What can I do to get this to work?
Thanks, Heinz.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html