Subject: Re: linux emulation not working
To: None <port-i386@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: port-i386
Date: 12/02/2003 00:24:40
In article <20031127182753.GA7228@grouper.salmi.ch>,
Jukka Salmi <jukka-netbsd@2003.salmi.ch> wrote:
>Hi,
>
>Executing a recent runtime linker from Debian on a stable NetBSD
>(1.6.2_RC2) i386 system fails:
>
>$ ktrace /emul/linux/lib/ld-2.3.2.so
>Bad system call (core dumped)
>$ kdump
> 720 ktrace EMUL "netbsd"
> 720 ktrace CALL execve(0xbfbfd7c7,0xbfbfd71c,0xbfbfd724)
> 720 ktrace NAMI "/emul/linux/lib/ld-2.3.2.so"
> 720 ld-2.3.2.so EMUL "svr4"
>[...]
>
>And after removing SVR4 compatibility from the kernel:
>
>$ ktrace /emul/linux/lib/ld-2.3.2.so; kdump
>Bad system call (core dumped)
> 474 ktrace EMUL "netbsd"
> 474 ktrace CALL execve(0xbfbfd80a,0xbfbfd754,0xbfbfd75c)
> 474 ktrace NAMI "/emul/linux/lib/ld-2.3.2.so"
> 474 ld-2.3.2.so EMUL "netbsd"
>[...]
>
>What's wrong with Linux emulation?
>
>BTW, executing the linker from pkgsrc/emulators/suse_base works fine...
What does file say for both linkers? Can you send me privately copies of
both?
christos