Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 2003 14:15:50 +0000 (UTC)
From:      naddy@mips.inka.de (Christian Weisgerber)
To:        freebsd-current@freebsd.org
Subject:   kldload broken?
Message-ID:  <bs6uam$1ph$1@kemoauc.mips.inka.de>

next in thread | raw e-mail | index | archive | help
-CURRENT/alpha from yesterday.

kldload(8) fails to load modules unless their complete path is given.
A simplified call, such as

    kldload sysvshm

(as used in /etc/rc.d/api) fails.  ktrace is rather mysterious:

...
  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.)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bs6uam$1ph$1>