Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Jul 2022 10:08:20 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        Warner Losh <imp@bsdimp.com>, Glen Barber <gjb@freebsd.org>
Cc:        Ed Maste <emaste@freebsd.org>, "Rodney W. Grimes" <freebsd-rwg@gndrsh.dnsmgr.net>, dev-commits-src-main@freebsd.org, "Dr. Rolf Jansen" <freebsd-rj@cyclaero.com>, freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: git: 1dfcff294e44 - main - release: increase IMAGE_SIZE for arm, arm64, riscv [odd alignment for SBC images]
Message-ID:  <D630043D-6EAC-4216-A046-910DB64F8B4A@yahoo.com>
In-Reply-To: <CANCZdfoABLggPQgDeCZ5FzYCf8243kvr-p8Bj5_JGNnEszGHBw@mail.gmail.com>
References:  <16906DFD-286B-4D59-9438-CA9CD9026C55@yahoo.com> <202207171708.26HH81bA062303@gndrsh.dnsmgr.net> <CAPyFy2D1aBe8h4kq=RqCR2tkEiEXh_pHNEqaAnW7tk9-HxCmBQ@mail.gmail.com> <20220719204245.GL30607@FreeBSD.org> <CANCZdfoABLggPQgDeCZ5FzYCf8243kvr-p8Bj5_JGNnEszGHBw@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2022-Jul-19, at 15:45, Warner Losh <imp@bsdimp.com> wrote:

> On Tue, Jul 19, 2022, 2:42 PM Glen Barber <gjb@freebsd.org> wrote:
>>> . . .
>>=20
>> My concern with this is kern.geom.part.mbr.enforce_chs is always '1' =
on
>> the builders, which effectively means all arm builds will fail every
>> time.  I think we need to get to the actual root of the problem here,
>> versus applying band-aids to a shark bite.
>=20
> I think this is the actual problem. While such pedantry can be useful =
for ancient picky BIOSes, these days only the LBA fields of the MBR are =
used. And the fake BIOS geometry is crazy weird. We can likely tweak it =
to be more friendly.=20
>=20
> Why is it =3D=3D 1 on the builder? If people want things aligned gpart =
has an option for years iirc to do that. And we want that off for the =
builds.

Would it seem appropriate to use a week (this week?) to do all
the snapshot builds with the builders all set to have
kern.geom.part.mbr.enforce_chs=3D0 and see what breaks, if anything?
(Sort of a snapshot exp run.)

More than just the SBC images might be involved for
kern.geom.part.mbr.enforce_ch consequences, for all I know.

> Warner
>=20
> P.s. the last BIOS that I had to deal with where this mattered was a =
133MHz pentium PC104 board in 2002 or 2003.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D630043D-6EAC-4216-A046-910DB64F8B4A>