Re: Unable to load kernel modules after r320324 -> r320353: "depends on kernel - not available or version mismatch"

From: David Wolfskill <david_at_catwhisker.org>
Date: Mon, 26 Jun 2017 05:28:24 -0700
On Mon, Jun 26, 2017 at 03:05:58PM +0300, Konstantin Belousov wrote:
> On Mon, Jun 26, 2017 at 04:54:36AM -0700, David Wolfskill wrote:
> > KLD geom_eli.ko: depends on kernel - not available or version mismatch
> > linker_load_file: /boot/kernel/geom_eli.ko - unsupported file type
> > swapon: /dev/ada0s4b.eli: Invalid parameters
> 
> Again remove all kernel build files and try fresh build.

OK; after clearing /usr/obj/usr/src/sys/GENERIC, then rebuilding the
kernel ("make -j16 buildkernel && ... && make installkernel") &
rebooting no longer whines about the kmods, and kldstat says:

freebeast(12.0-C)[2] kldstat 
Id Refs Address            Size     Name
 1   25 0xffffffff80200000 2081550  kernel
 2    1 0xffffffff82283000 a128     filemon.ko
 3    1 0xffffffff82421000 11376    geom_eli.ko
 4    1 0xffffffff82433000 fde7     tmpfs.ko
 5    1 0xffffffff82443000 4fd4     ng_ubt.ko
 6    5 0xffffffff82448000 d0fe     netgraph.ko
 7    1 0xffffffff82456000 a9f4     ng_hci.ko
 8    3 0xffffffff82461000 10e3     ng_bluetooth.ko
 9    1 0xffffffff82463000 e41e     ng_l2cap.ko
10    1 0xffffffff82472000 1e413    ng_btsocket.ko
11    1 0xffffffff82491000 3d37     ng_socket.ko
12    1 0xffffffff82495000 8884     autofs.ko
freebeast(12.0-C)[3] 

uname output is:
FreeBSD freebeast.catwhisker.org 12.0-CURRENT FreeBSD 12.0-CURRENT #388  r320353M/320355:1200036: Mon Jun 26 05:18:40 PDT 2017     root_at_freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64

Hmmm.....

Thanks!

Peace,
david
-- 
David H. Wolfskill				david_at_catwhisker.org
Trump (et al.): Hiding information doesn't prove its falsity.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.

Received on Mon Jun 26 2017 - 10:28:26 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:12 UTC