Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 1999 20:46:53 -0500 (EST)
From:      "Chris D. Faulhaber" <jedgar@speck.ml.org>
To:        current@FreeBSD.ORG
Subject:   Re: cannot load any lkm with ELF kernel
Message-ID:  <Pine.BSF.4.05.9901052043280.15066-100000@anthrax.speck>
In-Reply-To: <Pine.BSF.4.05.9901052012440.28593-100000@ogurok.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 5 Jan 1999, Oleg Ogurok wrote:

> Hi all.
> 

Hi :)

> I am running CURRENT, compiled ELF kernel, and now I can't load any of
> LKMs.
> -------
> su-2.02# modload star_saver_mod.o 
> ld: /kernel: malformed input file (not rel or archive)
> modload: /usr/bin/ld: return code 1
> -------
> The same error I'm getting while booting up. When I do "modstat" I don't
> see any modules loaded.
> 

That would be because (correct me if I'm wrong) lkm's are a.out.  With an
elf kernel, use dynamically-linkable modules (kld's) located in /modules.
man kldload/kldunload/kldstat for usage.

-Chris



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9901052043280.15066-100000>