OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Problem with kernel modules (version mismatch)
« previous next »
  • Print
Pages: [1]

Author Topic: Problem with kernel modules (version mismatch)  (Read 4317 times)

kursu

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Problem with kernel modules (version mismatch)
« 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:~ #
Logged

newsense

  • Hero Member
  • *****
  • Posts: 1038
  • Karma: 77
    • View Profile
Re: Problem with kernel modules (version mismatch)
« Reply #1 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.
« Last Edit: February 25, 2019, 01:13:56 am by newsense »
Logged

kursu

  • Newbie
  • *
  • Posts: 8
  • Karma: 1
    • View Profile
Re: Problem with kernel modules (version mismatch)
« Reply #2 on: February 25, 2019, 05:14:16 am »
Total reinstall fixed it
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Problem with kernel modules (version mismatch)
« Reply #3 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
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • Archive »
  • 19.1 Legacy Series »
  • Problem with kernel modules (version mismatch)
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2