Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Mon Dec 26, 2005 2:12 am 
Offline
Newbie

Joined: Sat Dec 03, 2005 11:04 am
Posts: 4
I would like to see Linode integrate the ztdummy driver into at least one of the Linode 2.6.x kernels. The dummy device does not take that many resources (it is just an overlay of 2.6.0's high resolution timer system) and is of great benefit to people who want to use Linode as an Asterisk VoIP server system (some useful applications like MeetMe conference bridge refuse to work without a timer). More information on Asterisk timing and dummy kernel devices can be found at http://www.voip-info.org/wiki/view/Asterisk+timer.

Happy holidays!


Top
   
 Post subject: hear, hear!
PostPosted: Mon Dec 26, 2005 12:37 pm 
Offline
Senior Member
User avatar

Joined: Mon Sep 08, 2003 4:49 pm
Posts: 62
Location: Bucharest
hear, hear!


Top
   
 Post subject: Not Possible
PostPosted: Wed Jan 04, 2006 6:22 pm 
Offline

Joined: Wed Jan 04, 2006 6:15 pm
Posts: 1
Location: Omaha, NE, USA
I had an e-mail discussion with Digium about adding support for building the ztdummy module into the kernel so that it could be built to meat Linode's Security guidelines. They said that the UML enviroment does not provide reliable enough timing for the driver to work.

When Linode moves to Xen then we will be able to build our own kernels and also have module support. Xen also has better timer replication so ztdummy should work.

Shawn


Top
   
 Post subject:
PostPosted: Sun Sep 23, 2007 4:44 pm 
Offline
Newbie

Joined: Sun Sep 23, 2007 4:42 pm
Posts: 3
So when will Linode move to Xen? I need ztdummy too.


Top
   
 Post subject:
PostPosted: Mon Sep 24, 2007 2:29 am 
Offline
Junior Member

Joined: Tue Jan 25, 2005 10:45 pm
Posts: 33
isnt there a xen test server (or a few) that u can be moved onto? Perhaps raise a support ticket and ask? :twisted:


Top
   
 Post subject:
PostPosted: Mon Sep 24, 2007 3:55 pm 
Offline
Senior Member
User avatar

Joined: Fri Oct 24, 2003 3:51 pm
Posts: 965
Location: Netherlands
There is a Xen test server - but you don't get to build your own kernels.

_________________
/ Peter


Top
   
 Post subject: ztdummy please
PostPosted: Thu Apr 24, 2008 5:54 pm 
Offline
Senior Newbie

Joined: Sun Dec 04, 2005 12:50 am
Posts: 6
ICQ: 4424365
Website: http://idorosen.com
AOL: phaedo84
Now that Linode is on Xen, can we please please please get the ztdummy kernel module installed on the hosts?


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 5:56 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
the xen kernels now support module loading. kernel source is available here:

http://linode.com/src/


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 6:03 pm 
Offline
Senior Newbie

Joined: Sun Dec 04, 2005 12:50 am
Posts: 6
ICQ: 4424365
Website: http://idorosen.com
AOL: phaedo84
So, for example, how would I load the ztdummy module? Just compile it against the kernel sources/headers and insmod as usual? That didn't work when I tried it.


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 6:22 pm 
Offline
Senior Member
User avatar

Joined: Mon Dec 10, 2007 4:30 pm
Posts: 341
Website: http://markwalling.org
error messages? kernel version? did you compile it against the correct source?

"it don't work" really isn't much help.

also, from insmod(8):
Code:
DESCRIPTION
       insmod  is  a  trivial program to insert a module into the kernel: if the filename is a hyphen, the
       module is taken from standard input. Most users will want to  use  modprobe(8)  instead,  which  is
       cleverer.


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 6:53 pm 
Offline
Senior Newbie

Joined: Sun Dec 04, 2005 12:50 am
Posts: 6
ICQ: 4424365
Website: http://idorosen.com
AOL: phaedo84
You're being a bit disrespectful, but I'll indulge you: I compiled zaptel 1.4.9.2 against the domU-linode7 kernel sources.

I used insmod because I was specifically pointing to a .ko file (the module itself), not its alias or expandable name in some search path, because I suspected that modprobe wasn't doing its job. The symptoms were basically that I got no errors and the module seemed to load (according to dmesg), but did not show up in lsmod and asterisk couldn't see it according to its logs.

How'd you get it to work?


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 7:50 pm 
Offline
Linode Staff
User avatar

Joined: Fri Oct 17, 2003 12:38 am
Posts: 287
Location: Dr Wierd's Lab, South Jersey Shore
ido wrote:
I compiled zaptel 1.4.9.2 against the domU-linode7 kernel sources.
[...]
How'd you get it to work?


ido, give ztxen a shot, you should have much better luck with it. http://bugs.digium.com/view.php?id=9592

ztdummy requires access to the RTC clock which the Xen guests do not have access too, ztxen removes this requirement using kernel interrupts as a replacement timing source.

Mike


Top
   
 Post subject:
PostPosted: Thu Apr 24, 2008 7:51 pm 
Offline
Senior Newbie

Joined: Sun Dec 04, 2005 12:50 am
Posts: 6
ICQ: 4424365
Website: http://idorosen.com
AOL: phaedo84
Thanks Mike!


Top
   
 Post subject:
PostPosted: Sun Oct 19, 2008 10:14 am 
Offline
Newbie

Joined: Sun Oct 19, 2008 10:08 am
Posts: 2
AOL: any
I am done installing asterisk on my vps but when the vps restarts it will indicate that zaptel failure. I don't know how to compile and install linode zaptel. can any one instruct step by step please......
thanks


Top
   
 Post subject:
PostPosted: Mon Oct 20, 2008 4:59 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com

// Please note I don't use Asterisk nor have I ever tried. This is just from a simple google search [1] & [2] and my knowledge of *nix. I, assume, you know what you are doing and can modify my guide to your needs, as well, I hold no responsibility to you messing your system up.
// Helpful links
// Source 1: http://www.voip-info.org/wiki/viewAster ... stallation (shameless guide)
// Source 2: www.linode.com/src/ (Linode Kernel source files)
// Source 3: http://www.voip-info.org/wiki/view/Aste ... aptel.conf (configuring you .conf for zaptel)


I don't have a guide on hand for compiling a kernel for linode. This will be needed.

To compile the module:
Code:
cd /usr/src
svn co http://svn.digium.com/svn/zaptel/branches/1.4 zaptel
$: ./configure && make
# make install

modprobe zaptel


Add the module to /etc/modprobe.conf

// the $ denotes normal user (although root can be used)
// the # sound in front denotes (root or sudo)


Debian:
Code:
apt-get install zaptel-source
m-a a-i zaptel
/etc/init.d/zaptel start


Last edited by freedom_is_chaos on Mon Oct 20, 2008 5:16 am, edited 3 times in total.

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


Who is online

Users browsing this forum: No registered users 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