Kernel headers for R1/Idera backups on CentOS 6

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-x8664-linode33 #1 SMP Mon May 20 10:22:57 EDT 2013 x8664 x8664 x8664 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

4 Replies

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.

@Vance:

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:

"]CONFIGMODULES=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. PVGRUB is probably the better option though if you have distro-supplied modules and you don't want to build your own.

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.

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/">http://tom-chapman.co.uk/2012/05/25/installing-the-default-linux-kernel-on-a-linode-centos-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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct