Hi, I've been trying to get the G.729a beta codec running with my remote Asterisk box that talks IAX2 to my local Asterisk box. Digium fixed the problem I was having in registering the beta codec, so that now works fine. I've removed the old codec_g729b.so from /usr/lib/asterisk/modules and put in place the codec_g729a.so beta from digium FTP. My CVS build of Asterisk is about a day old now. Everytime I try to execute /usr/sbin/safe_astersik with codec_g729a.so in place, it crashes and core dumps, not giving much indication of what's happening. I tried executing Asterisk directly with /usr/sbin/asterisk -cvvvvvvg to get as much verboseness as possible, and have cut the last few lines (host ID and license intentionally blanked out):- [format_g729.so] => (Raw G729 data) == Registered file format g729, extension(s) g729 [codec_g729a.so] => (Annex A/B (floating point) G.729/PCM16 Codec Translator) == G.729 Host-ID: **masked** == Found license '**masked**' providing 2 channels == Found total of 2 G.729 licenses Illegal instruction (core dumped) The machine this is running on is rather old - it's a Pentium MMX (166Mhz according to Linux, I thought it was a 200Mhz but I'm remote to the machine at the moment so I can't watch the BIOS boot to see). This is probably just a shot in the dark, but could this be related to the F00F bug in the older Pentiums? Has anyone else got the beta g729a codec running successfully on an older Pentium machine? Linux /proc/cpuinfo reports the following:- :~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 4 model name : Pentium MMX stepping : 3 cpu MHz : 167.049 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 333.41 Thanks, Chris Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040521/9d63f970/attachment.htm
andrewg@felinemenace.org
2004-May-21 19:45 UTC
[Asterisk-Users] G.729a beta codec on old Pentiums
On Sat, May 22, 2004 at 12:29:11PM +1000, Christopher Lee wrote:> Hi, >G'day,> > > I've been trying to get the G.729a beta codec running with my remote > Asterisk box that talks IAX2 to my local Asterisk box. > > > > Digium fixed the problem I was having in registering the beta codec, so that > now works fine. I've removed the old codec_g729b.so from > /usr/lib/asterisk/modules and put in place the codec_g729a.so beta from > digium FTP. My CVS build of Asterisk is about a day old now. > > > > Everytime I try to execute /usr/sbin/safe_astersik with codec_g729a.so in > place, it crashes and core dumps, not giving much indication of what's > happening. >If you have gdb installed, try gdb /usr/sbin/asterisk (or whichever path is appropiate) name_of_core_file, and send back the results of bt x/5i $eip info registers and that should allow the developers or other people to work out what the problem is. [snip]> > The machine this is running on is rather old - it's a Pentium MMX (166Mhz > according to Linux, I thought it was a 200Mhz but I'm remote to the machine > at the moment so I can't watch the BIOS boot to see). > > This is probably just a shot in the dark, but could this be related to the > F00F bug in the older Pentiums? Has anyone else got the beta g729a codec > running successfully on an older Pentium machine?As for the f00f bug, its unlikely that would be causing problems, the mention of f00f is there so that you can check to see if the machine is vulnerable. From memory, most os's now include work arounds for that bug.> Thanks, > > Chris LeeHope this helps, Andrew Griffiths
It very well could be email support@digium.com and see if maybe they are aware of this issue. bkw ----- Original Message ----- From: Christopher Lee To: asterisk-users@lists.digium.com Sent: Friday, May 21, 2004 8:29 PM Subject: [Asterisk-Users] G.729a beta codec on old Pentiums Hi, I've been trying to get the G.729a beta codec running with my remote Asterisk box that talks IAX2 to my local Asterisk box. Digium fixed the problem I was having in registering the beta codec, so that now works fine. I've removed the old codec_g729b.so from /usr/lib/asterisk/modules and put in place the codec_g729a.so beta from digium FTP. My CVS build of Asterisk is about a day old now. Everytime I try to execute /usr/sbin/safe_astersik with codec_g729a.so in place, it crashes and core dumps, not giving much indication of what's happening. I tried executing Asterisk directly with /usr/sbin/asterisk -cvvvvvvg to get as much verboseness as possible, and have cut the last few lines (host ID and license intentionally blanked out):- [format_g729.so] => (Raw G729 data) == Registered file format g729, extension(s) g729 [codec_g729a.so] => (Annex A/B (floating point) G.729/PCM16 Codec Translator) == G.729 Host-ID: **masked** == Found license '**masked**' providing 2 channels == Found total of 2 G.729 licenses Illegal instruction (core dumped) The machine this is running on is rather old - it's a Pentium MMX (166Mhz according to Linux, I thought it was a 200Mhz but I'm remote to the machine at the moment so I can't watch the BIOS boot to see). This is probably just a shot in the dark, but could this be related to the F00F bug in the older Pentiums? Has anyone else got the beta g729a codec running successfully on an older Pentium machine? Linux /proc/cpuinfo reports the following:- :~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 4 model name : Pentium MMX stepping : 3 cpu MHz : 167.049 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 333.41 Thanks, Chris Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040521/a139ff0f/attachment.htm
Hi, new codec runs with snom 200 ! greetings nicolas
Christopher Lee
2004-May-27 19:59 UTC
[Asterisk-Users] G.729a beta codec on old Pentiums - FIXED
Hi All, Just thought I'd provide a quick summary on this thread as the problem is now resolved. I didn't actually hear what the cause of the problem was as Digium shelled into my machine last night (Australian time GMT+10 here :-) and installed the codec and checked the license registration for me. Today I decided to replace the old g729 codec with the G.729 beta codec on my local Asterisk box, and noticed that the Digium FTP server now has different codecs for each different platform (athlon, i586, i686 etc). I grabbed the codec in the athlon directory since the local machine is an Athlon XP 1800+ and went ahead and registered the codec without any problems, and restarted Asterisk and all is working fine. I'm happy to report the beta g729 codec appears to be working nicely here with the Cisco 7940 (SIP 7.1 firmware) and over IAX2 to my remote Asterisk box, both boxes are running the latest CVS-HEAD (as at 28/05/04). Cheers, Chris Lee _____ From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Christopher Lee Sent: Saturday, 22 May 2004 12:29 PM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] G.729a beta codec on old Pentiums Hi, I've been trying to get the G.729a beta codec running with my remote Asterisk box that talks IAX2 to my local Asterisk box. Digium fixed the problem I was having in registering the beta codec, so that now works fine. I've removed the old codec_g729b.so from /usr/lib/asterisk/modules and put in place the codec_g729a.so beta from digium FTP. My CVS build of Asterisk is about a day old now. Everytime I try to execute /usr/sbin/safe_astersik with codec_g729a.so in place, it crashes and core dumps, not giving much indication of what's happening. I tried executing Asterisk directly with /usr/sbin/asterisk -cvvvvvvg to get as much verboseness as possible, and have cut the last few lines (host ID and license intentionally blanked out):- [format_g729.so] => (Raw G729 data) == Registered file format g729, extension(s) g729 [codec_g729a.so] => (Annex A/B (floating point) G.729/PCM16 Codec Translator) == G.729 Host-ID: **masked** == Found license '**masked**' providing 2 channels == Found total of 2 G.729 licenses Illegal instruction (core dumped) The machine this is running on is rather old - it's a Pentium MMX (166Mhz according to Linux, I thought it was a 200Mhz but I'm remote to the machine at the moment so I can't watch the BIOS boot to see). This is probably just a shot in the dark, but could this be related to the F00F bug in the older Pentiums? Has anyone else got the beta g729a codec running successfully on an older Pentium machine? Linux /proc/cpuinfo reports the following:- :~$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 4 model name : Pentium MMX stepping : 3 cpu MHz : 167.049 fdiv_bug : no hlt_bug : no f00f_bug : yes coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr mce cx8 mmx bogomips : 333.41 Thanks, Chris Lee -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040527/11a96c25/attachment.htm