NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-amd64/56674: EFI bootloader ( bootx64.efi ) loads "msdos" module on its own without any "load" command in boot.cfg



The following reply was made to PR port-amd64/56674; it has been noted by GNATS.

From: mlelstv%serpens.de@localhost (Michael van Elst)
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: port-amd64/56674: EFI bootloader ( bootx64.efi ) loads "msdos" module on its own without any "load" command in boot.cfg
Date: Thu, 27 Jan 2022 17:31:29 -0000 (UTC)

 jakllsch%kollasch.net@localhost ("Jonathan A. Kollasch") writes:
 
 > This is nominally-intended behavior.  The bootloader has no way of knowing if the
 > kernel it's loading has the necessary modules for the ESP and root file system,
 > so it provides the relevant modules to the kernel out of an abundance of good
 > intention.
 
 Yes, but.
 
 The bootloader tries multiple filesystems and records the filesystem type
 to identify which module to load. ffs is an exception, as no filesystem type
 is recorded, assuming that every kernel has ffs builtin.
 
 If the bootloader tries multiple filesystems, but ends the search with
 ffs, it will have recorded the last non-ffs filesystem and load a module
 for that. It should clear the recorded filesystem type in this case and
 not load a module.
 


Home | Main Index | Thread Index | Old Index