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

Andriy Gapon avg at FreeBSD.org
Wed Sep 28 11:31:05 UTC 2011


on 28/09/2011 00:59 Craig Rodrigues said the following:
> 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.

ATA_CAM doesn't do SCSI -> ATA translation.  ATA_CAM != ATA_SCSI or whatever.

-- 
Andriy Gapon


More information about the freebsd-current mailing list