Port-amd64 archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: netbsd32 emul in netbsd7



On Tue, Dec 15, 2015 at 10:48:20AM +0000, Patrick Welche wrote:
> Grabbing a /rescue/ls from NetBSD-5/i386, and running it on -current/amd64
> works, but on a recent 7.0_STABLE/amd64 kernel gives
> 
> ./ls: Exec format error. Binary file not executable.
> 
> ./ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), statically linked, for NetBSD 5.1, stripped
> 
>     12      1 ktrace   EMUL  "netbsd"
>     12      1 ktrace   CALL  execve(0x7f7ffffffdbf,0x7f7fffffdbb0,0x7f7fffffdbc0)
>     12      1 ktrace   NAMI  "./ls"
>     12      1 ktrace   NAMI  "./ls"
>     12      1 ktrace   RET   execve -1 errno 8 Exec format error
>     12      1 ktrace   CALL  execve(0x7f7ff7510146,0x7f7fffffd680,0x7f7fffffdbc0)
>     12      1 ktrace   NAMI  "/bin/sh"
>     12      1 ktrace   NAMI  "/libexec/ld.elf_so"
>     12      1 sh       EMUL  "netbsd"
>     12      1 sh       RET   execve JUSTRETURN
>     12      1 sh       CALL  mmap(0,0x8000,3,0x1002,0xffffffff,0,0)
>     12      1 sh       RET   mmap 140187598290944/0x7f7ff7ff8000
> 
> no mention of NAMI "/emul/netbsd32"...
> 
> modstat suggests netbsd32 emulation is available:
> 
> compat_netbsd32  exec       builtin    -1    0                -        compat,compat_sysv,nfsserver,mqueue,exec_elf32
> 
> 
> Any thoughts on where to look?

Sorted: breakage was reverted...

Cheers,

Patrick


Home | Main Index | Thread Index | Old Index