Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 01, 2013 6:22 pm 
Offline
Newbie

Joined: Thu Aug 01, 2013 6:13 pm
Posts: 2
I'm trying to install the kernel drivers for the R1/Idera backups system and I need the kernel headers to do so.

Our server is as follows:
# cat /etc/redhat-release
CentOS release 6.4 (Final)
# uname -a
Linux xxxxxxxxxxxx 3.9.3-x86_64-linode33 #1 SMP Mon May 20 10:22:57 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux


I have looked through the forum and library but all I found was dead links or outdated information.


Is it possible to obtain the "3.9.3-x86_64-linode33" headers?

If not what can I do?

I did see reference to "Run a Distribution-Supplied Kernel with PV-GRUB" but that information is for the Cent OS 5. If this what I need to do what are the disadvantages of doing this and how would I do this?

Any help will be appreciated.
Stephane


Top
   
PostPosted: Thu Aug 01, 2013 11:35 pm 
Offline
Senior Member
User avatar

Joined: Sun Jan 18, 2009 2:41 pm
Posts: 830
There is no point in building modules for the Linode kernel. It is compiled statically and will not load modules.

The library article for PV-GRUB should still work; but instead of downloading the sources from kernel.org, follow the CentOS documentation for building a kernel module.


Top
   
PostPosted: Fri Aug 02, 2013 10:45 am 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
Vance wrote:
There is no point in building modules for the Linode kernel. It is compiled statically and will not load modules.

/proc/config.gz [3.9.3-x86_64-linode33] wrote:
CONFIG_MODULES=y

I'm pretty sure you can still load modules into the stock linode kernel, although I haven't actually done it in a very long time. AFAIK the vanilla kernel.org sources are all linode is using these days, so that is what you'd want to build modules against. PV_GRUB is probably the better option though if you have distro-supplied modules and you don't want to build your own.


Top
   
PostPosted: Fri Aug 02, 2013 11:35 am 
Offline
Senior Member
User avatar

Joined: Tue May 26, 2009 3:29 pm
Posts: 1691
Location: Montreal, QC
You can load modules (Caker has said so before), and they use the stock kernel, but it's probably not worth it. It's probably easier to just use your distro kernel and load the pre-made kernel modules from whatever repo.


Top
   
PostPosted: Mon Aug 05, 2013 6:30 pm 
Offline
Newbie

Joined: Thu Aug 01, 2013 6:13 pm
Posts: 2
Thanks for your responses, I have solved the issue.

I did use the PV-GRUB method to get the default OS kernel to work. Oddly enough I think the kernel is installed on the server by default although I am not completely sure of that. I didn't have to compile the kernel which is quite fortunate.

I found this page:
http://tom-chapman.co.uk/2012/05/25/ins ... tos-6-box/

But it's old and isn't current, parts of it are not correct. I used that as a starting point and made my own script and got it to work.

I would like to say I wish that Linode would have up to date instructions as I can't imagine I'm the only one that's run across this.

Stephane


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group