From owner-freebsd-bugs Fri Apr 2 9:50:21 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 8645014CA4 for ; Fri, 2 Apr 1999 09:50:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id JAA72790; Fri, 2 Apr 1999 09:50:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Date: Fri, 2 Apr 1999 09:50:01 -0800 (PST) Message-Id: <199904021750.JAA72790@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Steve Price Subject: Re: i386/10920: the loadable kernel-module support is not working Reply-To: Steve Price Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/10920; it has been noted by GNATS. From: Steve Price To: Axel.Schnell@joice.net Cc: freebsd-gnats-submit@FreeBSD.ORG Subject: Re: i386/10920: the loadable kernel-module support is not working Date: Fri, 2 Apr 1999 11:40:46 -0600 (CST) On Fri, 2 Apr 1999 Axel.Schnell@joice.net wrote: # # >Number: 10920 # >Category: i386 # >Synopsis: the loadable kernel-module support is not working [snip] # >Description: # I configured the kernel ("options LKM") . # After successful compilation and reboot I tried # "modload /lkm/linux_mod.o" and the system responded: # "ld: /kernel: malformed input file (not rel or archive) # modload: /usr/bin/ld: return code 1" This is probably because you are trying to load an old a.out KLM with an ELF kernel. What does this command say? file /lkm/linux_mod.o If it says something like '...: FreeBSD/i386 object not stripped', then you might just try loading the KLD version instead with: kldload /modules/linux.ko KLMs have been replaced with KLDs. # >How-To-Repeat: # # >Fix: # # # >Release-Note: # >Audit-Trail: # >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message