Date: Wed, 28 Sep 2011 14:30:54 +0300 From: Andriy Gapon <avg@FreeBSD.org> To: Craig Rodrigues <rodrigc@crodrigues.org> Cc: Gary Palmer <gpalmer@FreeBSD.org>, Alexander Motin <mav@FreeBSD.org>, freebsd-current@FreeBSD.org Subject: Re: FreeBSD 9.0-BETA 2, camcontrol readcap, no passthrough device found Message-ID: <4E83056E.4060101@FreeBSD.org> In-Reply-To: <CAG=rPVcF8PTdEkn%2BiEQWaq_rjC43v=OFSV4KECY6pacYmWAn7w@mail.gmail.com> References: <CAG=rPVe8MioVfFHVwRYtnRszesSPM8AXTXh7av7MtPEPWJCvtg@mail.gmail.com> <20110926223902.GE57708@in-addr.com> <CAG=rPVdFpL%2BrsjoCmpbRZ-5of6o1ej7_PoUXzJuXbw6u0v4JtA@mail.gmail.com> <4E81D396.7050809@FreeBSD.org> <CAG=rPVcF8PTdEkn%2BiEQWaq_rjC43v=OFSV4KECY6pacYmWAn7w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
on 28/09/2011 00:59 Craig Rodrigues said the following: > On Tue, Sep 27, 2011 at 6:45 AM, Andriy Gapon <avg@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E83056E.4060101>