LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   kernel module compilation (https://www.linuxquestions.org/questions/linux-software-2/kernel-module-compilation-139526/)

zbrox 01-28-2004 05:00 AM

kernel module compilation
 
i have a running up-to-date gentoo system. but i just found out that i needed the ext3 kernel module, but i have removed it from the config file i used during the compilation of the kernel. so i was wondering how can i compile this module and how to insert it on runtime(ins mod and stuff).
all help would be highly appreciate it! thank you in advance!

delta9 01-28-2004 03:31 PM

just set ext3 support to M (module) in your .config and only rebuild your modules, not the kernel.
So "make modules" and "make modules_install" should do the trick. Be warned that "make modules_install" removes ALL your modules and replaces them with the newly built ones, so either make a backup or be sure all needed modules are in your .config file.

"modprobe modulename" (don't know the exact name of the ext3 module) should insert it at runtime. Too list all inserted modules try "lsmod"


All times are GMT -5. The time now is 10:59 PM.