OPNsense Forum

Archive => 19.1 Legacy Series => Topic started by: kursu on February 24, 2019, 11:55:13 pm

Title: Problem with kernel modules (version mismatch)
Post by: kursu on February 24, 2019, 11:55:13 pm
Im haveing problems with loading extra kernel modules, problem started after I made a factory reset.

Code: [Select]
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:
Code: [Select]
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

Code: [Select]
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:~ #
Title: Re: Problem with kernel modules (version mismatch)
Post by: newsense on February 25, 2019, 12:57:48 am
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:

Code: [Select]
# 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.
Title: Re: Problem with kernel modules (version mismatch)
Post by: kursu on February 25, 2019, 05:14:16 am
Total reinstall fixed it
Title: Re: Problem with kernel modules (version mismatch)
Post by: franco on February 26, 2019, 11:36:55 pm
Looks like your kernel didn't upgrade.

# opnsense-update -fbk

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


Cheers,
Franco