LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   is there a way to re-compile the modules in the kernel without taking out the oldones (https://www.linuxquestions.org/questions/linux-software-2/is-there-a-way-to-re-compile-the-modules-in-the-kernel-without-taking-out-the-oldones-68617/)

likid0 06-28-2003 04:11 AM

is there a way to re-compile the modules in the kernel without taking out the oldones
 
hi guys

for example if you re-compile your modules with a couple pf new modules yo have inserted, what happens to me is that the nvidia-module allways desepears and i have make it again and install it. isnt there a way to do it that it doesnt take out the old-modules?


thnx

MasterC 06-29-2003 03:17 AM

You could copy over the few, newly created modules by hand, however that's really not a great idea if you don't know absolutely what you are doing. Other options might include just copying your few, removed modules to another directory, then after the make modules_install copying them back...

Some suggestions..

Cool

likid0 06-29-2003 05:45 AM

ok i understand but i cant seem to do it, because the modules i want to keep lets say nvidia module, where do i have to keep it or put it so it comes up in modconf in debian?


i will have a look later anyway, and trie to solve the problem i'll tell you later thnX.

MasterC 06-29-2003 05:51 AM

Copy it somewhere outside the kernel while you:
make modules_install
Then copy it back to the same location it was before:
cp /lib/modules/kernel-version/path/to/module /home/user/backup
And after:
cp /home/user/backup/nvidia.o /lib/modules/kernel-version/path/to/module

HTH

:)

Cool


All times are GMT -5. The time now is 07:30 PM.