When upgrading dependent kernel modules, we got the error Module XXX is not compatible with kernel
Issue
- When trying to update modules dependent on each other, that should be installed on all compatible kernels thanks to weakmodules, they appear to be not compatible with kernels:
*Module modname.ko from kernel 4.18.0-305.17.1.el8_4.x86_64 is not compatible with kernel 4.18.0-305.10.2.el8_4.x86_64 in symbols: symbol1 symbol2
- This does not appear during the first install, weak modules are correctly created
- This does not appear if the previous modules are removed before the upgrade
Environment
- Red Hat Enterprise Linux
- weakmodules
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.