Subject: linux emulation not working
To: None <port-i386@netbsd.org>
From: Jukka Salmi <jukka-netbsd@2003.salmi.ch>
List: port-i386
Date: 11/27/2003 19:27:53
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...
Help is appreciated,
Jukka
--
bashian roulette:
$ ((RANDOM%6)) || rm -rf ~