Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Nov 2007 21:16:22 -0500
From:      "Alexandre \"Sunny\" Kovalenko" <alex.kovalenko@verizon.net>
To:        Jeremy Chadwick <koitsu@FreeBSD.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   ATA_STATIC_ID [Was: [ANNOUNCEMENT] ...]
Message-ID:  <1194401782.907.12.camel@RabbitsDen>
In-Reply-To: <20071106095720.GA84549@eos.sc1.parodius.com>
References:  <472F5D9A.9050900@delphij.net> <472FCC15.9040903@gmail.com> <472FD0FB.9090608@delphij.net> <472FD23E.1060001@delphij.net> <47301CF6.8030808@delphij.net> <47301E91.7070303@gmail.com> <47301F40.8070605@delphij.net> <47302667.8030900@gmail.com> <20071106091409.GB83703@eos.sc1.parodius.com>	<473035D4.3030200@gmail.com> <20071106095720.GA84549@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Tue, 2007-11-06 at 01:57 -0800, Jeremy Chadwick wrote: 
> On Tue, Nov 06, 2007 at 04:37:24AM -0500, Aryeh M. Friedman wrote:
> > yes btw due to god knows what reason the patch renumbered ad8 to ad6
> 
> That can be discussed in the future.  ATA device numbering (that is to
> say, the X of an "adX" device) has always been a little odd in my
> experiences.  Turning on or off a ATA interface (PATA or SATA) seems to
> adjust the numbering, regardless of ATA_STATIC_ID or not.  It's likely
> that I do not understand what the kernel option does.

I have somewhat different (and very pleasant ;) experience with this
kernel option, so if you want to compare notes, kernel or hardware
configurations let me know.

Basic story is that I have ThikPad X60 with ICH7M controlling internal
SATA hard drive and UltraBase docking station with ICH7 controlling PATA
hard drive in the dock.

Without ATA_STATIC_ID, internal drive will show up as ad0 outside of the
dock, and as ad1, while docked. Disk in the docking station will become
ad0, and system will not boot without applying some magic incantations
regarding root device.

With ATA_STATIC_ID, internal drive will always show up as ad4 (docked or
not), and drive in the dock will become ad0.

Hope this helps.
-- 
Alexandre "Sunny" Kovalenko




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1194401782.907.12.camel>