zaptel optimizacion

Nestor A. Diaz nestor at tiendalinux.com
Tue Apr 4 15:07:23 UTC 2006


Tzafrir Cohen wrote:
> On Tue, Apr 04, 2006 at 09:13:08AM -0500, Nestor A. Diaz wrote:
>   
>> Hello VoIP Team.
>>
>> I switch my office asterisk server to version 1.2.1 in testing, however 
>> i have experienced system freeze with this system.(x100p card / wcfxo 
>> module)
>>     
>
> First-off, 1.2.4 is recommended.
>
> Anyway, what sort of freezes? Kernel problems? Anything in the kernel
> logs?
>   
this is the problem, the system still respond to telnet but no login 
program is executed, is like there was no resources asigned to it, the 
num /caps/scroll keys in the keyboard responds but i can not type any 
other letter, it is something very very strange, there are no 
/var/log/asterisk/* to check what have happened.
> Asterisk taking 100% CPU time? Indication to that: open the manager
> interface (manager.conf) to interfaces other than the loopback
> (bind to 0.0.0.0). If asterisk locks, try telnetting into it (port
> 5038). If you get pings back and response from the manager interface but
> nothing else, you have Asterisk taking 100% CPU. Try removing the -p
> flag (the real-time priority, see /etc/default/asterisk) to get a better
> chance of debugging this.
>   
maybe it should be the "-p" flag that takes the whole cpu, but the 
strange thing is that the don't work, i am going to remove this, i also 
run asterisk with safe_asterisk script.

>> I think the only way the system will freeze is because of zaptel 
>> drivers, maybe my legacy server (athlon 850mhz) is not capable to deal 
>> with this kind of optimizations, this is just an assumption,  
>> DZAPTEL_OPTIMIZATIONS is not working the right way.
>>
>> Is there any way to insmod zaptel devices into a safe mode, not optimized ?
>>     
>
> This is a compile-time optimization. You have to rebuild the modules to
> remove it. Yet, I have a feeling that this is not the case.
>   
Thank you very much, i am going to remove the "-p" in order to check if 
that's the case.  i will tell you what have been the problem if i have 
been able to found the problem.

I also decide to insmod the following way:

/sbin/insmod /lib/modules/2.4.27-2-k7/misc/zaptel.o debug=1
/sbin/insmod /lib/modules/2.4.27-2-k7/misc/wcfxo.o monitor=1 debug=1

let's see what happend,

what behavious is expected with the "-p" flag when something goes wrong ?

Thanks.

-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:211 at tiendalinux.com
Email/MSN: nestor at tiendalinux.com
http://www.tiendalinux.com/
Bogota, Colombia 




More information about the Pkg-voip-maintainers mailing list