Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 May 2022 20:19:58 +0300
From:      Toomas Soome <tsoome@me.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        current@freebsd.org
Subject:   Re: loader_4th.efi broke?
Message-ID:  <1BA529E5-064B-46A8-A412-3D7A66AD6D2F@me.com>
In-Reply-To: <alpine.BSF.2.00.2205201709360.68830@ai.fobar.qr>
References:  <alpine.BSF.2.00.2205201651000.68830@ai.fobar.qr> <71D61E79-B3A5-49FA-9B9E-26E124A5B4EF@me.com> <alpine.BSF.2.00.2205201709360.68830@ai.fobar.qr>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_0C16D237-30DE-4FDC-BEB8-60E2C5F0ED0C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8



> On 20. May 2022, at 20:11, Bjoern A. Zeeb =
<bzeeb-lists@lists.zabbadoz.net> wrote:
>=20
> On Fri, 20 May 2022, Toomas Soome wrote:
>=20
>>> On 20. May 2022, at 20:00, Bjoern A. Zeeb =
<bzeeb-lists@lists.zabbadoz.net> wrote:
>>>=20
>>> Hi,
>>>=20
>>> something between
>>> 	255692.f70de61e567df59bceb2d18c8bc1b54943a7466b and
>>> 	255723.b3fa36efe797445cb0b4fd26d79226836db2a2b3
>>> made loader_4th.efi go all
>>> 	"failed to allocate staging area: 9"
>>>=20
>>> I am netbooting booting, no ZFS involved.
>>> One other data point: the base system compile may have changed in =
that time.
>>>=20
>>> I haven't dug into yet. Is anyone else seeing this?
>>>=20
>>=20
>> staging area will be allocated very early, so for some reason either =
the memory map is fragmented or there is just too low memory.
>>=20
>> 9 is EFI_OUT_OF_RESOURCES.
>=20
> The UEFI hasn't changed; 64GB of memory haven't changed. Power
> cycling didn't make a difference. Going back to the old one
> immediately worked again. I saw no changes in stand/ relevant.
>=20
> Is there a way to debug this or should we simply "stop" if this fails
> rather than endlessly fill the console with it?
>=20


um, ok 64GB should be plenty;) of course, if the firmware is squashing =
low memory map to small chunks, then there is problem (we are asking to =
use low 4GB because of buggy firmwares=E2=80=A6), but you can try =
loader_lua.efi. The other cause could be grown kernel modules - we try =
to allocate 64MB staging area first, if it is not enough, then we try to =
get larger chunk=E2=80=A6.

Of course, screen spamming is bug, that should not happen.=20

rgds,
toomas=

--Apple-Mail=_0C16D237-30DE-4FDC-BEB8-60E2C5F0ED0C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><br =
class=3D""><div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 20. May 2022, at 20:11, Bjoern A. Zeeb &lt;<a =
href=3D"mailto:bzeeb-lists@lists.zabbadoz.net" =
class=3D"">bzeeb-lists@lists.zabbadoz.net</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><meta =
charset=3D"UTF-8" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); =
font-family: Hack-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">On Fri, 20 May 2022, Toomas Soome wrote:</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Hack-Regular; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><blockquote type=3D"cite" style=3D"font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D""><blockquote type=3D"cite" class=3D"">On 20. May 2022, at =
20:00, Bjoern A. Zeeb &lt;<a =
href=3D"mailto:bzeeb-lists@lists.zabbadoz.net" =
class=3D"">bzeeb-lists@lists.zabbadoz.net</a>&gt; wrote:<br class=3D""><br=
 class=3D"">Hi,<br class=3D""><br class=3D"">something between<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space: pre;">	=
</span>255692.f70de61e567df59bceb2d18c8bc1b54943a7466b and<br =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space: pre;">	=
</span>255723.b3fa36efe797445cb0b4fd26d79226836db2a2b3<br class=3D"">made =
loader_4th.efi go all<br class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space: pre;">	</span>"failed to allocate staging area: =
9"<br class=3D""><br class=3D"">I am netbooting booting, no ZFS =
involved.<br class=3D"">One other data point: the base system compile =
may have changed in that time.<br class=3D""><br class=3D"">I haven't =
dug into yet. Is anyone else seeing this?<br class=3D""><br =
class=3D""></blockquote><br class=3D"">staging area will be allocated =
very early, so for some reason either the memory map is fragmented or =
there is just too low memory.<br class=3D""><br class=3D"">9 is =
EFI_OUT_OF_RESOURCES.<br class=3D""></blockquote><br style=3D"caret-color:=
 rgb(0, 0, 0); font-family: Hack-Regular; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><span style=3D"caret-color: rgb(0, 0, =
0); font-family: Hack-Regular; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: 400; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none; float: none; display: inline !important;" =
class=3D"">The UEFI hasn't changed; 64GB of memory haven't changed. =
Power</span><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">cycling =
didn't make a difference. Going back to the old one</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Hack-Regular; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">immediately =
worked again. I saw no changes in stand/ relevant.</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Hack-Regular; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><br style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">Is there a =
way to debug this or should we simply "stop" if this fails</span><br =
style=3D"caret-color: rgb(0, 0, 0); font-family: Hack-Regular; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D""><span style=3D"caret-color: rgb(0, 0, 0); font-family: =
Hack-Regular; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: 400; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none; float: none; display: inline !important;" class=3D"">rather than =
endlessly fill the console with it?</span><br style=3D"caret-color: =
rgb(0, 0, 0); font-family: Hack-Regular; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: 400; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br =
class=3D""></div></blockquote></div><div><br class=3D""></div><div>um, =
ok 64GB should be plenty;) of course, if the firmware is squashing low =
memory map to small chunks, then there is problem (we are asking to use =
low 4GB because of buggy firmwares=E2=80=A6), but you can try =
loader_lua.efi. The other cause could be grown kernel modules - we try =
to allocate 64MB staging area first, if it is not enough, then we try to =
get larger chunk=E2=80=A6.</div><div><br class=3D""></div><div>Of =
course, screen spamming is bug, that should not =
happen.&nbsp;</div><div><br =
class=3D""></div><div>rgds,</div><div>toomas</div></body></html>=

--Apple-Mail=_0C16D237-30DE-4FDC-BEB8-60E2C5F0ED0C--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1BA529E5-064B-46A8-A412-3D7A66AD6D2F>