Date: Fri, 24 May 1996 21:45:11 +0200 (MET DST) From: J Wunsch <j@uriah.heep.sax.de> To: freebsd-scsi@freebsd.org Cc: murduth@ludd.luth.se, af@biomath.jussieu.fr Subject: Re: How to send "start unit" to disk during boot? (solved) Message-ID: <199605241945.VAA23307@uriah.heep.sax.de> In-Reply-To: <199605241219.NAA00236@garfield.biomath.jussieu.fr> from "af@biomath.jussieu.fr" at "May 24, 96 01:19:36 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
As af@biomath.jussieu.fr wrote: > # DEC RZ disks > > 0x25 { > {Spinup on power up} i1 > } Hmm, i wonder if this would clash with other vendor's mode pages. The CD-R devices use mode pages in the 0x2X range. I always thought that there's a vendor-specific reserved range, too bad that DEC seems to violate the specs here. So i'm not sure whether this one should be committed to the source tree or not. What do other people think? > J"org, I didn't need the source code patch for sd.c you suggested, so > I can't tell. My feeling is that the mount fails precisely because > there is no delay between the sending of the "start unit" command and > the subsequent operations. But I might be misled. The scsi_start_unit() is supposed to wait until the drive reports that it has spun up. Maybe since this is the first spinup after the power cycle, it still reports a unit attention? It would be interesting to know why the existing code didn't work -- so we could fix it. (For the `od' driver, i definately needed to make this change. I've gone further in my experiments and do a scsi_stop_unit() on each odclose(), but will yet wait for some comments by the author of od(4).) -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605241945.VAA23307>