Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Tue May 11, 2010 1:24 am 
Offline
Newbie

Joined: Tue May 11, 2010 1:22 am
Posts: 2
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?


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 3:41 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
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. :(


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 4:02 am 
Offline
Newbie

Joined: Tue May 11, 2010 1:22 am
Posts: 2
I'm doing some virtualbox automation development, and I need the ethernet driver. So, yep, need a module.

That's a little frustrating.


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 7:52 am 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
/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?


Top
   
 Post subject:
PostPosted: Tue May 11, 2010 10:18 am 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
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

_________________
Disclaimer: I am no longer employed by Linode; opinions are my own alone.


Top
   
 Post subject: same here...
PostPosted: Mon Mar 28, 2011 1:37 pm 
Offline
Newbie

Joined: Mon Mar 28, 2011 1:27 pm
Posts: 2
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


Top
   
 Post subject:
PostPosted: Mon Mar 28, 2011 2:18 pm 
Offline
Senior Member

Joined: Fri Dec 07, 2007 1:37 am
Posts: 385
Location: NC, USA
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.


Top
   
 Post subject: Seems like it...
PostPosted: Mon Mar 28, 2011 2:30 pm 
Offline
Newbie

Joined: Mon Mar 28, 2011 1:27 pm
Posts: 2
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


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


Who is online

Users browsing this forum: fos and 0 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