[asterisk-bugs] [Zaptel 0010593]: Zaptel crashes kernel - zt_init_tone_state

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Sep 19 12:00:34 CDT 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10593 
====================================================================== 
Reported By:                jmhunter
Assigned To:                mattf
====================================================================== 
Project:                    Zaptel
Issue ID:                   10593
Category:                   zaptel (the module)
Reproducibility:            sometimes
Severity:                   crash
Priority:                   normal
Status:                     assigned
Zaptel Version:             1.4.5.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             08-29-2007 13:02 CDT
Last Modified:              09-19-2007 12:00 CDT
====================================================================== 
Summary:                    Zaptel crashes kernel - zt_init_tone_state
Description: 
When zaptel is compiled and installed on my system, any use of my TDM400P
card will eventually lead to a kernel crash - see attached trace.

The problem is reproducible by simply picking up a Zap channel handset. It
won't always crash straight away, though. Sometimes it takes longer to
crash, sometimes it's quicker - and I also get some really strange
"dialtones" varying from complete silence, through loud single tones, right
up to weird multiple tones similar to a fax or modem.

I don't believe this to be a hardware issue, as this system has been rock
solid under an older version of zaptel. The older zaptel versions no longer
compile cleanly under current kernels, however, so it's time for me to bite
the bullet and try to track down the cause of the crash.

Any suggestions gratefully received - where do I start?!
====================================================================== 

---------------------------------------------------------------------- 
 jmhunter - 09-19-07 12:00  
---------------------------------------------------------------------- 
Hi matti,

I'm not sure how one would tell if zaptel has been configured with MMX or
not - I certainly didn't do anything special.

[root at server zaptel-1.4.5.1]# grep MMX *
[....]
zconfig.h: * Define if you want MMX optimizations in zaptel
zconfig.h: * Note: CONFIG_ZAPTEL_MMX is generally incompatible with AMD
zconfig.h:/* #define CONFIG_ZAPTEL_MMX */

My CPU is as follows:

[root at server zaptel-1.4.5.1]# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 4
model name      : Intel(R) Pentium(R) 4 CPU 3.06GHz
stepping        : 9
cpu MHz         : 3066.847
cache size      : 1024 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 5
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca
cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe lm
constant_tsc up pni monitor ds_cpl tm2 cid cx16 xtpr
bogomips        : 6136.87
clflush size    : 64 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-19-07 12:00  jmhunter       Note Added: 0070800                          
======================================================================




More information about the asterisk-bugs mailing list