From owner-freebsd-questions Sun May 9 16:28:29 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id A30DE14C16 for ; Sun, 9 May 1999 16:28:23 -0700 (PDT) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id IAA14596; Mon, 10 May 1999 08:58:21 +0930 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id IAA38977; Mon, 10 May 1999 08:58:19 +0930 (CST) Date: Mon, 10 May 1999 08:58:19 +0930 From: Greg Lehey To: Michael Dungan Cc: FreeBSD questions Subject: Re: lkm oddness Message-ID: <19990510085819.O22791@freebie.lemis.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.4i In-Reply-To: ; from Michael Dungan on Sun, May 09, 1999 at 05:28:15PM -0400 WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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