Re: bootx64.efi and diskless boot

Martin Husemann <[email protected]>
Newsgroups gmane.os.netbsd.devel.kernel
Message-ID <[email protected]>
On Mon, Feb 09, 2026 at 09:33:47AM -0800, [email protected] wrote:
> I have an nfs server with tftp, dhcp, etc.  The client gets its address, loads
> bootx64.efi from tftp.  It then loads boot.cfg, the kernel, and nfs.kmod from
> nfs.  However, it fails to boot the kernel.  I have it narrowed down to the call
> to efi_cleanup from exec_netbsd.  If I comment the call to callback, which is
> efi_cleanup, startprog calls the kernel's main.  Of course, it can't boot up
> because bootx64.efi has never called ExitBootServices.  However, if I do call
> callback->efi_cleanup->ExitBootServices, the kernel's main is never called.
> 
> This feels like a memory map problem, but I am at a loss.  Any advice would be
> appreciated.

First thing to check is if there is a firmware update for your mainboard.

Next thing I would suggest to try is using bootx64.efi from current, it should
be able to deal with your 10.1 kernel, so no need to modify anything on the
target machines installation.

Martin
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.