From owner-freebsd-hackers Wed Feb 24 14: 9:24 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from herring.nlsystems.com (nlsys.demon.co.uk [158.152.125.33]) by hub.freebsd.org (Postfix) with ESMTP id EBD9912392 for ; Wed, 24 Feb 1999 14:07:21 -0800 (PST) (envelope-from dfr@nlsystems.com) Received: from localhost (dfr@localhost) by herring.nlsystems.com (8.9.3/8.8.8) with ESMTP id IAA62903; Wed, 24 Feb 1999 08:59:57 GMT (envelope-from dfr@nlsystems.com) Date: Wed, 24 Feb 1999 08:59:57 +0000 (GMT) From: Doug Rabson To: John Smith Cc: freebsd-hackers@freebsd.org Subject: Re: /dev/lkm In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 23 Feb 1999, John Smith wrote: > > Hello All; > > I am on 3.1; and when I try to do modload. i get /dev/lkm not > configured. > > Do I need to compile my kernel with a special keyword so that it > supports loadable kernel modules, (/dev/lkm exists); or lkm does not exist > anymore? > > Any ideas? The LKM mechanism has been replaced by a newer kernel-based linker called KLD. If you absolutely must use LKM, you can add it as an option to your kernel config but I would urge you to move to the new mechanism. There are plenty of examples of how to build KLD modules in /usr/share/examples/kld and /usr/src/sys/modules. -- Doug Rabson Mail: dfr@nlsystems.com Nonlinear Systems Ltd. Phone: +44 181 442 9037 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message