tech-kern archive

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

Re: modules_enabled in kernel ELF note section



> > It would be nice if ELF kernel image holds "modules_enabled" value in
> > note section which allows LIBSA to tell whether the target kernel is
> > MODULAR or not.
> 
> modular kernels don't *have* to have modules loaded via the boot
> loader.  so what i think you're really after is a flag that says
> "we want to try to load modules in the loader".

Modular kernels have to have module(s) loaded via the bootloader
if the kernels don't have builtin modules for the root file system,
where the kernel is loaded from. All other modules can be loaded
from the root file system after mountroot().

So necessary info might be "which file-system modules are builtin?"

(though I'm not sure if options NFS_BOOT_DHCP requires bpf(4) module or not)
---
Izumi Tsutsui


Home | Main Index | Thread Index | Old Index