From owner-freebsd-current@FreeBSD.ORG Mon Sep 26 22:14:31 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 5C47C1065670 for ; Mon, 26 Sep 2011 22:14:31 +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 DF99D8FC0A for ; Mon, 26 Sep 2011 22:14:30 +0000 (UTC) Received: by bkbzs8 with SMTP id zs8so7632537bkb.13 for ; Mon, 26 Sep 2011 15:14:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=Jxe0IndP8YZ6IIzu3aMJwBszxCy/5yhDFAEZi7uZBNE=; b=ijV55uHV3GhWGazI92UZvp6+a0z7d4lVLKZ5Agl7Vf4e8MB8a2BhXJH/y33tK/IUyD Q3Axh9A7qe/MVNt8vtkyNNEULgBAVhXV0uc4IJAi/BPfcEf1wm4ZNdLOHJ624AOAblna zlsQs4Q+faEvUbrZ6bKhmPQfFyQubyNPT33Sg= MIME-Version: 1.0 Received: by 10.204.141.134 with SMTP id m6mr12443bku.199.1317075269522; Mon, 26 Sep 2011 15:14:29 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.204.140.24 with HTTP; Mon, 26 Sep 2011 15:14:29 -0700 (PDT) Date: Mon, 26 Sep 2011 15:14:29 -0700 X-Google-Sender-Auth: 4Qr4cKZEDaHSDlog1mszv3Pp9GQ Message-ID: From: Craig Rodrigues To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: 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 22:14:31 -0000 Hi, I am running this version: 9.0-BETA2 FreeBSD 9.0-BETA2 #23 r225745: Fri Sep 23 19:45:09 PDT 2011 I found this behavior: % camcontrol devlist at scbus2 target 0 lun 0 (pass0,ada0) at scbus3 target 0 lun 0 (pass1,cd0) % camcontrol readcap 0:0:0 camcontrol: cam_open_btl: no passthrough device found at 0:0:0 % camcontrol readcap 0:0 camcontrol: cam_open_btl: no passthrough device found at 0:0:0 % ls /dev/pass* /dev/pass0 /dev/pass1 % camcontrol readcap pass0 % camcontrol readcap pass0 (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 Is this a bug? What should the proper syntax for "camcontrol readcap" be? 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) -- Craig Rodrigues rodrigc@crodrigues.org