Fwd: 11-RELEASE PL1 doesn't load kernel modules with ZFS-on-Root

Aryeh Friedman aryeh.friedman at gmail.com
Thu Oct 13 07:32:58 UTC 2016


---------- Forwarded message ----------
From: Aryeh Friedman <aryeh.friedman at gmail.com>
Date: Thu, Oct 13, 2016 at 1:59 AM
Subject: Re: 11-RELEASE PL1 doesn't load kernel modules with ZFS-on-Root
To: Kurt Jaeger <pi at opsec.eu>


On Thu, Oct 13, 2016 at 1:39 AM, Kurt Jaeger <pi at opsec.eu> wrote:

> Hi!
>
> > root at thin:~ # kldload linux
> > kldload: an error occurred while loading the module. Please check
> dmesg(8)
> > for more details.
>
> What does the dmesg log show ?
>

KLD linux.ko: depends on kernel - not available or version mismatch
linker_load_file: Unsupported file type

Fresh install from FreeBSD-11.0-RELEASE-amd64-bootonly.iso.   Source tree
generated with a svn checkout

aryehl at thin:~ % ls -lt /boot/kernel/linux.ko
-r-xr-xr-x  1 root  wheel  582728 Oct 11 11:26 /boot/kernel/linux.ko
aryehl at thin:~ % uname -a

FreeBSD thin.lan.fnwe.net 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0
r306420: Thu Sep 29 01:43:23 UTC 2016
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64


On Thu, Oct 13, 2016 at 2:31 AM, Kurt Jaeger <pi at opsec.eu> wrote:
Hi!

> KLD linux.ko: depends on kernel - not available or version mismatch
> linker_load_file: Unsupported file type

What does uname -a say ?

What does

file /boot/kernel/linux.ko

say ?

What does

ls -lt /boot/kernel/

show ? Maybe the file was not replaced during upgrade and is still on some
previous version ?

-- 
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org


More information about the freebsd-stable mailing list