Ubuntu 10.04 clean install - need kernel headers

Ok, so I've got the system up and running, but I need to kernel headers to compile a module, and I can't seem to find them for this version of the kernel.

2.6.32.12-x86_64-linode12

I've checked linode.com/src and nothing there. Nothing in the ubuntu repositories either for that version. I'd prefer not to build a whole new kernel if possible.

Am I missing where to get the headers?

7 Replies

First, are you 100% sure you need to build a module? Is it something custom or very unpopular? Linode kernels are monolithic, and have a ton of common modules statically compiled in.

Browse or zgrep through /proc/config.gz, looking for the symbol of the module you're interested in. If it's there with "MODULEIDHERE=y", it's in kernel, and you just need to run whatever code wants it; and if the code is dumb, assumes it has to be a module, and "checks" for it by something in lines of lsmod | grep || exit or modprobe modulename || exit, remove that check.

Second, if the answer is "yes, I need it"… I guess you need to download the current source, 2.6.32.12-linode25.tar.bz2 at point of writing, and eventually reboot your Linode into that version. :(

I'm doing some virtualbox automation development, and I need the ethernet driver. So, yep, need a module.

That's a little frustrating.

/me facepalms.

It's actually the other way round.

The most recent 64-bit kernel is 2.6.32.12-x86_64-linode12, which you're using. BUT, the latest available in /src/ is -linode11. So… well… dunno, but sounds like an overlook on the builders' end. Maybe open a support ticket asking for the -linode12 source?

Looks like a simple oversight, which I've corrected. It's now there.

http://www.linode.com/src/2.6.32.12-x86 … 12.tar.bz2">http://www.linode.com/src/2.6.32.12-x86_64-linode12.tar.bz2

i need to build a module for acronis backup. kernel version i am running is 2.6.38-linode31…which is not in linode.com/src

is there somewhere else i should be looking?

-- Richard

A support ticket usually gets the latest kernel sources posted within a few minutes - they often seem to forget to put the latest out there.

Latest kernel src is - 2.6.35.7-linode29 on /src

Maybe there is not too much demand for kernel sources so handled on 'as asked' basis.

Thanks for the heads up.

– r

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