Date: Sun, 7 Mar 2004 11:59:43 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: scion+fbsdq@webrelay.net Cc: freebsd-questions@freebsd.org Subject: Re: Fixing (scsi) drives at particular /dev locations Message-ID: <20040307115943.GC52694@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040307035317.600B738026@nimbus.webrelay.net> References: <20040307035317.600B738026@nimbus.webrelay.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--DIOMP1UsTsWJauNi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 06, 2004 at 10:53:17PM -0500, scion+fbsdq@webrelay.net wrote: > FreeBSD 5.2.1; Sun/Cobalt LX50; GENERIC kernel >=20 > Greetings, >=20 > The darned LX50 is wired with the first SCSI bus out the back, > and the second toward the builtin drives. So, upon adding an > external drive, the internal drives all renumber with the generic > kernel+device hints. >=20 > I thought adding a line to /boot/device.hints might work, so > reading /usr/src/sys/i386/conf/gethints.awk for clues, I added: >=20 > hint.da.0.at=3D"ahc1" Close, but no cigar. See the section on "SCSI DEVICE CONFIGURATION" in /usr/src/sys/conf/NOTES. What you want is: hint.scbus.0.at=3D"ahc1" hint.scbus.1.at=3D"ahc0" hint.da.0.at=3D"scbus0" hint.da.0.target=3D"0" hint.da.0.unit=3D"0" which swaps the ordering of the SCSI busses, and wires down da0 to bus 0, target 0, LUN 0. You could probably get away with just the first two lines, as the rest should be the default anyhow. 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 --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFASw6vdtESqEQa7a0RArGsAKCUdhsGIHA/n6nyMNtN93UwFeI7oQCgmMb+ S7VVeXMYxBi5Qyiq0Fnr3HE= =b+RC -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040307115943.GC52694>