[Asterisk-Users] Re: [Asterisk-Dev] Illegal Instruction (Solved)
Girish Gopinath
asterisk_in at yahoo.com
Mon Nov 8 01:14:02 MST 2004
Hi all,
I solved the 'Illegal Instruction' problem. This is what i did, hope this might help
someone later...
>From my /proc/cpuinfo file:
model name : VIA Samuel 2
I found this entry in the Asterisk Makefile and uncommented it:
# Pentium & VIA processors optimize
# PROC=i586
Recompiled.. and now everything is OK.
-Girish (Happy)
--- Girish Gopinath <asterisk_in at yahoo.com> wrote:
> Hi Matt,
>
> --- Matt Gibson <gibson at experthost.com> wrote:
>
> > did you delete your old asterisk's modules directory and try again?
>
> Thanks for the response.
> Yes, I removed everything before installing. Including /usr/lib/asterisk/modules and
> all
> directories under /var/lib/asterisk. But no luck.
>
> -Girish
>
> >
> > >Sorry for the cross-post. I posted this to the -users list about 12 hours back and
> > havent
> > >got any reply. Probably nobody there had experienced this problem. Can someone take
> a
> > >look into this and tell me why Asterisk seg-faults?
> > >
> > >--- Girish Gopinath <asterisk_in at yahoo.com> wrote:
> > >
> > >
> > >
> > >>Folks,
> > >>
> > >>I have an RH machine which was running Asterisk 1.0-RC1. This evening i switched to
> > >>Asterisk 1.0.1. Installation was successful, however Asterisk terminates abnormally
> > >>during startup flashing an 'Illegal Instruction' message on the console. I noticed
> > that
> > >>this happens while loading the iax2 module. I am attaching the trace of core with
> > this.
> > >>Can anyone tell me what is going wrong and how to fix it?
> > >>
> > >>TIA, Girish
> > >>
> > >>From the console:
> > >>[root at proxy05 asterisk-1.0.1]# asterisk -cvvv
> > >> == Parsing '/etc/asterisk/asterisk.conf': Found
> > >> == Parsing '/etc/asterisk/extconfig.conf': Found
> > >>Asterisk 1.0.1, Copyright (C) 1999-2004 Digium.
> > >>.
> > >>.
> > >> [chan_iax2.so] => (Inter Asterisk eXchange (Ver 2))
> > >> == Manager registered action IAXpeers
> > >> == Parsing '/etc/asterisk/iax.conf': Found
> > >> == Registered channel type 'IAX2' (Inter Asterisk eXchange Driver (Ver 2))
> > >> == Using TOS bits 16
> > >> == IAX Ready and Listening on 0.0.0.0 port 4569
> > >>Illegal instruction (core dumped)
__________________________________
Do you Yahoo!?
Check out the new Yahoo! Front Page.
www.yahoo.com
More information about the asterisk-users
mailing list