with i386 GENERIC, the kernel can't exec init because it doesn't have
EXEC_ELF32 included. With MONOLITHIC, the kernel doesn't mount the
ramdisk because modules are not enabled ...
--
Manuel Bouyer <bou...@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--
--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de
You are not alone. I have not found a solution to this, except by
building a custom kernel with the ramdisk embedded for i386.
It's one of the reason why I asked for the GENERIC/MONOLITHIC modular
stuff settlement some time ago (for i386 and amd64), but never received
the ultimate decision of core@ on this (and as such: never brought
GENERIC i386 up to it and "retire" MONOLITHIC).
IMHO, this should really get fixed before branching -6.
--
Jean-Yves Migeon
jeanyve...@free.fr
I've hacked MONOLITHIC to add 'options MODULAR' for this myself.
>
> It's one of the reason why I asked for the GENERIC/MONOLITHIC
> modular stuff settlement some time ago (for i386 and amd64), but
> never received the ultimate decision of core@ on this (and as such:
> never brought GENERIC i386 up to it and "retire" MONOLITHIC).
>
> IMHO, this should really get fixed before branching -6.
looks like there is a netbsd-INSTALL.gz that could do it, but I didn't
try it (as I'm testing kernels, the ramdisk as a module is better ...)
The obvious answer here is "load tftp:exec_elf32.kmod"
} ramdisk because modules are not enabled ...
MONOLITHIC should have options MODULAR. Just because most modules
are included doesn't mean it shouldn't have the ability to load
modules. I would call the fact that it doesn't have options MODULAR to
be a bug.
}-- End of excerpt from Manuel Bouyer
how much modules do we need to load to do an install (it's not so easy to
type ...)
Also I find it a bit silly to not have this built in by default, when this is
the native exec format ...
Don't forget about EXEC_SCRIPT, and probably tmpfs might be needed
somewhere too, ffs, nfs... IIRC, miniroo.kmod has no module embedded;
you will need a couple extra modules to make it boot up to a
"functional" point, especially when the station has nothing installed on
it, or when modules are not accessible in their default path.
This can get a bit tedious and frustrating :)
--
Jean-Yves Migeon
jeanyve...@free.fr