From owner-freebsd-current@FreeBSD.ORG Wed Sep 28 11:31:05 2011 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1801E106566B; Wed, 28 Sep 2011 11:31:05 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id BEF478FC14; Wed, 28 Sep 2011 11:31:03 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA27533; Wed, 28 Sep 2011 14:30:55 +0300 (EEST) (envelope-from avg@FreeBSD.org) Message-ID: <4E83056E.4060101@FreeBSD.org> Date: Wed, 28 Sep 2011 14:30:54 +0300 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:6.0.2) Gecko/20110907 Thunderbird/6.0.2 MIME-Version: 1.0 To: Craig Rodrigues References: <20110926223902.GE57708@in-addr.com> <4E81D396.7050809@FreeBSD.org> In-Reply-To: X-Enigmail-Version: undefined Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Gary Palmer , Alexander Motin , freebsd-current@FreeBSD.org Subject: Re: FreeBSD 9.0-BETA 2, camcontrol readcap, no passthrough device found X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2011 11:31:05 -0000 on 28/09/2011 00:59 Craig Rodrigues said the following: > On Tue, Sep 27, 2011 at 6:45 AM, Andriy Gapon 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