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

James Bottomley
2010-04-21T14:15:22Z

On Wed, 2010-04-21 at 10:08 -0400, Mark Lord wrote:
> On 21/04/10 10:04 AM, James Bottomley wrote:
> >
> > But this isn't a userspace problem. By the time we present the device
> > to userspace, we already know what it is ... so you can go by device
> > type and only use ATA_12 for disk devices.
> ..
>
> Did you instead mean to say "use ATA_12 for non-disk devices" ?

No ... ATA_12 is opcode 0xa1 which is BLANK to MMC devices, hence we
should only use it for non-mmc devices. However, the point I was making
is that actually only disk devices should use ATA. ATAPI is really SCSI
encapsulation over ATA, so it doesn't really make sense to send ATA over
SCSI encapsulation to ATAPI devices, we should just send plain SCSI
(crosses fingers and hopes MMC devices never do smart).

James