From owner-freebsd-current@FreeBSD.ORG Mon Sep 26 23:02:06 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 31A27106566B for ; Mon, 26 Sep 2011 23:02:06 +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 8FAB78FC08 for ; Mon, 26 Sep 2011 23:02:05 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7670928bkb.13 for ; Mon, 26 Sep 2011 16:02:04 -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=sP7TWIz3mXGdKcDHiByhjrwZGOHIHLibuf4/Ne8U4NU=; b=JE1h2NGjT0uavrh1AwydllUC71SD0LA+0FLXLJL3thIuT/qHSdSbHw9j3GatAsmZz/ BRLxoWU2CW9Gl9QFvipEdVPu5ION+y46y36oB11oUM7HBI3qdCXyY0qi4Ov/xasVSM/4 pWqkuoTsDbWEcEm/YZ/IBD98johST4EbWTS4o= MIME-Version: 1.0 Received: by 10.204.6.210 with SMTP id a18mr420877bka.303.1317078124380; Mon, 26 Sep 2011 16:02:04 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.204.140.24 with HTTP; Mon, 26 Sep 2011 16:02:04 -0700 (PDT) In-Reply-To: <20110926223902.GE57708@in-addr.com> References: <20110926223902.GE57708@in-addr.com> Date: Mon, 26 Sep 2011 16:02:04 -0700 X-Google-Sender-Auth: vq_qvAOGwBYNhYz8H5-pZTwcJ5U Message-ID: From: Craig Rodrigues To: Gary Palmer Content-Type: text/plain; charset=ISO-8859-1 Cc: 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: Mon, 26 Sep 2011 23:02:06 -0000 On Mon, Sep 26, 2011 at 3:39 PM, Gary Palmer wrote: > Surely the device ID in bus/target/LUN format should be 2:0:0 for the > Seagate hard disk? Ah, OK. Here is what I get now: These are the devices, as shown in the dmesg.boot output: ada0 at ahcich0 bus 0 scbus2 target 0 lun 0 ada0: ATA-7 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 76293MB (156250000 512 byte sectors: 16H 63S/T 16383C) cd0 at ahcich1 bus 0 scbus3 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes) % camcontrol devlist at scbus2 target 0 lun 0 (pass0,ada0) at scbus3 target 0 lun 0 (pass1,cd0) % camcontrol readcap 2:0:0 (pass0:ahcich0:0:0:0): READ CAPACITY(10). CDB: 25 0 0 0 0 0 0 0 0 0 (pass0:ahcich0:0:0:0): CAM status: CCB request was invalid % camcontrol readcap 3:0:0 (pass1:ahcich1:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 (pass1:ahcich1:0:0:0): CAM status: SCSI Status Error (pass1:ahcich1:0:0:0): SCSI status: Check Condition (pass1:ahcich1:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed) % ls /dev/pass* /dev/pass0 /dev/pass1 Is "camcontrol readcap" supposed to work for an ATA disk? -- Craig Rodrigues rodrigc@crodrigues.org