Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Ubuntu & Kernel Headers
PostPosted: Mon Apr 15, 2013 11:28 pm 
Offline
Senior Newbie

Joined: Thu Jun 16, 2011 10:40 pm
Posts: 5
Website: http://snowulf.com
Location: San Francisco, CA
I'm currently trying to compile dahdi for Asterisk on my Linode. No big deal, normally. However, I can't compile dahdi because I don't have the kernel headers. Currently the linode is running 3.8.4-linode50 which, of course, Ubuntu doesn't have yet. I downloaded the the Linux source and linked it from /lib/modules/3.8.4-linode50/build however it still doens't work.

I've google'd around but I know I'm missing something. Could anyone please enlighten me as to how to get the kernel-headers manually into Ubuntu 12.10?

_________________
Have you tried rebooting?


Top
   
PostPosted: Tue Apr 16, 2013 12:42 am 
Offline
Senior Member

Joined: Wed Jun 08, 2011 11:25 pm
Posts: 51
For Asterisk you may need to use a distro-supplied kernel with pv-grub.

http://library.linode.com/communication ... igure-grub provides instructions for Ubuntu 9.10. I am not aware if the steps would be different for 12.10 or not.


Top
   
PostPosted: Wed Apr 17, 2013 5:58 am 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 569
Website: http://www.mattnordhoff.com/
retrograde inversion wrote:
For Asterisk you may need to use a distro-supplied kernel with pv-grub.

http://library.linode.com/communications/voip-services#sph_install-and-configure-grub provides instructions for Ubuntu 9.10. I am not aware if the steps would be different for 12.10 or not.

I don't know about Asterisk and Dahdi and can't speak to that, but I do know about pv-grub in general. The steps have changed somewhat since 9.10. Linode's pv-grub article covers up to 11.04; I recently wrote up how to do it on 12.04. I don't *think* anything has changed since 12.04, but I may be wrong. At the very least, it's a better starting point.

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
PostPosted: Wed Apr 17, 2013 11:15 am 
Offline

Joined: Wed Apr 17, 2013 11:12 am
Posts: 1
I'm in the exact same boat with xtables-addons. v2.2 is required for geoip in iptables, but the repo version is older. I'm trying to compile from source but I get the same issue with headers. Is there any other way around this besides the PV-GRUB stuff? I'm a little hesitant as though I know Linux, this seems like it has a high likelihood of me FUBAR'ing it pretty badly.


Top
   
PostPosted: Mon Apr 29, 2013 7:44 pm 
Offline
Senior Newbie

Joined: Sat Apr 20, 2013 5:34 pm
Posts: 6
I have been able to compile DAHDI with using linux-headers-virtual, it worked however I have other issues to do with memory issues however that may be unrelated and more to do with the realtime module.

Good luck.


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