<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 09/09/2018 13:02, Phil Perry wrote:<br>
<blockquote type="cite"
cite="mid:b6d90bf4-445c-4c1b-f7e4-5b3738b2f207@elrepo.org">
<br>
On 09/09/18 12:39, Nick Howitt wrote:
<br>
<blockquote type="cite">Thanks for this.
<br>
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.
<br>
<br>
Regards,
<br>
<br>
Nick
<br>
<br>
</blockquote>
<br>
The module only weak links against 6.10 kernels when build against
6.10:
<br>
<br>
$ find /lib/modules/ -name r8168.ko
<br>
/lib/modules/2.6.32-754.el6.x86_64/extra/r8168/r8168.ko
<br>
/lib/modules/2.6.32-754.2.1.el6.x86_64/weak-updates/r8168/r8168.ko
<br>
/lib/modules/2.6.32-754.3.5.el6.x86_64/weak-updates/r8168/r8168.ko
<br>
<br>
due to the new retpoline __x86_indirect_thunk_* functions:
<br>
<br>
$ rpm -q --requires kmod-r8168 | grep __x86_indirect_thunk_
<br>
kernel(__x86_indirect_thunk_r10) = 0x7e526bfa
<br>
kernel(__x86_indirect_thunk_r11) = 0xbfdcb43a
<br>
kernel(__x86_indirect_thunk_r8) = 0x1ed8b599
<br>
kernel(__x86_indirect_thunk_rax) = 0x2ea2c95c
<br>
kernel(__x86_indirect_thunk_rcx) = 0xc29957c3
<br>
kernel(__x86_indirect_thunk_rdx) = 0xb601be4c
<br>
<br>
hence the .el6_10.elrepo dist tag used to signify the package is
specific to 6.10.
<br>
<br>
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.
<br>
<br>
_______________________________________________
<br>
elrepo mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:elrepo@lists.elrepo.org">elrepo@lists.elrepo.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://lists.elrepo.org/mailman/listinfo/elrepo">http://lists.elrepo.org/mailman/listinfo/elrepo</a>
<br>
</blockquote>
Hi Phil<br>
<br>
Wacky but it looks like it will weak-link forwards from
2.6.32-690.30 when compiled with a 2.6.32-690.30.1 kernel, but it
will not weak-link backwards. Anyway, to avoid possible issues I
have set a kernel dependency for >= 2.6.32-754. You did that type
of Requires in the 7.5 src.rpm but not the 6.10.<br>
Also worth noting is that if you compile these from the src.rpm,
neither the 6_10 nor the 7_5 packages get the 6_10 or the 7_5 tag in
the generated rpm. With the 7.4 packages you overwrote the Release
parameter in the r8168-kmod.spec file.<br>
<br>
Regards,<br>
<br>
Nick<br>
<br>
</body>
</html>