LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-02-2012, 11:05 PM   #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, 06:45 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,289

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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:09 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