From owner-freebsd-scsi Fri May 24 11:53:19 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA15817 for freebsd-scsi-outgoing; Fri, 24 May 1996 11:53:19 -0700 (PDT) Received: from schizo.cdsnet.net (schizo.cdsnet.net [204.118.244.32]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id LAA15812 for ; Fri, 24 May 1996 11:53:17 -0700 (PDT) Received: from localhost (mrcpu@localhost) by schizo.cdsnet.net (8.7.5/8.6.12) with SMTP id LAA07994; Fri, 24 May 1996 11:53:53 -0700 (PDT) Date: Fri, 24 May 1996 11:53:52 -0700 (PDT) From: Jaye Mathisen To: hdalog@zipnet.net cc: Joakim Henriksson , af@biomath.jussieu.fr, freebsd-scsi@freebsd.org Subject: Re: How to send "start unit" to disk during boot? In-Reply-To: <199605241657.MAA24459@hda> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Well, the adaptec bios will send a start unit if you set it up that way in the ^A stuff, which seems the simplest, unless I missed something previous. On Fri, 24 May 1996, Peter Dufault wrote: > > > > > 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 >