Subject: Re: compat_solaris
To: None <port-sparc64@netbsd.org>
From: None <christer@a-son.net>
List: port-sparc64
Date: 02/05/2005 21:15:53
On Sat, Feb 05, 2005 at 02:43:53PM -0500, Michael wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello,
>
> >Hmm, now I get...
> >Syntax error: ")" unexpected
> >Apparently ktrace thinks it's a script for some reason. Odd.
>
> ... and kdump says this:
>
> 819 ktrace EMUL "netbsd"
> 819 ktrace RET ktrace 0
> 819 ktrace CALL
> execve(0xffffffffffffc696,0xffffffffffffc490,0xffffffffffffc4a0)
> 819 ktrace NAMI "/emul/svr4_32/usr/lib/opera/8.0-20050104.1/opera"
> 819 ktrace RET execve -1 errno 8 Exec format error
> 819 ktrace CALL
> execve(0x405c0220,0xffffffffffffbe40,0xffffffffffffc4a0)
> 819 ktrace NAMI "/bin/sh"
> 819 ktrace NAMI "/libexec/ld.elf_so"
>
> ok, so execve didn't recognize the format for some reason. Any idea
> what could cause that?
>
There was a similar problem a while ago, think it was the same list.
Then it was sparc executables (32 bit) on sparc64. It turned out to be
broken symlinks from the emul binaries or libraries, I forget which. I
think the solution was chroot or changing the symlinks.
Hope this helps,
Christer
--
Christer O. Andersson
Odensbacken