Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

4 views
Skip to first unread message

Aryeh Friedman

unread,
Oct 13, 2016, 12:04:44 AM10/13/16
to FreeBSD Stable List
FreeBSD thin.lan.fnwe.net 11.0-RELEASE-p1 FreeBSD 11.0-RELEASE-p1 #0
r306420: Thu Sep 29 01:43:23 UTC 2016
ro...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64
root@thin:~ # df -k
Filesystem 1024-blocks Used Avail Capacity Mounted on
zroot/ROOT/default 927326328 8035732 919290596 1% /
devfs 1 1 0 100% /dev
zroot/tmp 919319840 29244 919290596 0% /tmp
zroot/usr/home 919290736 140 919290596 0% /usr/home
zroot/usr/ports 925242208 5951612 919290596 1% /usr/ports
zroot/usr/src 920521220 1230624 919290596 0% /usr/src
zroot/var/audit 919290692 96 919290596 0% /var/audit
zroot/var/crash 919290692 96 919290596 0% /var/crash
zroot/var/log 919290816 220 919290596 0% /var/log
zroot/var/mail 919290724 128 919290596 0% /var/mail
zroot/var/tmp 919290692 96 919290596 0% /var/tmp
zroot 919290692 96 919290596 0% /zroot

root@thin:~ # kldstat
Id Refs Address Size Name
1 10 0xffffffff80200000 1fa7c38 kernel
2 1 0xffffffff821a9000 30aec0 zfs.ko
3 2 0xffffffff824b4000 adc0 opensolaris.ko
root@thin:~ # kldload linux
kldload: an error occurred while loading the module. Please check dmesg(8)
for more details.


--
Aryeh M. Friedman, Lead Developer, http://www.PetiteCloud.org
_______________________________________________
freebsd...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stabl...@freebsd.org"

Andriy Gapon

unread,
Oct 13, 2016, 3:27:28 AM10/13/16
to Aryeh Friedman, FreeBSD Stable List
On 13/10/2016 07:04, Aryeh Friedman wrote:
> Please check dmesg(8)
> for more details.


--
Andriy Gapon

Aryeh Friedman

unread,
Oct 13, 2016, 3:33:28 AM10/13/16
to FreeBSD Stable List, Andriy Gapon
---------- Forwarded message ----------
From: Aryeh Friedman <aryeh.f...@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 <p...@opsec.eu>


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

> Hi!
>
> > root@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@thin:~ % ls -lt /boot/kernel/linux.ko
-r-xr-xr-x 1 root wheel 582728 Oct 11 11:26 /boot/kernel/linux.ko
aryehl@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
ro...@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC
amd64


On Thu, Oct 13, 2016 at 2:31 AM, Kurt Jaeger <p...@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 ?
0 new messages