Unable to kldload linux
Fernando Apesteguía
fernando.apesteguia at gmail.com
Sat Jul 31 17:31:19 UTC 2010
On Sat, Jul 31, 2010 at 6:19 PM, William Vining <wfvining at 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 at makalu.abqhomenet:/usr/obj/usr/src/sys/FRAGMENT amd64
>
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
More information about the freebsd-questions
mailing list