Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Mar 2000 15:09:53 +0200
From:      Maxim Sobolev <>
Cc:        freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: d: /kernel: malformed input file (not rel or archive) ??
Message-ID:  <>
References:  <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Johan Kruger wrote:

> If i try to load the example in
> /usr/src/share/exaples/lkm/misc/module/misc_mod.o i get the following.
> Pleeaaaseeee help ?
> borg# modload ./misc_mod.o
> ld: /kernel: malformed input file (not rel or archive)
> modload: /usr/bin/ld: return code 1

What FreeBSD release you are using? If it is 2.2 than the -current is wrong
place to ask, but if it is 4.0 than you must note that the lkm subsustem has
been abolished long time ago in favor of the new kld system. See man kld and
/usr/share/examples/kld for details.


To Unsubscribe: send mail to
with "unsubscribe freebsd-hackers" in the body of the message

Want to link to this message? Use this URL: <>