Article 6F4A4 Strict Kernel version in Ubuntu

Strict Kernel version in Ubuntu

by
toregunnar
from LinuxQuestions.org on (#6F4A4)
Using Ubuntu 22.04 LTS, an issue is that there seem to be a strict check regarding Kernel version when trying to install a driver.
The driver is compiled with a newer Kernel version and when trying to install the driver, it fails due to incompatible Kernel version.

Can the strict version check be loosened so that installation of the driver will be possible even if the Kernel version is different.

There seems to exist a compiler flag CONFIG_MODVERSIONS,
that could fix this problem, but question is if both the Kernel and the driver need to be compiled with this flag, or is it enough that the driver, or the Kernel is compiled with that flag?

Thanks.
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments