From owner-freebsd-fs@FreeBSD.ORG Wed Jul 3 21:02:49 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8D488BC7 for ; Wed, 3 Jul 2013 21:02:49 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id 4A63A1818 for ; Wed, 3 Jul 2013 21:02:48 +0000 (UTC) Received: from mfilter4-d.gandi.net (mfilter4-d.gandi.net [217.70.178.134]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 51A0CA80D8; Wed, 3 Jul 2013 23:02:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter4-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter4-d.gandi.net (mfilter4-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id lbj1QjYZ5UOI; Wed, 3 Jul 2013 23:02:36 +0200 (CEST) X-Originating-IP: 76.102.14.35 Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 36527A80B0; Wed, 3 Jul 2013 23:02:36 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id 7FFC173A1C; Wed, 3 Jul 2013 14:02:34 -0700 (PDT) Date: Wed, 3 Jul 2013 14:02:34 -0700 From: Jeremy Chadwick To: Warren Block Subject: Re: Whole disk ZFS or -a4k partition Message-ID: <20130703210234.GA71331@icarus.home.lan> References: <51D3ED4F.5030102@shurik.kiev.ua> <8afaecbe0f764963b57fac7743f483bc@DBXPR07MB064.eurprd07.prod.outlook.com> <51D42416.8080604@shurik.kiev.ua> <20130703200923.GA70533@icarus.home.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "freebsd-fs@freebsd.org" X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 21:02:49 -0000 On Wed, Jul 03, 2013 at 02:20:04PM -0600, Warren Block wrote: > On Wed, 3 Jul 2013, Jeremy Chadwick wrote: > >On Wed, Jul 03, 2013 at 04:16:06PM +0300, Alexandr wrote: > >>> > >>Thank you for your explain. I'll try it soon and post my results. One > >>thing - I can't use gpt-disks because off my laptop's bios (Lenovo > >>Thinkpad E530) cannot boot it, only mbr-style. > > > >You can use GPT with a BIOS that only supports MBR (in other words, you > >do not need UEFI to boot from GPT). FreeBSD's boot blocks are > >intelligent in this regard. > > Yes. However, the Thinkpad BIOS is not intelligent about GPT: > http://forums.freebsd.org/showthread.php?t=26759&highlight=UEFI+GPT > http://www.dec.sakura.ne.jp/~junchoon/machine/freebsd-e.html Cute. I like how the user expected Lenovo to respond on a web forum; nope, not going to happen. Phone calls + Email work better. And like many discussions about problems on forums, this one fell into the abyss. I couldn't find a PR for this T420 issue (searched PRs single and multi line text fields for T420). The patch on Junchoon's page even says: "I'm pleased if someone takes over above and send-pr", yet no one did. *I'm* not going to, because I don't have a T420 to test patches on. The only patch relevant is the one listed first, i.e. "Fixes for 9-STABLE after r243243". The other disk-related ones are irrelevant at this point. (I'm intentionally avoiding the ACPI stuff listed, since we're focused on GPT/PMBR bits in this convo.) I did verify that as stable/9 r252602 the 0xef Protected MBR workarounds for the T420 were not present. So simply put someone needs to step up to the plate who has this hardware and can verify the sys/boot/common/part.c workaround works for them. If someone needs a "more thorough patch" (a single patch that includes the part.c and diskmbr.h modifications (latter needed since "magic values" are legitimately shunned)), I can do that, but like I said, can't test it. -- | Jeremy Chadwick jdc@koitsu.org | | UNIX Systems Administrator http://jdc.koitsu.org/ | | Making life hard for others since 1977. PGP 4BD6C0CB |