From owner-freebsd-current@FreeBSD.ORG Tue Sep 27 21:59:30 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 3317C1065670; Tue, 27 Sep 2011 21:59:30 +0000 (UTC) (envelope-from crodr001@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 318918FC19; Tue, 27 Sep 2011 21:59:28 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so9082340bkb.13 for ; Tue, 27 Sep 2011 14:59:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=z89MlDHqyVOMvqarvqFklc1NNCW0Nf/rjc7+ZiO6rPw=; b=sT9oQtWorbZn+O8k0Pn9j9IS7gYwpCUcticRhk/W4cQJpiczu/AhCrCi7M0tjhuIF1 d+1AEWix39qCZSXdxIYkpOn2Wsu4+TTMq/iYJb5exLHFCWWizL/Lht7keZZiM6Z4ootE +Erhfp+LtPZ4YqJvrTrJZiTG8nNeIXaT4fEMQ= MIME-Version: 1.0 Received: by 10.204.4.140 with SMTP id 12mr5052507bkr.95.1317160767218; Tue, 27 Sep 2011 14:59:27 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.204.132.140 with HTTP; Tue, 27 Sep 2011 14:59:27 -0700 (PDT) In-Reply-To: <4E81D396.7050809@FreeBSD.org> References: <20110926223902.GE57708@in-addr.com> <4E81D396.7050809@FreeBSD.org> Date: Tue, 27 Sep 2011 14:59:27 -0700 X-Google-Sender-Auth: O4Z9dMSwGXI2KgYrADMAG0Tz_KE Message-ID: From: Craig Rodrigues To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 27 Sep 2011 21:59:30 -0000 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. -- Craig Rodrigues rodrigc@crodrigues.org