Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Feb 2010 23:54:54 +0000
From:      John <comp.john@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   unabe to install linux compatibility on freebsd 8.0-R
Message-ID:  <20100220235454.GA1236@potato>

next in thread | raw e-mail | index | archive | help
Hello list,

I'm following the instructions at 
http://www.freebsd.org/doc/handbook/linuxemu-lbc-install.html

I tried to kldload the module:

# kldload linux
kldload: can't load /boot/kernel/linux.ko: Exec format error

# kldstat
Id Refs Address            Size     Name
 1   22 0xffffffff80100000 846698   kernel
 2    1 0xffffffff80947000 74a8     geom_concat.ko
 3    1 0xffffffff8094f000 8308     ng_ubt.ko
 4    3 0xffffffff80958000 154a0    netgraph.ko
 5    2 0xffffffff8096e000 12ff8    ng_hci.ko
 6    2 0xffffffff80981000 2d40     ng_bluetooth.ko
 7    1 0xffffffff80a22000 a24      pflog.ko
 8    1 0xffffffff80a23000 2bd2d    pf.ko
 9    1 0xffffffff80a4f000 a8ca     fuse.ko
 10    1 0xffffffff80a5a000 7d6      accf_http.ko
 11    1 0xffffffff80a5b000 1ce      accf_data.ko

If I try to install the linux port:

# cd /usr/ports/emulators/linux_base-f10
# make
===>  linux_base-f10-10_2 linuxulator is not (kld)loaded.
*** Error code 1

Stop in /usr/ports/emulators/linux_base-f10.

Finally, if I try to install compatibility in the kernel, I get the error 
unknown option "COMPAT_LINUX"
at the config phase.

Can anyone help me please?

# uname -p -r
8.0-RELEASE-p2 amd64 
The system was built today.
-- 
John - comp dot john at googlemail dot com
OpenBSD firewall | FreeBSD desktop | Ubuntu Karmic laptop
GPG: 0xF08A33C5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100220235454.GA1236>