Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Aug 2013 14:46:17 -0700
From:      Peter Wemm <peter@wemm.org>
To:        J David <j.david.lists@gmail.com>
Cc:        "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-stable@freebsd.org, Andriy Gapon <avg@freebsd.org>
Subject:   Re: Problem with zfsloader on 9.2-BETA2
Message-ID:  <CAGE5yCpJZtfRNOsC-EAvy97zyV7FfirkCGOTjAqOm55-FpW58w@mail.gmail.com>
In-Reply-To: <CABXB=RRDj_%2B0spjuhvNfuEy-OwqROO4y2BLQrXeBXw0XFr_zrg@mail.gmail.com>
References:  <CABXB=RRhVDdKCidwnrji1qR41Rx7uvs2Lx1ZPF1FREOHcnm5bg@mail.gmail.com> <51FD5709.7050306@FreeBSD.org> <CABXB=RS4HSmtPHrw%2BcniTaL_63JS5fA3OcB91y-mCN1DmUKs5Q@mail.gmail.com> <5200C7A3.3070403@yandex.ru> <CABXB=RRU9f%2BFmSV=SCmKoaEjhpDptkD5i-v0YVm=gYBEH63Scw@mail.gmail.com> <5202006B.5060708@FreeBSD.org> <CABXB=RRDj_%2B0spjuhvNfuEy-OwqROO4y2BLQrXeBXw0XFr_zrg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Aug 7, 2013 at 11:59 AM, J David <j.david.lists@gmail.com> wrote:
> On Wed, Aug 7, 2013 at 4:08 AM, Andriy Gapon <avg@freebsd.org> wrote:
>> Could you please hack gpt_checkhdr() in sys/boot/common/part.c to print all the
>> relevant values for this check and try bootparttest again?
[..]
> So it looks like this check is tripping because of hdr->hdr_entries (9 < 128).

I've run into this before.  Our loader and kernel are excessively
pedantic about this.

gpart create -s gpt -n <entries> ...

leads to bootblocks or loader or kernel rejecting it if it is < 128,
and some of the bootblocks reject it if it is > 128.

As things stand, the -n <entries> option is basically "make my system unusable".

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
UTF-8: for when a ' just won\342\200\231t do.
<brueffer> ZFS must be the bacon of file systems. "everything's better with ZFS"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGE5yCpJZtfRNOsC-EAvy97zyV7FfirkCGOTjAqOm55-FpW58w>