how to insert a loadable module into the kernel.?
I'm really a novice LINUX user..
I'd like to insert module into the kernel.
Where is my kernel located?
I'm using fedora Core 6..
I know a little bit about the modprobe,but is there any way to edit the kernel directly in text mode.?????
Also how to enable a loadable module already in the kernel??
You insert a loadable module into the kernel with the "modprobe" command.
You cannot edit the kernel directly - you can edit the kernel source!
However - FC does not ship with the kernel source. You must use yum to install it.
To insert a module into the kernel you must recompile the kernel to include your module code. There are plenty of tutorials etc (including in LQ) on compiling the kernel.
Once the module is compiled into the kernel, it is "enabled". (Unless you are thinking of something else?)
Here's my take on your questions:
Also, you should install the release documentation and look at the kernel options section. What you want to do might already be an option you could pass to your FC 6 kernel.
|All times are GMT -5. The time now is 05:02 AM.|