<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1276" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Folks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm a relative newcomer, so forgive me if I'm not
following established procedure. I was hoping it would be helpful to share the
problems I'm having on RedHat-7.2.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@209-166-32-52 Asterix]# /usr/sbin/asterisk -c
-g<BR>Asterisk CVS-12/17/03-02:39:14, Copyright (C) 1999-2001 Linux Support
Services, Inc.<BR>Written by Mark Spencer <<A
href="mailto:markster@linux-support.net">markster@linux-support.net</A>><BR>=========================================================================<BR>[
Booting.......... -- Registered indication country
'us'<BR> -- Registered indication country
'au'<BR> -- Registered indication country
'fr'<BR> -- Registered indication country
'de'<BR> -- Registered indication country
'nl'<BR> -- Registered indication country
'uk'<BR> -- Registered indication country
'fi'<BR> -- Registered indication country
'no'<BR> -- Registered indication country
'br'<BR> -- Setting default indication country to
'us'<BR>.......WARNING[1024]: File config.c, Line 579 (cfg_process): No '='
(equal sign) in line 34 of mgcp.conf<BR>.WARNING[1024]: File chan_iax2.c, Line
6044 (load_module): Unable to open IAX timing interface: No such
device<BR>WARNING[1024]: File chan_iax2.c, Line 5466 (set_config): Ignoring port
for now<BR>...WARNING[1024]: File chan_oss.c, Line 429 (soundcard_init): Unable
to open /dev/dsp: No such device<BR>..WARNING[1024]: File chan_zap.c, Line 7317
(setup_zap): Ignoring
rxwink<BR>.../var/spool/asterisk/outgoing<BR>.................................................Illegal
instruction (core dumped)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[root@209-166-32-52 Asterix]# gdb
/usr/sbin/asterisk -core core.22204<BR>GNU gdb Red Hat Linux
(5.1-1)<BR>Copyright 2001 Free Software Foundation, Inc.<BR>GDB is free
software, covered by the GNU General Public License, and you are<BR>welcome to
change it and/or distribute copies of it under certain conditions.<BR>Type "show
copying" to see the conditions.<BR>There is absolutely no warranty for
GDB. Type "show warranty" for details.<BR>This GDB was configured as
"i386-redhat-linux"...<BR>Core was generated by `/usr/sbin/asterisk -c
-g'.<BR>Program terminated with signal 4, Illegal instruction.<BR>Reading
symbols from /lib/libdl.so.2...done.<BR>Loaded symbols for
/lib/libdl.so.2<BR>Reading symbols from
/lib/libpthread.so.0...done.<BR></DIV></FONT><FONT face=Arial size=2></FONT>
<DIV><FONT face=Arial size=2>warning: Unable to set global thread event mask:
generic error<BR>[New Thread 1024 (LWP 22204)]<BR>Error while reading shared
library symbols:<BR>Cannot enable thread event reporting for Thread 1024 (LWP
22204): generic error<BR>[snip]</FONT></DIV>
<DIV><FONT face=Arial size=2>lots of symbols being read</FONT></DIV>
<DIV><FONT face=Arial size=2>[snip]</FONT></DIV>
<DIV><FONT face=Arial size=2>Loaded symbols for
/usr/lib/asterisk/modules/codec_ilbc.so<BR>Reading symbols from
/usr/lib/asterisk/modules/codec_gsm.so...done.<BR>Loaded symbols for
/usr/lib/asterisk/modules/codec_gsm.so<BR>#0 0x407295ef in gsm_sub () from
/usr/lib/asterisk/modules/codec_gsm.so<BR>(gdb)<BR>(gdb) bt<BR>#0
0x407295ef in gsm_sub () from /usr/lib/asterisk/modules/codec_gsm.so<BR>#1
0x40727e1b in Gsm_RPE_Decoding ()<BR> from
/usr/lib/asterisk/modules/codec_gsm.so<BR>Error accessing memory address 0x7fff:
No such process.<BR>(gdb)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>If I take a different approach and 'strace
/usr/sbin/asterisk -c', I see:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>open("/etc/asterisk/modules.conf", O_RDONLY) =
18<BR>fstat64(18, {st_mode=S_IFREG|0755, st_size=858, ...}) =
0<BR>old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x4041d000<BR>read(18, ";\n; Asterisk configuration file\n"..., 4096) =
858<BR>read(18, "",
4096)
=
0<BR>close(18)
= 0<BR>munmap(0x4041d000,
4096)
= 0<BR>open("/usr/lib/asterisk/modules/codec_gsm.so", O_RDONLY) = 18<BR>read(18,
"\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\20"..., 1024) =
1024<BR>fstat64(18, {st_mode=S_IFREG|0755, st_size=90674, ...}) =
0<BR>old_mmap(NULL, 46212, PROT_READ|PROT_EXEC, MAP_PRIVATE, 18, 0) =
0x40720000<BR>mprotect(0x4072a000, 5252, PROT_NONE) =
0<BR>old_mmap(0x4072a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 18,
0x9000) =
0x4072a000<BR>close(18)
= 0<BR>mprotect(0x40720000, 40960, PROT_READ|PROT_WRITE) =
0<BR>mprotect(0x40720000, 40960, PROT_READ|PROT_EXEC) = 0<BR>write(1, ".",
1.)
= 1<BR>gettimeofday({1071708578, 292438}, NULL) = 0<BR>--- SIGILL (Illegal
instruction) ---<BR>+++ killed by SIGILL +++<BR>[root@209-166-32-52
Asterix]#<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Thoughts?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Darren</DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>--<BR>Darren Nickerson<BR>Senior Sales &
Support Engineer<BR>iFax Solutions, Inc. <A
href="http://www.ifax.com">www.ifax.com</A><BR><A
href="mailto:darren.nickerson@ifax.com">darren.nickerson@ifax.com</A><BR>+1.215.438.4638
office<BR>+1.215.243.8335 fax</FONT></DIV></BODY></HTML>