kldload broken?

Christian Weisgerber naddy at mips.inka.de
Mon Dec 22 07:36:54 PST 2003


Christian Weisgerber <naddy at mips.inka.de> wrote:

>   1240 kldload  CALL  kldload(0x11ffece0)
>   1240 kldload  NAMI  "/boot/kernel/linker.hints"
>   1240 kldload  NAMI  "/boot/kernel/kernel.GENERIC"
>   1240 kldload  NAMI  "/boot/kernel/kernel.GENERIC"
>   1240 kldload  RET   kldload -1 errno 8 Exec format error
> ...
> 
> (kernel.GENERIC isn't even the running kernel.  It's just another
> kernel file that happens to be in that directory.)

Okay, running kldxref(8) with another kernel file in your kernel
directory is a bad idea.  I don't know whether something in the
installkernel target changed or whether I screwed up manually
somewhere.  Moving kernel.GENERIC elsewhere and running kldxref
fixed the problem.

-- 
Christian "naddy" Weisgerber                          naddy at mips.inka.de



More information about the freebsd-current mailing list