Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 15:11:51 -0400
From:      Elliot Robinson <elliot.robinson@argiopetech.com>
To:        freebsd-hackers@freebsd.org
Subject:   Re: root-on-ZFS - gptzfsboot fails to find pool
Message-ID:  <CAG7kECNoYJQmC0o9WuSQCQKwBB=1nqE%2Bi_MQp4fP6ZL9CDu58w@mail.gmail.com>
In-Reply-To: <CAG7kECMSE6=91s_u9SskQw05hvGDsrm17pzvdxs=WtDjb_hv9g@mail.gmail.com>
References:  <CAG7kECNrhnabRey0QD%2B6ZB-Div-cX5iaf7UbT5suxTF59UdKhg@mail.gmail.com> <alpine.BSF.2.11.1408201456200.93287@wonkity.com> <CAG7kECMSE6=91s_u9SskQw05hvGDsrm17pzvdxs=WtDjb_hv9g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <wblock@wonkity.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAG7kECNoYJQmC0o9WuSQCQKwBB=1nqE%2Bi_MQp4fP6ZL9CDu58w>