From owner-freebsd-scsi Fri May 24 12:20:16 1996 Return-Path: owner-freebsd-scsi Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA19150 for freebsd-scsi-outgoing; Fri, 24 May 1996 12:20:16 -0700 (PDT) Received: from linux4nn.gn.iaf.nl (root@linux4nn.gn.iaf.nl [193.67.144.34]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id MAA19130 for ; Fri, 24 May 1996 12:20:07 -0700 (PDT) Received: from uni4nn.iaf.nl (root@uni4nn.iaf.nl [193.67.144.33]) by linux4nn.gn.iaf.nl (8.6.9/8.6.9) with SMTP id VAA29513; Fri, 24 May 1996 21:17:42 +0200 Received: by uni4nn.iaf.nl with UUCP id AA12819 (5.67b/IDA-1.5); Fri, 24 May 1996 21:17:02 +0200 Received: by iafnl.es.iaf.nl with UUCP id AA02212 (5.67b/IDA-1.5); Fri, 24 May 1996 20:48:32 +0200 Received: (from wilko@localhost) by yedi.iaf.nl (8.6.12/8.6.6) id TAA20825; Fri, 24 May 1996 19:13:51 +0200 From: Wilko Bulte Message-Id: <199605241713.TAA20825@yedi.iaf.nl> X-Organisation: Private FreeBSD site - Arnhem - The Netherlands Subject: Re: How to send "start unit" to disk during boot? To: joerg_wunsch@uriah.heep.sax.de Date: Fri, 24 May 1996 19:13:51 +0200 (MET DST) Cc: freebsd-scsi@freebsd.org, af@biomath.jussieu.fr In-Reply-To: <199605240625.IAA21649@uriah.heep.sax.de> from "J Wunsch" at May 24, 96 08:25:15 am X-Mailer: ELM [version 2.4 PL23] Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-scsi@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > >From the FAQ, I can guess that the SCSI inquiry FreeBSD sends before > > waiting SCSI_DELAY does *not* cause the disk to start, and then the > > subsequent mount attempt fails. > > The disk doesn't need to be spinning in order to get the INQUIRY data. But some report bogus geometry when not spun up. > > How can I make FreeBSD issue a "start unit" command to the disk > > *before* it waits for SCSI devices to settle ? > > There's already a START STOP UNIT in sdopen(), so you should try to > find out why mounting still fails. As a starting point, try this: [del] The fun starts when you want to boot 'm. Some SCSI BIOSes send a start unit, some can be toggled to do(n't) do a start unit and some are plain too stupid to know about start unit commands altogether > 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. ;-) _ __________________________________________________________________________ | / o / / _ Wilko Bulte email: wilko@yedi.iaf.nl |/|/ / / /( (_) Private FreeBSD site - Arnhem - The Netherlands --------------------------------------------------------------------------------