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

[-- Attachment #1 --]


> On 20. May 2022, at 20:11, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
> 
> On Fri, 20 May 2022, Toomas Soome wrote:
> 
>>> On 20. May 2022, at 20:00, Bjoern A. Zeeb <bzeeb-lists@lists.zabbadoz.net> wrote:
>>> 
>>> Hi,
>>> 
>>> something between
>>> 	255692.f70de61e567df59bceb2d18c8bc1b54943a7466b and
>>> 	255723.b3fa36efe797445cb0b4fd26d79226836db2a2b3
>>> made loader_4th.efi go all
>>> 	"failed to allocate staging area: 9"
>>> 
>>> I am netbooting booting, no ZFS involved.
>>> One other data point: the base system compile may have changed in that time.
>>> 
>>> I haven't dug into yet. Is anyone else seeing this?
>>> 
>> 
>> staging area will be allocated very early, so for some reason either the memory map is fragmented or there is just too low memory.
>> 
>> 9 is EFI_OUT_OF_RESOURCES.
> 
> 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.
> 
> Is there a way to debug this or should we simply "stop" if this fails
> rather than endlessly fill the console with it?
> 


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…), 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….

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

rgds,
toomas
[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 20. May 2022, at 20:11, Bjoern A. Zeeb &lt;<a href="mailto:bzeeb-lists@lists.zabbadoz.net" class="">bzeeb-lists@lists.zabbadoz.net</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><meta charset="UTF-8" class=""><span style="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="">On Fri, 20 May 2022, Toomas Soome wrote:</span><br style="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=""><br style="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=""><blockquote type="cite" style="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=""><blockquote type="cite" class="">On 20. May 2022, at 20:00, Bjoern A. Zeeb &lt;<a href="mailto:bzeeb-lists@lists.zabbadoz.net" class="">bzeeb-lists@lists.zabbadoz.net</a>&gt; wrote:<br class=""><br class="">Hi,<br class=""><br class="">something between<br class=""><span class="Apple-tab-span" style="white-space: pre;">	</span>255692.f70de61e567df59bceb2d18c8bc1b54943a7466b and<br class=""><span class="Apple-tab-span" style="white-space: pre;">	</span>255723.b3fa36efe797445cb0b4fd26d79226836db2a2b3<br class="">made loader_4th.efi go all<br class=""><span class="Apple-tab-span" style="white-space: pre;">	</span>"failed to allocate staging area: 9"<br class=""><br class="">I am netbooting booting, no ZFS involved.<br class="">One other data point: the base system compile may have changed in that time.<br class=""><br class="">I haven't dug into yet. Is anyone else seeing this?<br class=""><br class=""></blockquote><br class="">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=""><br class="">9 is EFI_OUT_OF_RESOURCES.<br class=""></blockquote><br style="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=""><span style="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="">The UEFI hasn't changed; 64GB of memory haven't changed. Power</span><br style="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=""><span style="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="">cycling didn't make a difference. Going back to the old one</span><br style="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=""><span style="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="">immediately worked again. I saw no changes in stand/ relevant.</span><br style="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=""><br style="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=""><span style="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="">Is there a way to debug this or should we simply "stop" if this fails</span><br style="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=""><span style="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="">rather than endlessly fill the console with it?</span><br style="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=""><br class=""></div></blockquote></div><div><br class=""></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…), 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….</div><div><br class=""></div><div>Of course, screen spamming is bug, that should not happen.&nbsp;</div><div><br class=""></div><div>rgds,</div><div>toomas</div></body></html>

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