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

Sarah Sharp
2010-04-26T16:27:16Z

On Wed, Apr 21, 2010 at 08:27:32PM +0200, Jonas Schwertfeger wrote:
> On 04/21/2010 08:17 PM, Mark Lord wrote:
>
> > Let's try again. Does the attached copy of hdparm work for everybody
> > now? It uses ATA_16 by default, for everything.
>
> No, it doesn't:
>
> /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

Jonas,

Can you include the kernel dmesg with USB mass storage debugging turned
on for this version of hdparm? I want to confirm the device is still
sending a phase error to the ATA_16 IDENTIFY DEVICE command with the
sector count set to 1.

Sarah Sharp