From owner-freebsd-current Wed Jan 6 10:48:20 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA19840 for freebsd-current-outgoing; Wed, 6 Jan 1999 10:48:20 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from spinner.netplex.com.au (spinner.netplex.com.au [202.12.86.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA19835 for ; Wed, 6 Jan 1999 10:48:17 -0800 (PST) (envelope-from peter@netplex.com.au) Received: from spinner.netplex.com.au (peter@localhost [127.0.0.1]) by spinner.netplex.com.au (8.9.1/8.9.1/Netplex) with ESMTP id CAA31937; Thu, 7 Jan 1999 02:47:22 +0800 (WST) (envelope-from peter@spinner.netplex.com.au) Message-Id: <199901061847.CAA31937@spinner.netplex.com.au> X-Mailer: exmh version 2.0.2 2/24/98 To: "Daniel C. Sobral" cc: "Chris D. Faulhaber" , current@FreeBSD.ORG Subject: Re: cannot load any lkm with ELF kernel In-reply-to: Your message of "Wed, 06 Jan 1999 22:38:02 +0900." <3693673A.3F5F212B@newsguy.com> Date: Thu, 07 Jan 1999 02:47:20 +0800 From: Peter Wemm Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG "Daniel C. Sobral" wrote: > "Chris D. Faulhaber" wrote: > > > > 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. > > A previous message gave me the impression that you can still load > a.out lkms with elf kernels (thus protecting third-party a.out > module's investment). More likely, I'd think is that FreeBSD doesn't > come with lkm's anymore, having all been replaced by lkds. If people are worried about OSS, I've been talking to them and have suggested some sample code and given them a few hints. If things work out, there should have a KLD OSS module within a couple of days. KLD modules of either format can be loaded on either format kernel. LKM's cannot. > Possibly, a revision problem exists that prevent the old lkms > installed from being loaded. Yes. It's quite likely that any old LKM's laying around would need to be recompiled soon anyway, depending on whether the shared signal stuff is cleaned up and becomes default so that we can support kernel-assisted threads. Cheers, -Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message