Subject: SCSI specs and optical drives
To: None <tech-kern@NetBSD.ORG>
From: Mark Brinicombe <amb@physig4.ph.kcl.ac.uk>
List: tech-kern
Date: 05/07/1996 17:00:40
>All that `fixing' sdclose() would do is limit the occasions on which
>you could lose from this. If you have a drive which aggressively
>violates the SCSI spec, I would suggest you *throw it out* rather than
>dumbing down (and perhaps breaking) software to deal with it.
Well I won't be throwing it out by I don't mind having the patch my kernels
when I build them. I should perhaps see if there is a new version of the
firmwear available.
On the subject of SCSI specs, I believe they indicate the optical drives like
my PD drive are not expected to support the mode sense page 4 (geometry)
thus the sd_get_parms() function should not try and read it as it will fail and
should just fake the geometry.
Ok the it will currently fake the geometry but for some reason the message
about the read of mode sense page 4 failing as an illegal command drives me
mad :-)
Cheers,
Mark
--
Mark Brinicombe amb@physig.ph.kcl.ac.uk
Research Associate http://www.ph.kcl.ac.uk/~amb/
Department of Physics tel: 0171 873 2894
King's College London fax: 0171 873 2716