FreeBSD 9.0-BETA 2, camcontrol readcap, no passthrough device found

From: Craig Rodrigues <rodrigc_at_crodrigues.org>
Date: Mon, 26 Sep 2011 15:14:29 -0700
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
<ST380815AS 4.ADA>                 at scbus2 target 0 lun 0 (pass0,ada0)
<TEAC DVD-ROM DV28SV R.0A>         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: <ST380815AS 4.ADA> 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: <TEAC DVD-ROM DV28SV R.0A> Removable CD-ROM SCSI-0 device
cd0: 150.000MB/s transfers (SATA 1.x, UDMA5, ATAPI 12bytes, PIO 8192bytes)



-- 
Craig Rodrigues
rodrigc_at_crodrigues.org
Received on Mon Sep 26 2011 - 20:14:31 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC