Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 May 1999 08:58:19 +0930
From:      Greg Lehey <grog@lemis.com>
To:        Michael Dungan <vega@sanitysedge.com>
Cc:        FreeBSD questions <questions@FreeBSD.ORG>
Subject:   Re: lkm oddness
Message-ID:  <19990510085819.O22791@freebie.lemis.com>
In-Reply-To: <Pine.BSF.4.10.9905091725040.4864-100000@vatican.dhs.org>; from Michael Dungan on Sun, May 09, 1999 at 05:28:15PM -0400
References:  <Pine.BSF.4.10.9905091725040.4864-100000@vatican.dhs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday,  9 May 1999 at 17:28:15 -0400, Michael Dungan wrote:
> Using 3.1 Release, I am unable to load any new lkm's, and the modfoo
> commands are not working.
>
> exact errors:
>
> vatican# joy
> kldload: can't load joy: Exec format error
>
> vatican# modstat
> modstat: /dev/lkm: Device not configured
>
> the device exists, but won't do anything. interestingly enough, the linux
> mod is loading up fine (at boot time, that is).
>
> Any ideas?

You shouldn't be using LKMs any more: use klds instead.  If you really
need to use an LKM, you need to either build a kernel with the lkm
pseudo-device, or load the LKM kld.

Note an important difference:

 /dev/lkm: No such file or directory

   This means that the file with the name /dev/lkm does not exist.

 /dev/lkm: Device not configured

   This means that there is no driver for the special file described
   in /dev/lkm.

Greg
--
When replying to this message, please copy the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address, home page and phone numbers
finger grog@lemis.com for PGP public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990510085819.O22791>