Date: Thu, 7 Oct 1999 16:18:10 -0300 (ADT) From: The Hermit Hacker <scrappy@hub.org> To: "Daniel C. Sobral" <dcs@newsguy.com> Cc: freebsd-current@FreeBSD.ORG Subject: Re: modules: how to use? Message-ID: <Pine.BSF.4.10.9910071617410.393-100000@thelab.hub.org> In-Reply-To: <37FC6A10.95E59914@newsguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9910071617410.393-100000>