From owner-freebsd-questions@FreeBSD.ORG Wed Feb 3 17:55:30 2010 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 7BAFB1065670 for ; Wed, 3 Feb 2010 17:55:30 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id D41AC8FC15 for ; Wed, 3 Feb 2010 17:55:29 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o13HtOuo036954 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 3 Feb 2010 17:55:24 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk o13HtOuo036954 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1265219724; bh=E9o7SFeJ0lWT08OYYgi04kxM6h5s5bSmeI/Ch/RCFwU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding:Cc:Content-Type: Date:From:In-Reply-To:Message-ID:Mime-Version:References:To; z=Message-ID:=20<4B69B88C.60604@infracaninophile.co.uk>|Date:=20Wed ,=2003=20Feb=202010=2017:55:24=20+0000|From:=20Matthew=20Seaman=20 |Organization:=20Infracaninophile |User-Agent:=20Mozilla/5.0=20(Macintosh=3B=20U=3B=20Intel=20Mac=20 OS=20X=2010.6=3B=20en-GB=3B=20rv:1.9.1.7)=20Gecko/20100111=20Thund erbird/3.0.1|MIME-Version:=201.0|To:=20Steve=20Franks=20|CC:=20FreeBSD=20Mailing=20List=20|Subject:=20Re:=20adding=20disk=20moves=20ad0=20to=2 0ad4|References:=20<539c60b91002030935m31f66c6ft247f1231ad61656@ma il.gmail.com>|In-Reply-To:=20<539c60b91002030935m31f66c6ft247f1231 ad61656@mail.gmail.com>|X-Enigmail-Version:=201.0|Content-Type:=20 text/plain=3B=20charset=3DUTF-8|Content-Transfer-Encoding:=207bit; b=EANIwrJG1FVoAgtSBtHSR3WKbH83jH3tZtvRZLU5oK0aYLstvkUCOjN7Dd46t66Zn gADz3ikHrSYYj6kTa0yEVnjUxd8NHP1PsQc9t5ZkW35C35hJM5cmsKBN1DZWrInroL PHwQ7UmFuhoK0JoRVH/V0GFoB/PaXrYREAzg6Wmg= Message-ID: <4B69B88C.60604@infracaninophile.co.uk> Date: Wed, 03 Feb 2010 17:55:24 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-GB; rv:1.9.1.7) Gecko/20100111 Thunderbird/3.0.1 MIME-Version: 1.0 To: Steve Franks References: <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com> In-Reply-To: <539c60b91002030935m31f66c6ft247f1231ad61656@mail.gmail.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.95.3 at happy-idiot-talk.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VERIFIED,SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on happy-idiot-talk.infracaninophile.co.uk Cc: FreeBSD Mailing List Subject: Re: adding disk moves ad0 to ad4 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: Wed, 03 Feb 2010 17:55:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/02/2010 17:35, Steve Franks wrote: > Just curious, having read the handbook section talking about freebsd > going straight to the hardware and skipping the bios for disk > numbering, why then, if I stick a sata disk in 'sata0' on the > motherboard, does it come up as ad0, but if I add a second disk in > 'sata1' or 'pata0', on the next boot, I have no ad0, but ad4 and ad6? > This seems to be the case with every mobo I've owned in the last 2 > years from a variety of mfr's. Is there a way around this? I don't > care what it comes out as, as long as it stays put... Since I have > the only fbsd system at work, I tend to format alot of funky drives > for people, and it gets anoying having to swap fstab's every time... I've never seen disks spontaneously changing from ad0 to ad4. I have seen motherboards where toggling BIOS settings to do with PATA compatibility / SATA support changes the device number. Sata drives frequently appear as ad4 and ad6 -- that's because each SATA connector is behaving like a separate IDE bus (with 2 devices -- master and slave -- allocated per bus, even though you'ld only ever use one with SATA disks). Devices ad0 -- ad3 are allocated to the *real* IDE busses on the motherboard -- probably one of those slots is taken up by a CD or DVD drive. Now, with some mobo's ad4 and ad6 is all you're going to get. Others, you can tweak some settings in the BIOS and your SATA drives will then appear as ad0 and ad1. Unfortunately it's pot luck as to what kit this works with, and what it doesn't. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAktpuIwACgkQ8Mjk52CukIy8MACfdua7RHPUT+qTKtc608W2pPWk /0YAniWJVjPogJEolV+maVHit7xTpYXm =WB7h -----END PGP SIGNATURE-----