Date: Fri, 24 May 1996 12:57:27 -0400 (EDT) From: Peter Dufault <dufault@hda> To: murduth@ludd.luth.se (Joakim Henriksson) Cc: af@biomath.jussieu.fr, freebsd-scsi@freebsd.org Subject: Re: How to send "start unit" to disk during boot? Message-ID: <199605241657.MAA24459@hda> In-Reply-To: <199605240829.KAA05378@zero.ludd.luth.se> from "Joakim Henriksson" at May 24, 96 10:29:31 am
next in thread | previous in thread | raw e-mail | index | archive | help
> > > I have been given a DEC RZ24 (200Mb) SCSI disk which I have > > successfully connected to my PC (133Mhz Pentium, Intel Endeavour m/b, > > AHA2940 controller, IDE boot disk). This disk, like some other DEC > > disks, does *not* spin up when powered up. Other DEC disks have > > jumpers to change this, the RZ24 doesn't seem to have them. > > Some of the Digital (all?) rz disks have the spinup parameter in one of the > vendor specific mode pages of the scsi disk. Try something like > "scsi -f /dev/rsd?c -m 37 -e -P 3" and change the spinup value to 0 the page > referenced in the m parameter might be diferent. To find out which page it > is you should do "scsi -f /dev/rsd?c -m ??" where ?? is from 0x01 to 0x3f > but maybe in decimal, someone a bit more knowledgable about the scsi command > help me out! I have only done this on a VAX station using the rzdisk utility > which works just like scsi but on rz disks :) All numbers inside the command format argument are in hex to match the SCSI spec. All arguments interpreted by the command format are read using strtol with 0 base and so are default decimal, hex if preceded by "0x" and octal if preceded by "0". scsi(8) won't edit mode pages without a format descriptor in scsi_modes, though, so you'll need documentation on that mode page. Peter -- Peter Dufault Real-Time Machine Control and Simulation HD Associates, Inc. Voice: 508 433 6936 dufault@hda.com Fax: 508 433 5267
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605241657.MAA24459>