LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 05-26-2011, 07:29 AM   #1
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Rep: Reputation: 35
Question Upgrading kernel: What happens to modules?


Hello

Suppose I add a module manually, ie. through "make install" instead of using a package manager.

Then, if I upgrade the kernel through the Synaptics package manager, will the module still be loaded when I reboot with the new kernel, or must I re-run "make install" every time I upgrade the kernel?

Thank you.
 
Old 05-26-2011, 07:39 AM   #2
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
No, the kernel will only load modules in the /lib/modules/(uname -r) directory.
Yes, you have to rebuild the modules every time you upgrade kernel versions.

Last edited by andrewthomas; 05-26-2011 at 07:43 AM.
 
Old 05-26-2011, 05:57 PM   #3
littlebigman
Member
 
Registered: Aug 2008
Location: France
Posts: 658

Original Poster
Rep: Reputation: 35
Thanks Andrew for the confirmation.
 
Old 05-26-2011, 06:15 PM   #4
andrewthomas
Senior Member
 
Registered: May 2010
Location: Chicago Metro
Distribution: Arch, Gentoo, Slackware
Posts: 1,690

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
Glad to be of help.
 
  


Reply



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 Kernel Modules found for 2.6.24.5 when upgrading to 12.1 Swift&Smart Slackware 2 03-08-2009 12:53 AM
How do I know what modules to enable when I am upgrading my kernel on suse? abefroman SUSE / openSUSE 1 06-14-2005 07:54 PM
Can I use old modules when upgrading to kernel to 2.6.7 ? td0l2 Linux - General 0 07-06-2004 09:38 PM
modules problem after upgrading redhat 8.0 kernel with rpm aircom LinuxQuestions.org Member Success Stories 3 09-16-2003 05:23 PM
modules problem after upgrading redhat 8.0 kernel with rpm aircom Linux - Newbie 1 09-16-2003 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration