Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Jul 2010 19:31:17 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        William Vining <wfvining@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Unable to kldload linux
Message-ID:  <AANLkTikcRH221xxNZgQyoarOfThQczijEYmosv2d5MVx@mail.gmail.com>
In-Reply-To: <AANLkTi=JwN2mkCaxoWiSUHnUj_bsJrZ-Nzmz2WciOVhx@mail.gmail.com>
References:  <AANLkTi=JwN2mkCaxoWiSUHnUj_bsJrZ-Nzmz2WciOVhx@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Jul 31, 2010 at 6:19 PM, William Vining <wfvining@gmail.com> wrote:
> Hi,
>
> I have just upgraded my system to 8.1-RELEASE
>
> $ uname -a
> FreeBSD makalu.abqhomenet 8.1-RELEASE FreeBSD 8.1-RELEASE #10: Thu Jul
> 29 08:12:40 MDT 2010
> root@makalu.abqhomenet:/usr/obj/usr/src/sys/FRAGMENT =A0amd64
>
> only to find that I cannot load linux.ko
>
> # kldload linux
> kldload: can't load linux: Exec format error
>
> I tried compiling it into my kernel and recieved a message that
> COMPAT_LINUX was not a valid option.
>
> Has anybody got any advice/knowledge about this 'exec format error',
> I've tried recompiling the kernel without success (in loading the
> module), and I've even compiled the module on its own and was still
> unable to load it.
>
> # kldload /sys/modules/linux/linux.ko
> kldload: can't load linux: Exec format error
>
> I get the same error with the linprocfs and linsysfs modules.

Yes, and in addition, they depend on linux.ko

>
> Any thoughts?

Try adding

options         COMPAT_LINUX32

recompile your kernel and try again.

>
> Thanks,
> Will
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>



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