From owner-freebsd-scsi Fri May 24 04:19:58 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id EAA19225 for freebsd-scsi-outgoing; Fri, 24 May 1996 04:19:58 -0700 (PDT) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id EAA19219 for ; Fri, 24 May 1996 04:19:53 -0700 (PDT) From: af@biomath.jussieu.fr Received: from mekong.biomath.jussieu.fr (mekong.biomath.jussieu.fr [134.157.72.87]) by shiva.jussieu.fr (8.7.5/jtpda-5.2) with SMTP id NAA15675 ; Fri, 24 May 1996 13:19:42 +0200 (METDST) Received: from garfield.biomath.jussieu.fr (garfield) by mekong.biomath.jussieu.fr (5.67b/jn930126+af960507(mailhost)) at Fri, 24 May 1996 13:19:38 +0100 Received: from (af@localhost) by garfield.biomath.jussieu.fr (8.6.12/jtpda-5.2) id NAA00236 ; Fri, 24 May 1996 13:19:37 +0100 Message-Id: <199605241219.NAA00236@garfield.biomath.jussieu.fr> Subject: Re: How to send "start unit" to disk during boot? (solved) To: murduth@ludd.luth.se (Joakim Henriksson) Date: Fri, 24 May 1996 13:19:36 +0100 (GMT-1) Cc: freebsd-scsi@freebsd.org In-Reply-To: <199605240829.KAA05378@zero.ludd.luth.se> from "Joakim Henriksson" at May 24, 96 10:29:31 am X-Mailer: ELM [version 2.4 PL24] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 :) > Just right, Joakim ! scsi(8) needs a template description in /usr/share/misc/scsi_modes to allow the editing of the corresponding mode page. I added the following: # DEC RZ disks 0x25 { {Spinup on power up} i1 } And then I did "scsi -f /dev/rsd0c -m 37 -e -P 3", changed the value to 0, saved the result and voila, I'm a happy camper now ! My RZ24 spins up at power on. Saves me *much* time and frustration. 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. Many, *many* thanks to all for your kind help... Now I have to eventually fix the hardware problems I still have on that motherboard or memory :-( Have a good day, _Alain_ -- Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM Public Health 91 bld de l'Hopital 75013 PARIS FRANCE Medical Computing Research Labs Mail: af@biomath.jussieu.fr Tel: (+33) 1-40-77-96-19 Fax: (+33) 1-45-86-80-68 I've RTFMed. It says: "Refer to your system administrator" But... I *am* the system administrator :-]