Re: System hangs when using USB 3.0 HD with on Ubuntu

Alan Stern
2010-04-03T16:42:35Z

On Sat, 3 Apr 2010, Jonas Schwertfeger wrote:

> On 04/03/2010 03:12 PM, Mark Lord wrote:
> > Here's the pre-release, attached to this email.
> > Please do give it a try and report back.
>
> Doesn't seem to fix it. Here's the output:
>
> sudo ./hdparm --verbose /dev/sdb
>
> /dev/sdb:
> outgoing cdb: 85 08 2e 00 00 00 01 00 00 00 00 00 00 40 ec 00
> data: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
> SG_IO: ATA_16 status=0x0, host_status=0x0, driver_status=0x0
> SG_IO: bad response (not CHECK_CONDITION)
> Trying legacy HDIO_DRIVE_CMD
> outgoing cdb: 85 08 2e 00 00 00 01 00 00 00 00 00 00 40 a1 00
> data: 40 00 ff 3f 37 c8 10 00 00 00 00 00 3f 00 00 00
> SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
> SG_IO: sb[]: 72 0b 00 00 00 00 00 0e 09 0c 00 04 00 01 00 00 00 00 00
> 00 40 51 00 00 00 00 00 00 00 00 00 00
> SG_IO: desc[]: 09 0c 00 04 00 01 00 00 00 00 00 00
> ATA_16 stat=51 err=04 nsect=01 lbal=00 lbam=00 lbah=00 dev=40
> I/O error, ata_op=0xa1 ata_status=0x51 ata_error=0x04
> HDIO_DRIVE_CMD(identify) failed: Input/output error
> readonly = 0 (off)
> readahead = 256 (on)
> geometry = 121601/255/63, sectors = 1953525168, start = 0

Can you acquire a usbmon trace showing what happens when you run this?
Instructions are in the kernel source file
Documentation/usb/usbmon.txt.

Alan Stern