Problem with kernel modules (version mismatch)

Started by kursu, February 24, 2019, 11:55:13 PM

Previous topic - Next topic
Im haveing problems with loading extra kernel modules, problem started after I made a factory reset.


root@bifrost:~ # kldload coretemp
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
root@bifrost:~ # kldload aesni
kldload: an error occurred while loading the module. Please check dmesg(8) for more details.
root@bifrost:~ #


dmesg output:

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



root@bifrost:~ # uname -a
FreeBSD bifrost.localhost 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6  6621d681e(stable/18.1)  amd64
root@bifrost:~ # opnsense-version
OPNsense 19.1.1 (amd64/OpenSSL)
root@bifrost:~ #

February 25, 2019, 12:57:48 AM #1 Last Edit: February 25, 2019, 01:13:56 AM by newsense
Unsure what kind of a reset was that but it would appear you're on the 18.1 kernel ?

I think the best thing forward would be issuing this command followed by a reboot:


# opnsense-update -fp -n "19.1\/latest"


Alternatively, a fresh install importing the current configuration in the process might be the cleaner option. Make sure you have saved the configuration beforehand, should anything unexpected happen.


Looks like your kernel didn't upgrade.

# opnsense-update -fbk

... should have fixed this. "-fp" is for reinstalling packages only.


Cheers,
Franco