compiling modules for a running kernel
Hi!
i'm running slackware 8.1. my question is: can i compile modules from source without reompiling the whole kernel. my suggestion is: in /usr/src/linux 1. make menuconfig 2. marking the needed modules with "m" 3. make modules 4. make modules_install am i right or is there anything left to do like "make clean, dep etc." bass |
I would do a "make dep" before doing a "make modules"
-K |
#1, why recomple modules when slackware default comes with all of them precompiled? Make sure you really need to do it(source update or something similar).
#2, make sure it's the exact same version of your RUNNING kernel. Make sure that your modules compile against the exact same static configuration as you are RUNNING - else they *shouldn't* load. #3, Yes, it's fine to do it following the above two suggestions. |
thanks for quick reply! i have to recompile them because i recompiled the kernel once and left out all the modules i thought i would not need ;-). but they are the same version because they come from the same source shipped with slackware. do i have to make a "make dep" or not???
bass |
All times are GMT -5. The time now is 10:38 AM. |