From owner-freebsd-questions@FreeBSD.ORG Tue Mar 18 23:46:00 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 85DA71065671 for ; Tue, 18 Mar 2008 23:46:00 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 231E18FC20 for ; Tue, 18 Mar 2008 23:46:00 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-253-25-183.bredband.comhem.se ([83.253.25.183]:53570 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1JblVH-0001tk-6i for freebsd-questions@freebsd.org; Wed, 19 Mar 2008 00:45:59 +0100 Received: (qmail 85858 invoked from network); 19 Mar 2008 00:45:56 +0100 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 19 Mar 2008 00:45:56 +0100 Received: (qmail 59079 invoked by uid 1001); 19 Mar 2008 00:45:56 +0100 Date: Wed, 19 Mar 2008 00:45:56 +0100 From: Erik Trulsson To: "John A." Message-ID: <20080318234556.GA58899@owl.midgard.homeip.net> Mail-Followup-To: "John A." , freebsd-questions@freebsd.org References: <1ddef2670803181537m23fee42ar5bdd61d3c51da248@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1ddef2670803181537m23fee42ar5bdd61d3c51da248@mail.gmail.com> User-Agent: Mutt/1.5.17 (2007-11-01) X-Originating-IP: 83.253.25.183 X-Scan-Result: No virus found in message 1JblVH-0001tk-6i. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1JblVH-0001tk-6i 1be88dda30a685b5e3f0990832c86e75 Cc: freebsd-questions@freebsd.org Subject: Re: Problem with multiple scsi adapters and drive assignments X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Mar 2008 23:46:00 -0000 On Tue, Mar 18, 2008 at 06:37:30PM -0400, John A. wrote: > I've searched all over (not totally exhaustive, but close) and can't find an > answer that I thought would have come up before. Basically, I need to > change the order that the kernel assigns drive names on bootup. > > It all started out with an old Intel server board with NCR/Symbios scsi > builton. I added a QLogic QLA2100 fibre controller and everything was fine > except that it was a little slow and couldn't hold enough ram. I took > another (newer) Intel server board and put it in the case. This board has > an Adaptec AIC7896 builtin. My custom kernel didn't have the aic driver so > I took the opportunity to upgrade to 7.0 and built a new kernel. Everything > was fine until I turned on the external fibre chassis and found that my da0 > became da7. The board is in a rack-mount case so I cant put the QLA into a > different slot and the bios doesn't have any way to change irq settings on > the pci slots. > > I my mind, the logical answer is to tell FBSD to scan ahc0 before isp0. > Through all my searching through docs and the mailing list archives, I can't > find any mention of how to do this. I did find one mention of turning off > the bios on the offending scsi card (it was a system with 2 Adaptecs). Been > there, tried that, didn't work. Feel free to slap my face and call me > stupid as long as you point my to the proper info if I somehow missed it. > Here are the relevant parts of dmesg if that helps (I didn't include the > drives themselves since I can't get it boot with the external chassis turned > on): The solution is not to change the order in which things are probed, but to hard-wire which name is assigned to which disk. See the SCSI(4) manpage for information on how to do this by setting hints in /boot/device.hints. -- Erik Trulsson ertr1013@student.uu.se