On Mon, Sep 26, 2011 at 3:39 PM, Gary Palmer <gpalmer_at_freebsd.org> 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: <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) % 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 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_at_crodrigues.orgReceived on Mon Sep 26 2011 - 21:02:06 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:18 UTC