From owner-freebsd-questions@FreeBSD.ORG Sat Oct 27 08:29:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C67A7F78 for ; Sat, 27 Oct 2012 08:29:57 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from inga.augusta.de (inga.augusta.de [77.90.142.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4E50A8FC08 for ; Sat, 27 Oct 2012 08:29:56 +0000 (UTC) Received: from inga.augusta.de (localhost [127.0.0.1]) by inga.augusta.de (8.14.5/8.14.5) with ESMTP id q9R8TqkE052108 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 27 Oct 2012 10:29:53 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Received: (from uucp@localhost) by inga.augusta.de (8.14.5/8.14.5/Submit) with UUCP id q9R8Tojq052107; Sat, 27 Oct 2012 10:29:50 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Received: from wanderer.starbox.augusta.de (wanderer.starbox.augusta.de [192.168.71.2]) by gatekeeper.starbox.augusta.de (8.14.3/8.14.3) with ESMTP id q9R8Pw3U010158; Sat, 27 Oct 2012 10:25:58 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Message-ID: <508B9A85.1030708@ze.tum.de> Date: Sat, 27 Oct 2012 10:25:41 +0200 From: Gerhard Schmidt User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121022 Thunderbird/16.0.1 MIME-Version: 1.0 To: Polytropon , freebsd-questions@freebsd.org Subject: Re: ata controller problem References: <508A7F88.8050309@ze.tum.de> <20121026180013.45c95ea7.freebsd@edvax.de> In-Reply-To: <20121026180013.45c95ea7.freebsd@edvax.de> X-Enigmail-Version: 1.4.5 OpenPGP: id=4000A915 Content-Type: multipart/mixed; boundary="------------000408000001000905030608" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (inga.augusta.de [127.0.0.1]); Sat, 27 Oct 2012 10:29:53 +0200 (CEST) X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Oct 2012 08:29:58 -0000 This is a multi-part message in MIME format. --------------000408000001000905030608 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit On 26.10.2012 18:00, Polytropon wrote: > On Fri, 26 Oct 2012 14:18:16 +0200, Gerhard Schmidt wrote: >> The Problem is that, if there is a Drive in one of the HotSwap Bays the >> PCI-Express controller is detected as ahci0 and the onboard is detected >> as ahci1. Therefore any drives in the HotSwap Bays become ada0-3 and the >> drives on the mainboard controller are the upper numbers which causes >> the boot to fail as the Root Partition isn't there where it's expected. >> The BIOS has the PCI-Express Card as second Card only so the Kernel is >> Booted but the RootFS is not Found. > > You can use labels (GPT or UFS labels) or UFSIDs to become > independent of the actual device name where things are stored > on. You could also use this to make disks easier to identify > (e. g. "/dev/label/red1root" = the disk with a red "1" on it, > carrying the root file system). > > I suggest those pages for more detailed information: > > http://www.wonkity.com/~wblock/docs/html/disksetup.html > > http://www.freebsd.org/doc/handbook/geom-glabel.html > > Maybe as well (specific and general notes and inspiration): > > http://www.daemonforums.org/showthread.php?t=2666 > > http://www.freebsdonline.com/content/view/731/506/ > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html > > I assume that you are using UFS. > > > >> Is there a way to ensure that the onboard SATA Controller is always >> probed first. > > I'm not sure if this can be done, but using labels should > make the question go away, and the problem causing it. :-) Labels are good for naming Drives but how does it help me if the root filesystem changing device ids. I don't think the boot loader is able to use the label for the root Filesystem. Regards Estartu -- ------------------------------------------------- Gerhard Schmidt | E-Mail und JabberID: TU-München | schmidt@ze.tum.de WWW & Online Services | Tel: 089/289-25270 | Fax: 089/289-25257 | PGP-Publickey auf Anfrage --------------000408000001000905030608--