From owner-freebsd-questions@FreeBSD.ORG Sun Mar 7 03:59:50 2004 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 ADC3816A4CF for ; Sun, 7 Mar 2004 03:59:49 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD5AE43D1F for ; Sun, 7 Mar 2004 03:59:48 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i27Bxi7V086766 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Mar 2004 11:59:44 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i27BxhsH086765; Sun, 7 Mar 2004 11:59:43 GMT (envelope-from matthew) Date: Sun, 7 Mar 2004 11:59:43 +0000 From: Matthew Seaman To: scion+fbsdq@webrelay.net Message-ID: <20040307115943.GC52694@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , scion+fbsdq@webrelay.net, freebsd-questions@freebsd.org References: <20040307035317.600B738026@nimbus.webrelay.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline In-Reply-To: <20040307035317.600B738026@nimbus.webrelay.net> User-Agent: Mutt/1.5.6i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk X-Virus-Scanned: clamd / ClamAV version devel-20040304, clamav-milter version 0.67j cc: freebsd-questions@freebsd.org Subject: Re: Fixing (scsi) drives at particular /dev locations 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: Sun, 07 Mar 2004 11:59:50 -0000 --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--