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

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

 



On Wed, 12 May 2010, Mark Lord wrote:

> On 12/05/10 02:48 PM, Alan Stern wrote:
> ..
> > That's right.  Since the command in question did have CK_COND set, the
> > device should have returned CHECK CONDITION status instead of GOOD
> > status.
> >
> > Therefore this indicates a bug in the device, not in the kernel.
> > hdparm could work around it here by issuing an explicit REQUEST SENSE
> > command, but in general it will cause trouble.
> ..
> 
> I wonder if perhaps usb-storage could honour the flag
> when the device doesn't ?

It could, but I'm not sure it would end up working right.  That is, 
usb-storage could go ahead and ask for the sense data, but the data 
values returned by the device might not all be set correctly.

The easiest way to find out is to make a version of hdparm which does 
an explicit REQUEST SENSE, and then see if the end result is 
acceptable.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux