Date: Tue, 24 Jun 2003 08:15:41 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@FreeBSD.ORG Subject: Re: Boot order with firewire 4.8-RELEASE Message-ID: <20030624071541.GB77226@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20030623164024.A2684@barryg.mi.celestial.com> References: <20030623164024.A2684@barryg.mi.celestial.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030624071541.GB77226>
