kern/103602: drive gets wedged on READ CD CAPACITY if no disc
is in
Josh Carroll
josh.carroll at gmail.com
Tue Mar 27 04:19:02 UTC 2007
> Thanks for the hard work guys! I plan on testing this in a few hours
> when I get home from work. I'll report back soon.
Well this is odd. I have the same problem I had with the Pioneer
drive. Namely, it hangs on the INQUIRY. I had to run this for
RELENG_6_2 with the cumulative atapi-cam patch and Scott's new patch
for scsi_cd.c, since I get the mutex Giant not owned panic with my
snapshot of -CURRENT. I'll try cvsup'ing -CURRENT and re-applying the
cumulative atapi-cam.c patch and the new scsi_cd.c patch and see if I
still get the INQUIRY failure.
I had to transcribe this from a digital photo, but here's what I see
shortly after it prints out the hard drives (e.g. ad10, etc):
acd0: cmd INQUIRY status 50 result 00 error 00
(probe0:ata2:0:1:0): xpt_done
(probe0:ata2:0:1:0): camisr
(probe0:ata2:0:1:0): probedone
cam_debug: xpt_release_ccb
(probe0:ata2:0:1:0): xpt_schedule
(probe0:ata2:0:1:0): added periph to queue
cam_debug: xpt_schedule_dev
cam_debug: Inserting onto queue
(probe0:ata2:0:1:0): calling xpt_run_devq
cam_debug: xpt_run_dev_allocq
cam_debug: qfrozen_cnt == 0x0, entries == 1, openings == 16, active == 0
cam_debug: running device 0xc6633800
(probe0:ata2:0:1:0): xpt_setup_ccb
cam_debug: calling periph start
(probe0:ata2:0:1:0): probestart
(probe0:ata2:0:1:0): xpt_action
(probe0:ata2:0:1:0): INQUIRY. CDB: 12 1 80 0 ff 0
cam_debug: xpt_schedule_dev
cam_debug: Inserting onto queue
cam_debug: xpt_run_dev_sendq
cam_debug: running device 0xc6633800
(probe0:ata2:0:1:0): XPT_SCSI_IO
atapi_action: hcb at 0xc67c67c0: 12 1 80 0 ff 0
(noperiph:ata2:0:-1:-1): xpt_async
(noperiph:ata2:0:-1:-1): xpt_compile_path
(noperiph:ata2:0:-1:-1): xpt_release_path
acd0: FAILURE - INQUIRY timed out
atapi_cb: hcb at 0xc67c67c0 sense = 00: sk = 0
Thanks,
Josh
More information about the freebsd-scsi
mailing list