Did the MKubecek fix actually compile successfully ? Which kernel version do you have ? I was using the standard kernel in ALMA 8.5 - which should be a clone of RHEL 8.5. The ML kernel (5.x) gave me headaches, so I reverted back to to the standard 4.x for ALMA. Ane even it should have compiled, i had to modify the crosspage.c file
| # include <linux/version.h> |
| # undef __RHEL_OBJTOOL_H_HACK |
| # ifdef RHEL_RELEASE_CODE |
| # if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(8, 5) |
| # define __RHEL_OBJTOOL_H_HACK |
| # include "driver-config.h" |
| # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) |
| # if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0) || \ |
| defined(__RHEL_OBJTOOL_H_HACK) |
| # include <linux/objtool.h> |
| # elif LINUX_VERSION_CODE >= KERNEL_VERSION(4, 6, 0) |
# include <linux/frame.h> <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< changed to <asm/frame.h>
other than this I can only give you the second most famous phrase of a software developer: "But it works on my machine" (after "But I only changed one line")