NetBSD-Users archive

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

Does Linux emulation work?



I'm trying to run Linux binaries on NetBSD box running 8.99.7 kernel.
Linux emulation modules are loaded, suse packages were successfully installed.
Neither 32-bit binaries nor 64-bit ones work. What's wrong?

asrock# modstat  | grep linux
compat_linux            exec     builtin  f        1       - compat,compat_ossaudio,sysv_ipc,exec_elf64
compat_linux32          exec     builtin  f        0       - compat_linux,exec_elf32,compat_netbsd32,compat_netbsd32_sysvipc
drmkms                  driver   builtin  -        4       - drmkms_linux
drmkms_linux            misc     builtin  -        1       - i2cexec
asrock# /emul/linux32/bin/ls
/bin/sh: Cannot execute ELF binary /emul/linux32/bin/ls
asrock# file /emul/linux32/bin/ls
/emul/linux32/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.16, BuildID[sha1]=a0f7143925af4337fcf24f81173da59692aa1cd7, stripped
asrock# uname -srm
NetBSD 8.99.7 amd64
asrock# mount | grep emu
procfs on /usr/pkg/emul/linux/proc type procfs (local)
asrock#


Home | Main Index | Thread Index | Old Index