From owner-freebsd-stable Tue Oct 16 17: 6:46 2001 Delivered-To: freebsd-stable@freebsd.org Received: from pericles.IPAustralia.gov.au (pericles.IPAustralia.gov.au [202.14.186.30]) by hub.freebsd.org (Postfix) with ESMTP id A055937B408 for ; Tue, 16 Oct 2001 17:06:40 -0700 (PDT) Received: (from smap@localhost) by pericles.IPAustralia.gov.au (8.11.3/8.11.1) id f9H06cb46838 for ; Wed, 17 Oct 2001 10:06:38 +1000 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: from newton.aipo.gov.au(10.0.100.18) by pericles.IPAustralia.gov.au via smap (V2.1) id xma046800; Wed, 17 Oct 01 10:06:23 +1000 Received: from localhost (carl@localhost) by newton.aipo.gov.au (8.11.6/8.11.6) with ESMTP id f9H06M560861 for ; Wed, 17 Oct 2001 10:06:22 +1000 (EST) (envelope-from carl@xena.ipaustralia.gov.au) X-Authentication-Warning: newton.aipo.gov.au: carl owned process doing -bs Date: Wed, 17 Oct 2001 10:06:22 +1000 (EST) From: Carl Makin X-X-Sender: To: Subject: I've got those device scanning blues... Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Morning All, I've been getting whacked by the order in which FreeBSD 4.2/4.3 scans PCI slots. I've got a Dell 6300 running 4.2-STABLE (18/01/01 build) that now has just over 500 Gb of disk attached from an IBM ESS F20 (Shark). The Shark is attached via an Adaptec 2944. The thing that has been nailing me is that FreeBSD scans PCI slots before embedded PCI interfaces. This means that everytime I add another disk via the shark, or if I add another PCI scsi card the disks get allocated *before* the internal devices. When we first set this thing up "da0" was the first internal drive and became the boot disk. As soon as I added Shark disks via the 2944, they became da0, etc, and the original boot disk became da4 . After a lot of fiddling and a couple of 6 hour overtime shifts moving data around, I've finally just removed all internal disk and only have Shark disk attached. It does mean that if I want to add Shark disk to any of our other FreeBSD boxes I either have to move them completely to the Shark or fiddle around a lot to make the damn things boot. Is there a knob I can twiddle to change the scan order? (Yes I know you can change the scan order the bios uses, but that makes no difference to how FreeBSD scans the busses.) Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message