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

David Wolfskill david at catwhisker.org
Mon Jun 26 12:28:26 UTC 2017


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20170626/b431f7d0/attachment.sig>


More information about the freebsd-current mailing list