From owner-freebsd-current Tue Jan 5 17:47:32 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA22541 for freebsd-current-outgoing; Tue, 5 Jan 1999 17:47:32 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from speck.ml.org (cx19313-a.nwptn1.va.home.com [24.2.49.151]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA22535 for ; Tue, 5 Jan 1999 17:47:30 -0800 (PST) (envelope-from jedgar@speck.ml.org) Received: from anthrax.speck (jedgar@anthrax.speck [192.168.2.23]) by speck.ml.org (8.9.1/8.9.1) with ESMTP id UAA07697 for ; Tue, 5 Jan 1999 20:46:53 -0500 (EST) (envelope-from jedgar@speck.ml.org) Date: Tue, 5 Jan 1999 20:46:53 -0500 (EST) From: "Chris D. Faulhaber" X-Sender: jedgar@anthrax.speck To: current@FreeBSD.ORG Subject: Re: cannot load any lkm with ELF kernel In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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