From owner-freebsd-stable@FreeBSD.ORG Sat Apr 12 13:18:44 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 03DD3A8F for ; Sat, 12 Apr 2014 13:18:44 +0000 (UTC) Received: from smtp.smtpout.orange.fr (smtp07.smtpout.orange.fr [80.12.242.129]) by mx1.freebsd.org (Postfix) with ESMTP id 77F1A1671 for ; Sat, 12 Apr 2014 13:18:42 +0000 (UTC) Received: from localhost ([92.156.101.138]) by mwinf5d42 with ME id p1Jg1n00D2z9cNs031Jg6b; Sat, 12 Apr 2014 15:18:42 +0200 X-ME-Helo: localhost X-ME-Date: Sat, 12 Apr 2014 15:18:42 +0200 X-ME-IP: 92.156.101.138 Message-ID: <53493D30.1040005@orange.fr> Date: Sat, 12 Apr 2014 15:18:40 +0200 From: Claude Buisson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: Erich Dollansky , =?ISO-8859-1?Q?Trond_?= =?ISO-8859-1?Q?Endrest=F8l?= Subject: Re: Unable to mount the root fs on stable/8 r264339, GENERIC kernel, with MBR, FreeBSD slice, and UFS volume labels References: <20140412080009.2e910e5b@X220.alogt.com> <20140412205513.01ede5c2@X220.alogt.com> In-Reply-To: <20140412205513.01ede5c2@X220.alogt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: FreeBSD stable X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Apr 2014 13:18:44 -0000 On 04/12/2014 14:55, Erich Dollansky wrote: > Hi, > > On Sat, 12 Apr 2014 14:02:08 +0200 (CEST) > Trond Endrest=F8l wrote: > >> On Sat, 12 Apr 2014 08:00+0800, Erich Dollansky wrote: >> >>> does your GENERIC have these options enabled: >> >> No, the GENERIC kernel is untouched by me. >> >> The generic GENERIC kernel contains only: >> >> options GEOM_PART_GPT # GUID Partition Tables. >> options GEOM_LABEL # Provides labelization >> >> I'll try the options/modules listed below >> >>> options GEOM_PART_BSD >>> options GEOM_PART_MBR > > you need at least these two to boot UFS on a MBR schema. > >>> options GEOM_PART_GPT >>> options GEOM_RAID >>> options GEOM_LABEL >>> options GEOM_PART_EBR > > You should also need the last one. > >>> options GEOM_PART_EBR_COMPAT > > I use this as I was told to do so but I do not know if this is really > needed. > >>> >>> If not or if you are not sure try to load these modules during boot >>> time. Of course, if you do not use GPT or RAID, you do not have to >>> load these modules. >> >> If you've followed this thread you'll probably remember me doing some >> experiments in VirtualBox at home last evening local time. > > I saw. >> >> An untouched stable/8 GENERIC kernel had no problem mounting the root >> fs when told to do so by way of a UFS label, i.e. /dev/ufs/root. I >> tried VirtualBox' IDE controller and SCSI controller, and it worked >> flawlessly each time. >> > The only idea I have is that the GENERIC configuration has changed. I > remember a change in this are when 10 was still CURRENT which gave me > some confusion. OK, this was CURRENT, this should not happen on the old= > 8.x. > svnweb.freebsd.org (and my src) shows that for stable/8 i386 GENERIC is at r260271 and contains: options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization DEFAULTS is at r201535 and contains: options GEOM_PART_BSD options GEOM_PART_EBR options GEOM_PART_EBR_COMPAT options GEOM_PART_MBR > Erich CBu