//flex table opened by JP

Click to See Complete Forum and Search --> : how do I add and remove modules to my linux 2.4.10 Kernel


kcarrera
01-05-2002, 08:47 PM
First, I can not locate my Linux Kernel Source

I have issued the insmod command, but I am not sure how to recompile the kernel.


Thanks for any help offered!

Kenneth

Ka0ticSH
01-06-2002, 12:23 PM
Once Again, Correct me if i'm wrong:
For RedHat, you can use the user interfaced command : kernelcfg, which allows you to load and unload modules manually.

these commands should help :

lsmod -- Lists modules currently loaded

insmod --Loads a module into the kernel

rmmod --Unloads a module currently loaded.

depmod --Creates a dependency file listing all other module
on which the specified module may rely.

modprobe --Loads a module with any dependent modules it may
also need. Ueses the file of dependency listings
generated by depmod.

Your modules are located in the
/lib/modules/version , where version = modules version.

Hope i helped.

BloodRed
01-06-2002, 04:45 PM
http://www.linuxnewbie.org/nhf/intel/compiling/kernelcomp.html

Check out that help file, it'll walk you through compiling your kernel.