From owner-freebsd-current@FreeBSD.ORG Wed Nov 7 02:17:14 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2CFF16A419; Wed, 7 Nov 2007 02:17:14 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from vms048pub.verizon.net (vms048pub.verizon.net [206.46.252.48]) by mx1.freebsd.org (Postfix) with ESMTP id AEF2513C4B0; Wed, 7 Nov 2007 02:17:14 +0000 (UTC) (envelope-from alex.kovalenko@verizon.net) Received: from [10.0.3.231] ([70.21.144.51]) by vms048.mailsrvcs.net (Sun Java System Messaging Server 6.2-6.01 (built Apr 3 2006)) with ESMTPA id <0JR400LW76BZN9Z1@vms048.mailsrvcs.net>; Tue, 06 Nov 2007 20:16:50 -0600 (CST) Date: Tue, 06 Nov 2007 21:16:22 -0500 From: "Alexandre \"Sunny\" Kovalenko" In-reply-to: <20071106095720.GA84549@eos.sc1.parodius.com> To: Jeremy Chadwick Message-id: <1194401782.907.12.camel@RabbitsDen> MIME-version: 1.0 X-Mailer: Evolution 2.12.1 FreeBSD GNOME Team Port Content-type: text/plain Content-transfer-encoding: 7bit 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> Cc: freebsd-current Subject: ATA_STATIC_ID [Was: [ANNOUNCEMENT] ...] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 02:17:14 -0000 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