NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Does Linux emulation work?
In article <88661512476112%web28j.yandex.ru@localhost>, <cheusov%tut.by@localhost> wrote:
>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#
$ sysctl -a | grep linux
emul.linux.kern.ostype = Linux
emul.linux.kern.osrelease = 3.11.6
emul.linux.kern.osversion = #1 SMP PREEMPT Thu Oct 24 16:23:02 UTC 2013
emul.linux.enabled = 0
emul.linux32.kern.ostype = Linux
emul.linux32.kern.osrelease = 3.11.6
emul.linux32.kern.osversion = #1 SMP PREEMPT Thu Oct 24 16:23:02 UTC 2013
emul.linux32.enabled = 0
You need to enable it.
christos
Home |
Main Index |
Thread Index |
Old Index