From owner-freebsd-current Thu Oct 7 12:19: 8 1999 Delivered-To: freebsd-current@freebsd.org Received: from thelab.hub.org (nat203.183.mpoweredpc.net [142.177.203.183]) by hub.freebsd.org (Postfix) with ESMTP id B929615336 for ; Thu, 7 Oct 1999 12:18:59 -0700 (PDT) (envelope-from scrappy@hub.org) Received: from localhost (scrappy@localhost) by thelab.hub.org (8.9.3/8.9.1) with ESMTP id QAA62825; Thu, 7 Oct 1999 16:18:10 -0300 (ADT) (envelope-from scrappy@hub.org) X-Authentication-Warning: thelab.hub.org: scrappy owned process doing -bs Date: Thu, 7 Oct 1999 16:18:10 -0300 (ADT) From: The Hermit Hacker To: "Daniel C. Sobral" Cc: freebsd-current@FreeBSD.ORG Subject: Re: modules: how to use? In-Reply-To: <37FC6A10.95E59914@newsguy.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 7 Oct 1999, Daniel C. Sobral wrote: > The Hermit Hacker wrote: > > > > Figuring one of the things a friend of mine raves about Linux for is their > > kld's, I'd start playing with ours... > > > > Looking in /modules, I saw 'procfs', so, cool, a place to start...remove > > "options PROCFS" from kernel config, rebuild, install and reboot ... > > > > crashes... > > > > so, I figure that I somehow have to tell the kernel to load that module? > > fs modules are automagically loaded. Alas, that's the general > direction for a lot of modules. The network ones, for instance. No > more need to put in the device lines in the kernel configuration > file, it will be automagically loaded by ifconfig. I don't know if > this is working already or not, though. > > Now, how to tell the kernel to load modules. Well, some stuff you > can set with rc.conf(5). Other stuff you may load explicitly through > kldload. And, finally, you don't need to have the _kernel_ load it. > You may edit loader.conf(5) to have it loaded at the same time the > kernel is loaded by, well, the loader(8). :-) (the bootstrap loader) > > > checked the kld man page, and nothing in there appears to be > > appropriate...and just looked at my /usr/src/etc/rc* files to see if maybe > > it was something I was supposed to configure in there, but nothing appears > > to be in tehre either... > > > > Help? > > Wild shot: are your kernel & world in sync? For isntance, you made a > new kernel when you edited your kernel configuration file to remove > the option line, right? If you just happened to have newer sources, > the new kernel might have become incompatible with the older > modules, which are not made automatically (except during world). cd > /sys/modules; make all install. This one is probably it *sigh* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message