From nobody  Sun Feb  7 07:30:21 1999
Received: (from nobody@localhost)
          by hub.freebsd.org (8.8.8/8.8.8) id HAA07573;
          Sun, 7 Feb 1999 07:30:21 -0800 (PST)
          (envelope-from nobody)
Message-Id: <199902071530.HAA07573@hub.freebsd.org>
Date: Sun, 7 Feb 1999 07:30:21 -0800 (PST)
From: mike@sentex.net
To: freebsd-gnats-submit@freebsd.org
Subject: SKIP is an LKM and will not work with 3.0-STABLE
X-Send-Pr-Version: www-1.0

>Number:         9949
>Category:       ports
>Synopsis:       SKIP is an LKM and will not work with 3.0-STABLE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb  7 07:40:01 PST 1999
>Closed-Date:    Fri Apr 2 16:59:25 PST 1999
>Last-Modified:  Fri Apr  2 16:59:57 PST 1999
>Originator:     Mike Tancsa
>Release:        RELENG_3
>Organization:
Sentex Communications
>Environment:
FreeBSD sand3.sentex.ca 3.0-STABLE FreeBSD 3.0-STABLE #2: Fri Feb  5 15:17:46 EST 1999     mdtancsa@sand3.sentex.ca:/usr/src/
sys/compile/sand3  i386
>Description:
SKIP is designed as an LKM and I guess needs to be redone as a KLD
>How-To-Repeat:
try to install and run
>Fix:

>Release-Note:
>Audit-Trail:

From: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To: mike@sentex.net
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/9949: SKIP is an LKM and will not work with 3.0-STABLE
Date: Mon, 8 Feb 1999 09:22:43 +1030 (CST)

 On Sun, 7 Feb 1999 mike@sentex.net wrote:
 
 > >Description:
 > SKIP is designed as an LKM and I guess needs to be redone as a KLD
 
 Even with "options LKM" in your kernel?
 
 Kris
 
 -----
 (ASP) Microsoft Corporation (MSFT) announced today that the release of its 
 productivity suite, Office 2000, will be delayed until the first quarter
 of 1901.
 

From: Mike Tancsa <mike@sentex.net>
To: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/9949: SKIP is an LKM and will not work with
  3.0-STABLE
Date: Sun, 07 Feb 1999 18:07:57 -0500

 At 05:52 PM 2/7/99 , Kris Kennaway wrote:
 >On Sun, 7 Feb 1999 mike@sentex.net wrote:
 >
 >> >Description:
 >> SKIP is designed as an LKM and I guess needs to be redone as a KLD
 >
 >Even with "options LKM" in your kernel?
 
 Yes.
 
 	---Mike
 **********************************************************************
 Mike Tancsa, Network Admin        *  mike@sentex.net
 Sentex Communications Corp,       *  http://www.sentex.net/mike
 Cambridge, Ontario                *  01.519.651.3400
 Canada                            *

From: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
To: Mike Tancsa <mike@sentex.net>
Cc: freebsd-gnats-submit@freebsd.org
Subject: Re: ports/9949: SKIP is an LKM and will not work with  3.0-STABLE
Date: Mon, 8 Feb 1999 09:34:37 +1030 (CST)

 On Sun, 7 Feb 1999, Mike Tancsa wrote:
 
 > At 05:52 PM 2/7/99 , Kris Kennaway wrote:
 > >On Sun, 7 Feb 1999 mike@sentex.net wrote:
 > >
 > >> >Description:
 > >> SKIP is designed as an LKM and I guess needs to be redone as a KLD
 > >
 > >Even with "options LKM" in your kernel?
 > 
 > Yes.
 
 Okay, then I guess you need to provide more information about why it doesn't
 work. LKMs are still supposed to be supported by 3.x and 4.x.
 
 Kris
 
 -----
 (ASP) Microsoft Corporation (MSFT) announced today that the release of its 
 productivity suite, Office 2000, will be delayed until the first quarter
 of 1901.
 

From: Juergen Peter <bluen@ee.uni-sb.de>
To: freebsd-gnats-submit@freebsd.org, mike@sentex.net
Cc:  
Subject: Re: ports/9949 (SKIP LKM not working in 3.1 also)
Date: Tue, 23 Feb 1999 14:13:11 +0100

 The error message when trying to load SKIP at startup
 (using /usr/local/etc/rc.d/skip.sh) is somewhat misleading..
 
 When trying to modload(1) the lkm by hand, you get a much
 more diagnostic message:
 
 	ld: /kernel: malformed input file (not rel or archive)
 	modload: /usr/bin/ld: return code 1
 
 Well, when using modload -d you can see that 
 modload tries to execute something like
 	/usr/bin/ld -A /kernel -e _skip -o /tmp/skip.out \
 			-T 0 /usr/local/lkm/skip.o 
 which when executed by hand gives the same error.
 
 After digging in the source for modload(1), I found that 
 modload *really* executes /usr/bin/ld -aout <rest of the above>
 ... ... but the kernel is elf and even skip.o is elf...
 
 I tried loading the module with 
 
 	/usr/bin/ld -elf -A /kernel -e _skip -o /tmp/skip.out  /usr/local/lkm/skip.o 
 but that gives a lot of undefined references, so I gave up...
 
 
 -- 
 Juergen Kleer                     | #include <disclaimer/std.h>
 Lehrstuhl fuer Mikroelektronik    | #include <disclaimer/employer.h>
 Univ. Geb. 13, Postfach 151150,   |       
 66041 Saarbruecken                | mailto:bluen@ee.uni-sb.de
 
State-Changed-From-To: open->closed 
State-Changed-By: steve 
State-Changed-When: Fri Apr 2 16:59:25 PST 1999 
State-Changed-Why:  
Archie Cobbs updated this port to build as a KLD. 
>Unformatted:
