From owner-freebsd-hackers Wed Mar 1 5:11: 9 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from ipt2.iptelecom.net.ua (ipt2.iptelecom.net.ua [212.9.224.2]) by hub.freebsd.org (Postfix) with ESMTP id 42B6537BBAA; Wed, 1 Mar 2000 05:11:02 -0800 (PST) (envelope-from sobomax@altavista.net) Received: from vega.vega.com (dialup4-55.iptelecom.net.ua [212.9.226.247]) by ipt2.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id PAA25109; Wed, 1 Mar 2000 15:13:03 +0200 (EET) Received: from altavista.net (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.9.3/8.9.3) with ESMTP id PAA08182; Wed, 1 Mar 2000 15:09:58 +0200 (EET) (envelope-from sobomax@altavista.net) Message-ID: <38BD16A1.D7415F26@altavista.net> Date: Wed, 01 Mar 2000 15:09:53 +0200 From: Maxim Sobolev Reply-To: sobomax@altavista.net Organization: Vega International Capital X-Mailer: Mozilla 4.72 [en] (WinNT; I) X-Accept-Language: uk,ru,en MIME-Version: 1.0 To: jkruger@oskar.nanoteq.co.za Cc: freebsd-hackers@FreeBSD.ORG, current@FreeBSD.ORG Subject: Re: d: /kernel: malformed input file (not rel or archive) ?? References: <00030114525508.00308@ockle.dev.nanoteq.co.za> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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. -Maxim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message