[elrepo] Via-rhine driver on 7.4
Phil Perry
phil at elrepo.org
Sat Sep 30 10:30:30 EDT 2017
On 30/09/17 15:19, Nick Howitt wrote:
> Hi Phil,
>
> Thanks for looking at it.
>
> I must apologise as I forgot to mention I am using ClearOS which has a
> slightly different kernel from RHEL/Centos (IMQ is patched in).
>
> The original poster on our forums posted back to say the kernel upgrade
> + symlinks then worked on his three subsequent systems as did
> reinstalling the compiled rpm on the system where the symlinks weren't
> created. Reference
> <https://www.clearos.com/clearfoundation/social/community/clearos-7-4-beta#reply-190091>.
> He has the same problems compiling, but at least the drivers compiled
> under 7.3 appear to be working on 7.4.
>
> Regards,
>
> Nick
>
Thanks for the feedback Nick.
For reference, the build issues on el7.4 were easy enough to fix, so I
have fixed those and rebuilt the package against the RHEL 7.4 kernel and
released it to our testing repository here:
kmod-via-rhine-1.5.1-3.el7_4.elrepo.x86_64.rpm
I note the newly built package is only compatible with 7.4 series
kernels and is not backward compatible with earlier kernels.
For reference, the fix is:
- dev->trans_start = jiffies; /* prevent tx timeout */
+ netif_trans_update(dev); /* prevent tx timeout */
This was a treewide patch applied upstream in 2016, and presumably
backported to the RHEL7.4 kernel, so potentially affects a number of
elrepo drivers using trans_start updates.
If your user has any issues with the driver, I would apply the above fix
and rebuild against your 7.4 kernel.
Phil
More information about the elrepo
mailing list