From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 21 19:12:14 2014 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 39D5D16B for ; Thu, 21 Aug 2014 19:12:14 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 884493B82 for ; Thu, 21 Aug 2014 19:12:13 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id b17so8863748lan.25 for ; Thu, 21 Aug 2014 12:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=w02WhHoo5P/xsUGdEMZhhgbeYi+0Zl9cJhjXlj+Kj2U=; b=Ef/0B79ga7mXS3s6DtunewHLeHE5Tcry70k5giUtaD87PWdsmmifJ2IQqp9IASVVzK 7wqilFQdZXG4SNaw9W+/IIQjzfFFBWg2q+8aPKfhtX1vW5RiaJu1S80oy9Z4KQKBUnyM 7V4yVwhjmM8UlivUbDwl4/+82RB6fIWDZ+kHTeB0NSq0E9MrlLd1Z9nUrNYV3xAa/zfr 7lLmItwL1QRl2SXBS4I2U9qUMlxr6XpIrDWIJ1mjj8y3NqPBJm9CbzYuDUzNTXsjmu2J sEVQsE6r1eESIXXwe4oqx30TOMtDZu51OF9h6lM6aChD70X88p2CKOtN7NeQEzvcq+Fs ox1A== X-Received: by 10.112.204.164 with SMTP id kz4mr398832lbc.15.1408648331460; Thu, 21 Aug 2014 12:12:11 -0700 (PDT) MIME-Version: 1.0 Sender: argiopeweb@gmail.com Received: by 10.112.145.193 with HTTP; Thu, 21 Aug 2014 12:11:51 -0700 (PDT) In-Reply-To: References: From: Elliot Robinson Date: Thu, 21 Aug 2014 15:11:51 -0400 X-Google-Sender-Auth: ctp-w0NutrsG6K9XGFhGtPuVGIA Message-ID: Subject: Re: root-on-ZFS - gptzfsboot fails to find pool To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Aug 2014 19:12:14 -0000 On Wed, Aug 20, 2014 at 5:46 PM, Elliot Robinson < elliot.robinson@argiopetech.com> wrote: > On Wed, Aug 20, 2014 at 4:57 PM, Warren Block wrote: > >> On Wed, 20 Aug 2014, Elliot Robinson wrote: >> >> G'day all, >>> A fresh root-on-ZFS install using bsdinstall's ZFS option on FreeBSD 10 >>> fails to boot on my Dell Studio XPS 1640. Output at boot is >>> >>> gptzfsboot: error 1 lba 48 >>> gptzfsboot: error 1 lba 1 >>> gptzfsboot: No ZFS pools located, can't boot >>> >> >> This has come up in a few places lately. Could it be due to upgrading >> the pool but not updating the bootcode? >> > > Possibly in some cases, but this is a fresh install of 10 from > FreeBSD-10.0-RELEASE-amd64-memstick.img. I've recompiled/reinstalled the > stage 2 bootcode from installed source (boot with the install media, `make` > in zroot/usr/src/sys/boot). The generated gptzfsboot is identical according > to cmp. Possible it's a regression from 9.2... > > Ah, I should mention. In the list of "Things I've Tried", we can also > include "Install from 9.3 media", which failed with the same error. > > > --- > Elliot Robinson > PGP Key: 9FEDE59A > > Digging around the bug tracker, I found this: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=144234 Appears this has been going on since at least 9.0-CURRENT, and might be associated with Dell machines running Core 2 Duo-era hardware. I'm going to see if I can track down the change to zfsboot.c mentioned in the bug report and try booting with a modified gptzfsboot. --- Elliot Robinson PGP Key: 9FEDE59A