[elrepo] Via-rhine driver on 7.4
Nick Howitt
nick at howitts.co.uk
Sat Sep 30 10:19:09 EDT 2017
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
On 30/09/2017 12:12, Phil Perry wrote:
> On 29/09/17 19:42, Nick Howitt wrote:
>> Hi,
>> I've had a report that this driver does not set up the weak-updates
>> symlinks when upgrading from a 7.3 kernel to a 7.4 kernel but is
>> seems to function OK you you create the symlinks yourself. I've tried
>> compiling the 1.5.1-2 source against the 7.4 kernel and it also fails
>> with:
>>
>> make: Entering directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
>> CC [M] /home/build/rpmbuild/BUILD/via-rhine-1.5.1/via-rhine.o
>> /home/build/rpmbuild/BUILD/via-rhine-1.5.1/via-rhine.c: In function
>> 'rhine_reset_task':
>> /home/build/rpmbuild/BUILD/via-rhine-1.5.1/via-rhine.c:1638:5:
>> error: 'struct net_device' has no member named 'trans_start'
>> dev->trans_start = jiffies; /* prevent tx timeout */
>> ^
>> make[1]: ***
>> [/home/build/rpmbuild/BUILD/via-rhine-1.5.1/via-rhine.o] Error 1
>> make: *** [_module_/home/build/rpmbuild/BUILD/via-rhine-1.5.1]
>> Error 2
>> make: Leaving directory `/usr/src/kernels/3.10.0-693.2.2.v7.x86_64'
>> error: Bad exit status from /var/tmp/rpm-tmp.32hFWR (%build)
>>
>>
>> RPM build errors:
>> via-rhine-kmod-1.5.1-2.el7.elrepo.src.rpm: Header V4 DSA/SHA1
>> Signature, key ID baadae52: NOKEY
>> user phil does not exist - using root
>> group phil does not exist - using root
>> user phil does not exist - using root
>> group phil does not exist - using root
>> user phil does not exist - using root
>> group phil does not exist - using root
>> user phil does not exist - using root
>> group phil does not exist - using root
>> Bad exit status from /var/tmp/rpm-tmp.32hFWR (%build)
>>
>> Have you any idea how to fix it?
>>
>> Regards,
>>
>> Nick
>
>
> Hi Nick,
>
> I'm unable to replicate this on our RHEL7.4 test system. I installed
> the latest package from the elrepo repository:
>
> $ rpm -q kmod-via-rhine
> kmod-via-rhine-1.5.1-2.el7.elrepo.x86_64
>
> and I see the appropriate symlinks created against installed 7.4
> series kernels:
>
> $ rpm -qa kernel | sort
> kernel-3.10.0-327.el7.x86_64
> kernel-3.10.0-514.el7.x86_64
> kernel-3.10.0-693.2.1.el7.x86_64
> kernel-3.10.0-693.2.2.el7.x86_64
> kernel-3.10.0-693.el7.x86_64
>
>
> $ find /lib/modules/ -name via-rhine.ko
> /lib/modules/3.10.0-327.el7.x86_64/extra/via-rhine/via-rhine.ko
> /lib/modules/3.10.0-514.el7.x86_64/weak-updates/via-rhine/via-rhine.ko
> /lib/modules/3.10.0-693.el7.x86_64/weak-updates/via-rhine/via-rhine.ko
> /lib/modules/3.10.0-693.2.1.el7.x86_64/weak-updates/via-rhine/via-rhine.ko
>
> /lib/modules/3.10.0-693.2.2.el7.x86_64/weak-updates/via-rhine/via-rhine.ko
>
>
> I don't have the hardware to test, but I can load the module with
> modprobe:
>
>
> Sep 30 06:53:10 [localhost] kernel: Request for unknown module key
> 'The ELRepo Project (http://elrepo.org): ELRepo.org Secure Boot Key:
> f365ad3481a7b20e3427b61b2a26635b83fe427b' err -11
> Sep 30 06:53:10 [localhost] kernel: via_rhine: loading out-of-tree
> module taints kernel.
> Sep 30 06:53:10 [localhost] kernel: via_rhine: module verification
> failed: signature and/or required key missing - tainting kernel
> Sep 30 06:53:10 [localhost] kernel: via_rhine: v1.10-LK1.5.1
> 2010-10-09 Written by Donald Becker
>
>
> $ lsmod | grep via
> via_rhine 32583 0
> mii 13934 1 via_rhine
>
>
> So apart from not actually being able to test the module works, I
> don't see anything amiss here.
>
> Perhaps you could try uninstalling and reinstalling the module and
> checking to see if the symlinks in weak-updates are created.
>
> I can confirm that I see the same error when trying to rebuild against
> the 7.4 series kernel. If you don't get any joy with the above, I can
> certainly look to see if we can fix those build errors on el7.4.
>
> Phil
>
>
>
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo
More information about the elrepo
mailing list