Re: FreeBSD 9.0-BETA 2, camcontrol readcap, no passthrough device found

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Tue, 27 Sep 2011 14:59:27 -0700
On Tue, Sep 27, 2011 at 6:45 AM, Andriy Gapon <avg_at_freebsd.org> wrote:
> on 27/09/2011 02:02 Craig Rodrigues said the following:
>> Is "camcontrol readcap" supposed to work for an ATA disk?
>
> Or, rephrased - is a SCSI command supposed to work for an ATA disk.
> I am sure that you know the answer.
>
> P.S. camcontrol, of course, can be extended to support the corresponding ATA command.


Hi,

According to this document:

"SCSI / ATA Translation Standard"
http://hackipedia.org/Hardware/SCSI/SCSI-ATA/SCSI%20%20ATA%20Translation.pdf

The SCSI READ CAPACITY command should map to the ATA IDENTIFY DEVICE command.
I am not familiar with the ATA_CAM code, so don't know if we do this properly
for ATA_CAM.  Maybe Alexander Motin can chime in.
-- 
Craig Rodrigues
rodrigc_at_crodrigues.org
Received on Tue Sep 27 2011 - 19:59:30 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC