Date: Tue, 27 Sep 2011 14:59:27 -0700 From: Craig Rodrigues <rodrigc@crodrigues.org> To: Andriy Gapon <avg@freebsd.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: <CAG=rPVcF8PTdEkn%2BiEQWaq_rjC43v=OFSV4KECY6pacYmWAn7w@mail.gmail.com> In-Reply-To: <4E81D396.7050809@FreeBSD.org> References: <CAG=rPVe8MioVfFHVwRYtnRszesSPM8AXTXh7av7MtPEPWJCvtg@mail.gmail.com> <20110926223902.GE57708@in-addr.com> <CAG=rPVdFpL%2BrsjoCmpbRZ-5of6o1ej7_PoUXzJuXbw6u0v4JtA@mail.gmail.com> <4E81D396.7050809@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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. -- Craig Rodrigues rodrigc@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVcF8PTdEkn%2BiEQWaq_rjC43v=OFSV4KECY6pacYmWAn7w>