Illegal Instruction on new FC4 install [was: Re: [Asterisk-Users]
Newbie question. (Long)]
Tzafrir Cohen
tzafrir at cohens.org.il
Fri Nov 18 07:32:15 MST 2005
On Fri, Nov 18, 2005 at 09:12:46AM +0000, Roger Hill wrote:
> Hi all :
>
> My first posting to the group - please be gentle!
Please use a more descriptive subject line.
>
> I've been messing with Asterisk for a couple of weeks now.
> 1.0.9 is running fine on an old laptop (300MHz, 128MB ram, Kubuntu),
> downloaded the binary package.
>
> Now I'm trying to put the working installation on my production server
> along with HTTP etc.
> ( 700MHz, 256MB ram, uname -a gives "Linux coach.hillconsult.com
> 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:32 EST 2005 i686 i686 i386
> GNU/Linux").
>
> That box, until yesterday, was running Fedora core 3. I tried the
> tarball download of 1.2.0.rc2, ran make OK, then make install, make samples.
> When I tried to run Asterisk, I got (immediately) "Illegal Instruction".
> Tried on my FC4 laptop, worked just fine.
> Concluded I needed FC4, so upgraded the server yesterday. Six hours later...
> Reran make clean, make...
> Same problem.
> Then tried 1.2.0; same problem.
> Then tried 1.0.9; same problem.
> Finally removed everything to do with asterisk, pulled dowm 1.2.0 tar
> ball again, and re-installed.
> Same old problem, illegal instruction.
What CPU is it? cat /proc/cpuinfo
>
> I did an strace, which follows. I don't know enough to decide what the
> strace is telling me. (The missing /etc/ld.so.preload is also missing on
> the FC4 laptop which works, so I concluded that that was not the problem.)
Indeed it is not a problem.
>
> Any help much appreciated.
>
> Regards
> Roger
>
> [rhill at coach sbin]$ sudo strace ./asterisk
When you try to strace a process that may fork, try 'strace -f' instead.
Also: what does a simple 'asterisk -cddddddvvvvvvvvvv' give?
> execve("./asterisk", ["./asterisk"], [/* 27 vars */]) = 0
> uname({sys="Linux", node="coach.hillconsult.com", ...}) = 0
> brk(0) = 0x8773000
> access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or
> directory)
> open("/etc/ld.so.cache", O_RDONLY) = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=48722, ...}) = 0
> old_mmap(NULL, 48722, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f85000
> close(3) = 0
> open("/lib/libdl.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\250\213"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=16760, ...}) = 0
> old_mmap(0x8f8000, 12388, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8f8000
> old_mmap(0x8fa000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x8fa000
> close(3) = 0
> open("/lib/tls/i686/libpthread.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\334\306"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=103404, ...}) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7f84000
> old_mmap(0x938000, 65980, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x938000
> old_mmap(0x945000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x945000
> old_mmap(0x947000, 4540, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x947000
>
> close(3) = 0
> open("/usr/lib/libncurses.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\343"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=985952, ...}) = 0
> old_mmap(0x5a00000, 290348, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x5a00000
> old_mmap(0x5a3e000, 36864, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3d000) = 0x5a3e000
> close(3) = 0
> open("/lib/tls/i686/libm.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320\22"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=213872, ...}) = 0
> old_mmap(0x8fe000, 139424, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8fe000
> old_mmap(0x91f000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x91f000
> close(3) = 0
> open("/lib/libresolv.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\350\323"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=72956, ...}) = 0
> old_mmap(0x94b000, 71848, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x94b000
> old_mmap(0x959000, 8192, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x959000
> old_mmap(0x95b000, 6312, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x95b000
> close(3) = 0
> open("/lib/libssl.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360\26"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=230056, ...}) = 0
> old_mmap(0xaa8000, 228948, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xaa8000
> old_mmap(0xadd000, 12288, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x35000) = 0xadd000
> close(3) = 0
> open("/lib/tls/i686/libc.so.6", O_RDONLY) = 3
The i686 version of glibc, right?
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\230n\177"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1431008, ...}) = 0
> old_mmap(0x7e2000, 1129660, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7e2000
> mprotect(0x8ef000, 27836, PROT_NONE) = 0
> old_mmap(0x8f0000, 16384, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10d000) = 0x8f0000
> old_mmap(0x8f4000, 7356, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8f4000
> close(3) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7f83000
> open("/usr/lib/libgssapi_krb5.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200p\256"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=99660, ...}) = 0
> old_mmap(0xae2000, 96684, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xae2000
> old_mmap(0xaf9000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0xaf9000
> close(3) = 0
> open("/usr/lib/libkrb5.so.3", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\265\260"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=465204, ...}) = 0
> old_mmap(0xafc000, 466416, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xafc000
> old_mmap(0xb6b000, 12288, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6e000) = 0xb6b000
> close(3) = 0
> open("/lib/libcom_err.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\371\225"...,
> 512) = 512
>
>
> fstat64(3, {st_mode=S_IFREG|0755, st_size=7836, ...}) = 0
> old_mmap(0x95f000, 9348, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
> 3, 0) = 0x95f000
> old_mmap(0x961000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x961000
> close(3) = 0
> open("/usr/lib/libk5crypto.so.3", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300u\226"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=149028, ...}) = 0
> old_mmap(0x964000, 146912, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x964000
> old_mmap(0x987000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23000) = 0x987000
> close(3) = 0
> open("/lib/libcrypto.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\242\233"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1130028, ...}) = 0
> old_mmap(0x98f000, 1142372, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x98f000
> old_mmap(0xa91000, 73728, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x102000) = 0xa91000
> old_mmap(0xaa3000, 11876, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xaa3000
> close(3) = 0
> open("/usr/lib/libz.so.1", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\320F\222"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=75568, ...}) = 0
> old_mmap(0x923000, 76940, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x923000
> old_mmap(0x935000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x11000) = 0x935000
> close(3) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7f82000
> open("/usr/lib/libkrb5support.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\251\230"...,
> 512) = 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=10724, ...}) = 0
> old_mmap(0x98a000, 12092, PROT_READ|PROT_EXEC,
> MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x98a000
> old_mmap(0x98c000, 4096, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1000) = 0x98c000
> close(3) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
> -1, 0) = 0xb7f81000
> mprotect(0x8f0000, 8192, PROT_READ) = 0
> mprotect(0x959000, 4096, PROT_READ) = 0
> mprotect(0x91f000, 4096, PROT_READ) = 0
> mprotect(0x945000, 4096, PROT_READ) = 0
> mprotect(0x8fa000, 4096, PROT_READ) = 0
> mprotect(0x7de000, 4096, PROT_READ) = 0
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f818e0,
> limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
> limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> munmap(0xb7f85000, 48722) = 0
> set_tid_address(0xb7f81928) = 21499
> rt_sigaction(SIGRTMIN, {0x93c2d4, [], SA_SIGINFO}, NULL, 8) = 0
> rt_sigaction(SIGRT_1, {0x93c344, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0
> rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
> getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0
> _sysctl({{CTL_KERN, KERN_VERSION}, 2, 0xbfc8e7fc, 30, (nil), 0}) = 0
> brk(0) = 0x8773000
> brk(0x8794000) = 0x8794000
> --- SIGILL (Illegal instruction) @ 0 (0) ---
> +++ killed by SIGILL +++
> [rhill at coach sbin]$
>
>
> --
> ########################################################
> Roger Hill 07739 707 180
> Perseverance is the hard work you do after you get
> tired of doing the hard work you already did.
> ########################################################
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
--
Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir at cohens.org.il | | best
ICQ# 16849755 | | friend
More information about the asterisk-users
mailing list