kldload broken?

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

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