LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 06-28-2003, 04:11 AM   #1
likid0
LQ Newbie
 
Registered: Apr 2003
Location: madrid
Distribution: Debian roX
Posts: 16

Rep: Reputation: 0
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
 
Old 06-29-2003, 03:17 AM   #2
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
Old 06-29-2003, 05:45 AM   #3
likid0
LQ Newbie
 
Registered: Apr 2003
Location: madrid
Distribution: Debian roX
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 06-29-2003, 05:51 AM   #4
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
no modules after kernel compile glorsplitz Slackware 7 09-20-2005 10:26 AM
no lib/modules/2.6.13 after kernel compile Motown Slackware 2 09-07-2005 07:59 AM
unable to compile new modules in the kernel Menestrel Slackware 1 01-09-2005 05:41 AM
No more modules after kernel compile w/ ck patch uglydot Slackware 3 11-10-2003 03:04 PM
modules after re-compile kernel skarim Linux - Software 3 10-15-2003 01:48 AM


All times are GMT -5. The time now is 12:33 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration