From owner-freebsd-questions@FreeBSD.ORG Mon Oct 13 19:46:30 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 A5BEC106568E; Mon, 13 Oct 2008 19:46:30 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from conn-smtp.mc.mpls.visi.com (conn.mc.mpls.visi.com [208.42.156.2]) by mx1.freebsd.org (Postfix) with ESMTP id 724CF8FC14; Mon, 13 Oct 2008 19:46:30 +0000 (UTC) (envelope-from jpaetzel@FreeBSD.org) Received: from mail.tcbug.org (mail.tcbug.org [208.42.70.163]) by conn-smtp.mc.mpls.visi.com (Postfix) with ESMTP id 7DDAA78A3; Mon, 13 Oct 2008 14:46:29 -0500 (CDT) Received: from [192.168.1.143] (c-76-17-219-196.hsd1.mn.comcast.net [76.17.219.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.tcbug.org (Postfix) with ESMTPSA id 0028F4A6B37; Mon, 13 Oct 2008 14:46:28 -0500 (CDT) Message-ID: <48F3A593.3000005@FreeBSD.org> Date: Mon, 13 Oct 2008 14:46:27 -0500 From: Josh Paetzel User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Jeremy Chadwick References: <1675072737@web.de> <20081013174620.GA24725@icarus.home.lan> In-Reply-To: <20081013174620.GA24725@icarus.home.lan> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, ilikefbsd@web.de Subject: Re: new hdd numeration after mainboard change 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: Mon, 13 Oct 2008 19:46:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeremy Chadwick wrote: > On Mon, Oct 13, 2008 at 07:12:20PM +0200, ilikefbsd@web.de wrote: >> i run "FreeBSD 7.1-PRERELEASE" i had a change of the mainboard of my >> lenovo notebook t60. after reboot the harddisk which was before >> recognized as "ad0" is now "ad4". i cannot find any other devices, no >> ad0/ad1/ad2 in /dev. even in the dmesg only ad4 > > The T60 is a laptop. It only has one hard disk -- so I'm not sure why > you were seeing ad0, ad1, ad2 in the past. You shouldn't have been, > unless you had 3 hard disks hooked up somehow. > > The bottom line here is this: absolutely *nothing* requires the device > numbering to start at zero. And this is definitely the case. > >> does fbsd create a uniqe identifier for harddisks in combination with >> the motherboard or something like that? where can i dig further into >> that issue? > > It's not really an "issue". Very likely your computer has toggled some > BIOS settings. > > The T60 series has the ability to run the SATA ports in two modes: AHCI, > or Enhanced/Compatible. Chances are before the motherboard swap, yours > was running in the opposite mode that it is now. > > I would highly recommend using the AHCI mode. It works quite well with > FreeBSD under Intel controllers. Turn AHCI on (if it's not already), > and do not mess with it. > I can verify as a T60 owner, if you toggle the BIOS between AHCI and "Compatability" the hard drive will show up as either ad4 or ad0. It works fine in either mode with FreeBSD. Unless you are running another OS that doesn't have SATA support there's really no reason to use compatibility mode - -- Thanks, Josh Paetzel PGP: 8A48 EF36 5E9F 4EDA 5ABC 11B4 26F9 01F1 27AF AECB -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFI86WTJvkB8SevrssRAssTAJ97EJz5QdzKCm9vdsbI7zLJrMvBXgCfd4NB TSrrfE8CN+2BcQB21dcRDjY= =k2q2 -----END PGP SIGNATURE-----