Date: Mon, 26 Sep 2011 16:02:04 -0700 From: Craig Rodrigues <rodrigc@crodrigues.org> To: Gary Palmer <gpalmer@freebsd.org> Cc: freebsd-current@freebsd.org Subject: Re: FreeBSD 9.0-BETA 2, camcontrol readcap, no passthrough device found Message-ID: <CAG=rPVdFpL%2BrsjoCmpbRZ-5of6o1ej7_PoUXzJuXbw6u0v4JtA@mail.gmail.com> In-Reply-To: <20110926223902.GE57708@in-addr.com> References: <CAG=rPVe8MioVfFHVwRYtnRszesSPM8AXTXh7av7MtPEPWJCvtg@mail.gmail.com> <20110926223902.GE57708@in-addr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 26, 2011 at 3:39 PM, Gary Palmer <gpalmer@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@crodrigues.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG=rPVdFpL%2BrsjoCmpbRZ-5of6o1ej7_PoUXzJuXbw6u0v4JtA>