[asterisk-users] Zaptel timer on Intel Dual Core servers

Tzafrir Cohen tzafrir.cohen at xorcom.com
Tue Feb 5 04:09:20 CST 2008


On Tue, Feb 05, 2008 at 09:58:54AM +0000, Tony Mountifield wrote:
> Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:
> > On Sat, Feb 02, 2008 at 09:46:42AM +0100, Johansson Olle E wrote:
> > > Friends,
> > > 
> > > I'm having severe problems with zaptel timers on Intel Dual Core  
> > > systems with SMP code enabled. Ztdummy, zaptel connected to Digium TDM  
> > > or PRI cards - all ends up with large timer probems - zttest going  
> > > down to 50% accuracy on some systems, even to -1 on ztdummy systems  
> > > and voice quality is no more.  A restart is the only way to get back  
> > > to a working system.
> > 
> > A restart of asterisk? Not touhcing the kernel modules? 
> > 
> > What CPU is it, exactly? /proc/cpuinfo would help.
> > 
> > What version of Zaptel? Asterisk? Kernel? distribution?
> 
> Olle,
> 
> Specifically, what kernel version? 

As I understand from an IRC chat - CentOS 5 - 2.6.18-something.

> If you are using 2.6.9 (e.g. Centos 4),
> then by default when you build ztdummy, it does NOT use USE_RTC (although
> IMHO it should do). You should make the following change to ztdummy.c:
> 
>  #if LINUX_VERSION_CODE >= VERSION_CODE(2,6,13)

On a kernel version that calls itself 2.6.9, that part is never reached.
So that point is mute.

>  #define USE_RTC
>  #else
> -#if 0
> +#if 1
>  #define USE_RTC
>  #endif
>  #endif

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list