On 09/09/18 12:39, Nick Howitt wrote:
Thanks for this.
The el6 version compiles cleanly with a 6.9 kernel. Do you know if the package is in any way limited to 6.10 kernels as I don't have a current 6.10 installation I can test against.

Regards,

Nick


The module only weak links against 6.10 kernels when build against 6.10:

$ find /lib/modules/ -name r8168.ko
/lib/modules/2.6.32-754.el6.x86_64/extra/r8168/r8168.ko
/lib/modules/2.6.32-754.2.1.el6.x86_64/weak-updates/r8168/r8168.ko
/lib/modules/2.6.32-754.3.5.el6.x86_64/weak-updates/r8168/r8168.ko

due to the new retpoline __x86_indirect_thunk_* functions:

$ rpm -q --requires kmod-r8168 | grep __x86_indirect_thunk_
kernel(__x86_indirect_thunk_r10) = 0x7e526bfa
kernel(__x86_indirect_thunk_r11) = 0xbfdcb43a
kernel(__x86_indirect_thunk_r8) = 0x1ed8b599
kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c
kernel(__x86_indirect_thunk_rcx) = 0xc29957c3
kernel(__x86_indirect_thunk_rdx) = 0xb601be4c

hence the .el6_10.elrepo dist tag used to signify the package is specific to 6.10.

I can't answer as to what you are doing if you are rebuilding against older non-RHEL compatible kernels, so your guess is as good as mine.

_______________________________________________
elrepo mailing list
elrepo@lists.elrepo.org
http://lists.elrepo.org/mailman/listinfo/elrepo

Reply via email to