From nobody@FreeBSD.ORG Fri Apr  2 09:15:50 1999
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 508BB150AF; Fri,  2 Apr 1999 09:15:44 -0800 (PST)
Message-Id: <19990402171544.508BB150AF@hub.freebsd.org>
Date: Fri,  2 Apr 1999 09:15:44 -0800 (PST)
From: Axel.Schnell@joice.net
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@freebsd.org
Subject: the loadable kernel-module support is not working
X-Send-Pr-Version: www-1.0

>Number:         10920
>Category:       i386
>Synopsis:       the loadable kernel-module support is not working
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr  2 09:20:00 PST 1999
>Closed-Date:    Sun Apr 4 14:18:28 PDT 1999
>Last-Modified:  Sun Apr  4 14:19:11 PDT 1999
>Originator:     Axel Schnell
>Release:        Release 3.1
>Organization:
>Environment:
FreeBSD Bob 3.1-RELEASE FreeBSD 3.1-RELEASE #10: Fri Apr  2 17:51:35 
CEST 1999     root@Bob:/usr/src/sys/compile/MYKERNEL  i386
>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"

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:

From: Doug Rabson <dfr@nlsystems.com>
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 18:34:02 +0100 (BST)

 The old module loading mechanism is obsolete. Try using 'kldload linux.ko'
 or alternatively, just type 'linux'.
 
 --
 Doug Rabson				Mail:  dfr@nlsystems.com
 Nonlinear Systems Ltd.			Phone: +44 181 442 9037
 
 
 

From: Steve Price <sprice@hiwaay.net>
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:
 
 

From: "Daniel C. Sobral" <dcs@newsguy.com>
To: Axel.Schnell@joice.net
Cc: freebsd-gnats-submit@FreeBSD.ORG
Subject: Re: i386/10920: the loadable kernel-module support is not working
Date: Sat, 03 Apr 1999 12:45:23 +0900

 Axel.Schnell@joice.net wrote:
 > 
 > 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"
 
 LKMs are not built by default anymore. Are you by any chance using
 an older linux_mod? You ought to be using klds, anyway.
 
 --
 Daniel C. Sobral			(8-DCS)
 dcs@newsguy.com
 dcs@freebsd.org
 
 	"nothing better than the ability to perform cunning linguistics"
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Sun Apr 4 14:18:28 PDT 1999 
State-Changed-Why:  
Please use the KLD version instead.  Thanks. 
>Unformatted:
