kern/103602: drive gets wedged on READ CD CAPACITY if no disc is in

Scott Long scottl at samsco.org
Tue Mar 27 04:54:05 UTC 2007


Josh Carroll wrote:
>> 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):

Ok, so the problem is happening long before the READ_CAPACITY command
is sent.  If it's dying on the INQ then it's going to be quite a bit
harder to fix; every device under the sun needs to respond to an INQ
so that the OS knows what kind of device it is.  Skipping that will make
the device pretty much useless to the OS.

Scott


More information about the freebsd-scsi mailing list