From owner-freebsd-questions@FreeBSD.ORG Tue Jun 24 00:16:03 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1322837B401 for ; Tue, 24 Jun 2003 00:16:03 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C5BF43FBF for ; Tue, 24 Jun 2003 00:16:01 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5O7Ff1I077783 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 24 Jun 2003 08:15:56 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5O7FfLl077782 for freebsd-questions@FreeBSD.ORG; Tue, 24 Jun 2003 08:15:41 +0100 (BST) (envelope-from matthew) Date: Tue, 24 Jun 2003 08:15:41 +0100 From: Matthew Seaman To: freebsd-questions@FreeBSD.ORG Message-ID: <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , freebsd-questions@FreeBSD.ORG References: <20030623164024.A2684@barryg.mi.celestial.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="i0/AhcQY5QxfSsSZ" Content-Disposition: inline In-Reply-To: <20030623164024.A2684@barryg.mi.celestial.com> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.5 required=5.0 tests=AWL,BAYES_01,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) Subject: Re: Boot order with firewire 4.8-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jun 2003 07:16:03 -0000 --i0/AhcQY5QxfSsSZ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2003 at 04:40:24PM -0700, Bill Campbell wrote: > Be that as it may, when I booted the new kernel with an external firewire > disk turned on, the new kernel detected the firewire disk before it did t= he > SCSI on the adaptec controller, and naturally couldn't find a working > system on it. The system would boot with the firewire drive off allowing > me to determine that I had screwed up the build. >=20 > My basic question is how does one control the order devices are scanned > during the boot process? I would like to be sure that the system will co= me > up after a power failure with no operator intervention if possible. It's not really the order that the disks are discovered which matters as such, but that the device numbers for your system disks depend on the presence or absence of the external drive. You can get round that by 'wiring down' the SCSI buses and devices in your kernel config. Eg. assume that your boot drive is at LUN 0 on an Adaptec SCSI interface. Then you could do: device scbus0 at ahc0 device da0 at scbus0 target 0 unit 0 to ensure your boot disk always appears as da0. See the section 'SCSI DEVICE CONFIGURATION' in /usr/src/sys/i386/conf/LINT for more details. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --i0/AhcQY5QxfSsSZ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9/qddtESqEQa7a0RAkMYAJwMvYcfS0o+Iq7+u6cv9EvSiZCesACcDEye bNqG5MInqlWACJulzgz1lkY= =WpJ7 -----END PGP SIGNATURE----- --i0/AhcQY5QxfSsSZ--