Date: Mon, 21 Feb 2022 17:19:58 +0200 From: Toomas Soome <tsoome@me.com> To: Hans Petter Selasky <hps@selasky.org> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: pxeboot binary is too big on FreeBSD (>640KBytes) Message-ID: <02586EFB-0BB5-46BF-9EE5-28623D20EFD3@me.com> In-Reply-To: <6984fd5d-ae58-11a4-0d21-a8695b0c77f7@selasky.org> References: <6984fd5d-ae58-11a4-0d21-a8695b0c77f7@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 21. Feb 2022, at 09:43, Hans Petter Selasky <hps@selasky.org> = wrote: >=20 > FYI: >=20 > After a lot of digging trying everything, I found that the pxeboot and = loader.efi was too big simply due to ZFS support. >=20 > So I did this after buildworld: >=20 > cd /usr/src/stand > make WITHOUT_LOADER_ZFS=3DYES clean > make WITHOUT_LOADER_ZFS=3DYES all > make WITHOUT_LOADER_ZFS=3DYES install >=20 > And now it works, with my old GigaByte mainboard! >=20 > Why should pxeboot have ZFS support? >=20 > = https://forums.freebsd.org/threads/problem-with-isc-dhcpd-and-diskless-boo= ting.82199/ >=20 > =E2=80=94HPS >=20 Well, the feature X can be helpful for recovery purposes. The root cause = is not the feature X itself, but the size limit. And the unfortunate = fact, the size limit is not fixed, but depends on the system. Therefore = there are two options - either to fix the size limit or drop option X = from default build =E2=80=94 at least till the size limit is fixed (or = support for BIOS will be dropped). rgds, toomas=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02586EFB-0BB5-46BF-9EE5-28623D20EFD3>