LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2012, 12:05 AM   #1
kankan55
Member
 
Registered: Nov 2012
Posts: 32

Rep: Reputation: Disabled
Question Do we need to compile and install each driver for multiple kernel?


Hi ALL,

I have two different version of kernel at a boot time. Oracle Linux and Oracle linux uek kernel. I am going to install on HP server.


Is the driver be loaded on another kernel if I installed the driver on the other one?

I am wondering that do I need compile all HP driver separately on both kernel ? and install separately on each kernel.

Thank you in advance.
 
Old 12-03-2012, 07:45 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware & Android
Posts: 7,564

Rep: Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696Reputation: 696
Confusing question.
The "correct" way to do it is to build kernel & modules for one, change the setting of CONFIG_LOCALVERSION, make clean, and build number 2 kernel & modules. Each kernel will then refer to it's own modules.

by leaving CONFIG_LOALVERSION the same and building 2 different kernels using one set of modules, you can get trouble. Either the module needs something one kernel hasn't got, or vice versa.
 
  


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
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 04:18 PM
Kernel-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 01:15 AM
Driver won't compile on Kernel 2.6 - works fine on Kernel 2.4 c@sey Linux - Software 4 01-08-2005 02:01 PM
compile kernel once for multiple distros? rgiggs Mandriva 2 06-04-2004 03:25 AM
How to compile a driver with the kernel? Kermeat Linux - General 5 02-11-2003 05:04 AM


All times are GMT -5. The time now is 06:31 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration