Re: kldload broken?

From: Christian Weisgerber <naddy_at_mips.inka.de>
Date: Mon, 22 Dec 2003 15:36:47 +0000 (UTC)
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
Received on Mon Dec 22 2003 - 06:36:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:35 UTC