From owner-freebsd-scsi Fri May 24 09:58:55 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id JAA02403 for freebsd-scsi-outgoing; Fri, 24 May 1996 09:58:55 -0700 (PDT) Received: from hda (ip49-max2-bos.zipnet.net [199.232.252.149]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id JAA02388 for ; Fri, 24 May 1996 09:58:48 -0700 (PDT) Received: (from dufault@localhost) by hda (8.6.11/8.6.9) id MAA24459; Fri, 24 May 1996 12:57:28 -0400 From: Peter Dufault Message-Id: <199605241657.MAA24459@hda> Subject: Re: How to send "start unit" to disk during boot? To: murduth@ludd.luth.se (Joakim Henriksson) Date: Fri, 24 May 1996 12:57:27 -0400 (EDT) Cc: af@biomath.jussieu.fr, freebsd-scsi@freebsd.org In-Reply-To: <199605240829.KAA05378@zero.ludd.luth.se> from "Joakim Henriksson" at May 24, 96 10:29:31 am Reply-to: hdalog@zipnet.net X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > 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