On Sat, 04 Mar 2006 09:15:04 -0600, Harry Putnam wrote:

> Is this possible:
> 
> Compile a module by itself (not during kernel compile) and insert that
> module into a running kernel.
> 
> I'm pretty sure this is possible but have no idea how to do it. Pawing
> thru google. `site:gentoo.org modules "on the fly" ' and similar strings
> .... even just `kernel module'
> 
> Turns up scads of stuff but none of it is hitting this head on.. or I
> didn't paw far enough.... so asking here for pointers to documentation
> that will cover this.

Yes.

cd /usr/src/linux
make menuconfig or make xconfig
choose the module option you wish to enable
Select whether to build into the kernel or as a module.
exit and save
make
make modules_install

You should not have to copy bzImage unless you built your new modules into
the kernel.

Then edit your /etc/autoload directory to include the module you want to
modprobe into the system.

easy!

-- 
gentoo-user@gentoo.org mailing list

Reply via email to