Index | Thread | Search

From:
Crystal Kolipe <kolipe.c@exoticsilicon.com>
Subject:
Re: fix machine memory on efiboot
To:
YASUOKA Masahiko <yasuoka@yasuoka.net>
Cc:
mlarkin@nested.page, stu@spacehopper.org, iv209@yahoo.com, tech@openbsd.org
Date:
Mon, 8 Sep 2025 13:05:01 +0100

Download raw body.

Thread
On Mon, Sep 08, 2025 at 12:41:06PM +0900, YASUOKA Masahiko wrote:
> On Mon, 08 Sep 2025 12:28:28 +0900 (JST)
> YASUOKA Masahiko <yasuoka@openbsd.org> wrote:
> > Hi,
> > 
> > # moved from bug@ to tech@
> > 
> > On Sun, 7 Sep 2025 11:57:52 -0700
> > Mike Larkin <mlarkin@nested.page> wrote:
> >> On Fri, Sep 05, 2025 at 09:18:49AM +0100, Stuart Henderson wrote:
> >>> "machine mem" takes an optional argument to either restrict max memory, or
> >>> add/remove certain ranges - https://man.openbsd.org/amd64/boot#memory - you
> >>> could try excluding some of the memory ranges from the list you showed.
> >>>
> >> 
> >> N.B. - machine mem to restrict memory doesn't work on EFI.
> > 
> > I didn't aware of this problem.
> > 
> > ok?
> > 
> > Don't reset bios_memmap when exiting if it's modified by the operator.
> 
> Let me tweak the diff.

This version of the diff tested OK on various EFI booting machines here.