From owner-svn-src-projects@FreeBSD.ORG Tue Jan 15 16:49:43 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 48484626; Tue, 15 Jan 2013 16:49:43 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 02F43725; Tue, 15 Jan 2013 16:49:42 +0000 (UTC) Received: from rkelly-sslvpn-nc.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id r0FGnXKr068505 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 15 Jan 2013 08:49:35 -0800 (PST) (envelope-from marcel@xcllnt.net) Subject: Re: svn commit: r245399 - projects/altix2/sys/geom/part Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii From: Marcel Moolenaar In-Reply-To: <50F55F11.3040005@freebsd.org> Date: Tue, 15 Jan 2013 08:49:28 -0800 Content-Transfer-Encoding: 7bit Message-Id: References: <201301132336.r0DNaLb7038996@svn.freebsd.org> <50F55F11.3040005@freebsd.org> To: Lawrence Stewart , Robert Noland X-Mailer: Apple Mail (2.1499) X-Mailman-Approved-At: Tue, 15 Jan 2013 16:57:35 +0000 Cc: Marcel Moolenaar X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jan 2013 16:49:43 -0000 On Jan 15, 2013, at 5:52 AM, Lawrence Stewart wrote: > On 01/14/13 10:36, Marcel Moolenaar wrote: >> Author: marcel >> Date: Sun Jan 13 23:36:21 2013 >> New Revision: 245399 >> URL: http://svnweb.freebsd.org/changeset/base/245399 >> >> Log: >> Marking the PMBR as active may be needed for some BIOSes to boot from the >> disk, but also has some EFI implementations reject the GPT altogether. >> Make the behaviour controllable by a sysctll and have it default to 1 >> on i386 and amd64 and 0 otherwise. This means that we mark the PMBR as >> active on i386 and amd64 by default, but remain compliant most of the >> time. > > Would I be correct in thinking this provides a relevant workaround to > the issue I reported a few months back? > > http://lists.freebsd.org/pipermail/freebsd-fs/2012-August/014864.html > > Sounds like you got bitten by the same problem as me? Excellent description! Yes, we're bitten by the same thing. [I moved the src commit aliases to BCC so that they'll drop off and I added rnoland@] Robert: with r198097 you changed the GPT scheme to mark the PMBR partition as active. This trips up with at least some (U)EFI environments (both ia64 & x86). Can you describe the scenario you we're fixing so that we can better assess what to do with what appears to be a compatibility conflict. In general: I think we need to define what we're going to support and how. If for example we're on a x86 with a legacy BIOS and we want to partition the disk with GPT, but find that we cannot boot unless we make GPT non-standard then we should think twice about supporting that. Put differently: if there are BIOSes around that don't work well with GPT, then we should not try to make it work at the expense of "strict" compliant implementations. This is not to say anything about r198097 -- I don't know what the underlying reason for that change is precisely. -- Marcel Moolenaar marcel@xcllnt.net