From owner-freebsd-hackers@FreeBSD.ORG Sun Aug 29 14:09:05 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68F2D16A4CE for ; Sun, 29 Aug 2004 14:09:05 +0000 (GMT) Received: from dastardly.newsbastards.org.72.27.172.IN-addr.ARPA.NOSPAM.dyndns.dk (80-219-172-255.dclient.hispeed.ch [80.219.172.255]) by mx1.FreeBSD.org (Postfix) with ESMTP id A506743D49 for ; Sun, 29 Aug 2004 14:09:03 +0000 (GMT) (envelope-from bounce@NOSPAM.dyndns.dk) Received: from Mail.NOSPAM.DynDNS.dK (ipv6.NOSPAM.dyndns.dk [2002:50db:acff:0:220:afff:fed4:dbcb]) (8.11.6/8.11.6-SPAMMERS-DeLiGHt) with ESMTP id i7TE8vL02336 verified NO) for ; Sun, 29 Aug 2004 16:09:01 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Received: (from beer@localhost) by Mail.NOSPAM.DynDNS.dK (8.11.6/FNORD) id i7TE8uG02335; Sun, 29 Aug 2004 16:08:57 +0200 (CEST) (envelope-from bounce@NOSPAM.dyndns.dk) Date: Sun, 29 Aug 2004 16:08:57 +0200 (CEST) Message-Id: <200408291408.i7TE8uG02335@Mail.NOSPAM.DynDNS.dK> X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: beer set sender to bounce@NOSPAM.dyndns.dk using -f X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed from queue /tmp X-Authentication-Warning: localhost.newsbastards.org.72.27.172.IN-addr.A: Processed by beer with -C /etc/mail/sendmail.cf-LOCAL From: Barry Bouwsma To: freebsd-hackers@freebsd.org X-Mailman-Approved-At: Mon, 30 Aug 2004 11:43:47 +0000 Subject: probe ordering of interfaces X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Aug 2004 14:09:05 -0000 [please drop me from replies and keep it on the list] A stupid question, which probably has been covered in the archives somewhere where I'm not looking. What determines the probe/attach ordering during boot? Specifically, I want to swap attach order of two devices that end up as umass, and wiring the device will not give the desired result. More specifically, I want to have firewire (sbp) devices hung onto da* first, and then USB umass devices. Even more specifically, I have a drive that I either attach via firewire on one machine, or via USB on a different box. I wish this drive to always be da0. I can connect it to a suitably ordered uhub slot in order to guarantee all other USB devices get da1-whatever. However, it seems that umass devices get attached to da* before firewire. As a result, when this drive is attached via firewire to a machine that has cardreaders and whatnot attached via USB, some other device shows as da0. If I were to wire sbp0 to be da0 on that machine, then if I were to attach it there via USB1/2, it would never be da0 and my fstab would not match. Therefore, the solution seems to be to give firewire first dibs at da*, where nowadays umass gets first pick. thanks for the enlightenment barry bouwsma