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

Craig Rodrigues rodrigc at crodrigues.org
Tue Sep 27 21:59:30 UTC 2011


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


More information about the freebsd-current mailing list