ztdummy on Debian

Daniel Pocock daniel at readytechnology.co.uk
Thu Sep 7 16:22:41 UTC 2006



Tzafrir Cohen wrote:

>On Wed, Sep 06, 2006 at 11:21:42PM +0100, Daniel Pocock wrote:
>  
>
>>I've prepared a brief guide to installing ztdummy on Debian.
>>
>>Can someone familiar with the zaptel modules and the kernel packaging 
>>tools let me know if there is anything wrong with these instructions?
>>
>>   http://www.lvdx.com/examples/asterisk/ztdummy.txt
>>
>>Also, is this the correct output for `zap show status' with ztdummy?
>>
>>/usr/src/modules/zaptel# asterisk -rx "zap show status"
>>Description                              Alarms     IRQ        
>>bpviol     CRC4
>>ZTDUMMY/1 1                              UNCONFIGUR 0          0          0
>>    
>>
>
>1. If you use USE_RTC, there is no needfor HZ=1000
>
>  
>
Is USE_RTC automatic when using m-a to build the zaptel modules for 
kernel 2.6?

The rather long Wiki description mentions the HZ setting amongst many 
other things, is it safe for me to leave this in my guide or would it be 
best not having it there?

http://www.voip-info.org/wiki-Asterisk+timer+ztdummy

>2. Isn't the RTC part of the default kernels?
>
>  
>
I'm considering that the person reading this may have tweaked their 
kernel for specific hardware or network options, and/or they may have 
had an older gcc when they built their kernel.  E.g. I had built my 
kernel on a faster box with gcc 3.x, and copied it to a box with a 
500MHz CPU running Asterisk, which has gcc 4.x.  Then I compiled the 
module on the slower box.  The kernel rejected the module, presumably 
because of the newer gcc.  Rebuilt everything on the same box, and 
module was accepted.

However, I'm sure there are plenty of people out there who will be lucky 
enough to just run the commands listed below.

Nonetheless, I've summarised the possible faults at the bottom of my 
guide and advised people that they can skip some steps.

>Thus this guide should be reduced to:
>
>apt-get install zaptel zaptel-source
>m-a a-i zaptel
>/etc/init.d/zaptel start
>
>Assuming your kernel is indeed recent enough.
>
>  
>



More information about the Pkg-voip-maintainers mailing list