Linux Users

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)


@TommyDunkz

Thanks for your post, and sorry to hear it has been so cumbersome to install NI-488.2 onto this system. NI has been made aware of the issues exposed by the bug regarding do_munmap(), and has developed a fix that went into NI-KAL 17.5.1. In the future, if stuck at that error you'll be able to resolve it by upgrading KAL from 17.0.0 to 17.5.1.


I'd suggest setting up an CI that automatically builds against all recent kernels (incl. master head).

Pretty trivial to do, perhaps a few hrs of initial work. This would catch those errors long before they happen in the field.

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 11 of 17
(566 Views)
Highlighted

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)

The issue here is incompatibilities between the RHEL kernel (3.10) that NI claims they support, and the NIKAL driver NI wrote.  More specifically, it is obvious that no NI employee has formally tested the NIKAL module with RHEL7.5 because genl_register_family_with_ops() is deprecated in this version of redhat so the script nikal.c would never compile.  

Yes. At least an fully automatic build test via CI against recent kernels and distros is a must for any serious sw development. This really isn't hard to do - any decent operator can do that.

 

NI should either a) stop claiming support for RHEL, or b) fix the bugs.  I am a scientist, and for me to be fixing your software engineers' bugs is ridiculous (I won't ask them to do my plasma physics for me).

ACK. It really seems NI's users are far better sw engineers, than NI folks themselves.

Why does anybody buy that stuff ?

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 12 of 17
(566 Views)

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)


@tloobybecause genl_register_family_with_ops() is deprecated in this version of redhat so the script nikal.c would never compile.

NI-KAL 17.5.1 that Tom D. linked to solves that problem. I just installed and loaded it on a CentOS 7.5 system which had been yum upgrade-ed to kernel 3.10.0-862.3.3.el7.x86_64.

0 Kudos
Message 13 of 17
(556 Views)

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)

@GabeJ thanks for that good news!  When I get to back to the lab I will try it out.

 

-Tom

0 Kudos
Message 14 of 17
(547 Views)

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)

Note that 3.10 now 5 years old and not maintained anymore. Current stable is 4.17.

 

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 15 of 17
(537 Views)

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)


@metux wrote:

Note that 3.10 now 5 years old and not maintained anymore. Current stable is 4.17.

 


Yes, RHEL tends to choose a kernel version and sit on it.  (RHEL6 is on 2.6.32!!!)  Fortunately, openSUSE and other distros tend to stay much more current.

0 Kudos
Message 16 of 17
(530 Views)

Re: failed to build nikal error on RHEL7.5 (3.10.0-862.3.2.el7.x86_64)

Yes, RHEL tends to choose a kernel version and sit on it.  (RHEL6 is on 2.6.32!!!)  Fortunately, openSUSE and other distros tend to stay much more current.

One of the many reasons why I never could take them seriously, and never use their distro for any production system. Also, they always try to make GNU/Linux more and more like Windows, eg. the whole dbus and systemd bs. 

 

BTW: do they meanwhile have any actually usable dist-upgrade mechanism or do they still advice doing a completely fresh install ? 😮 (few years ago, I had to cope w/ a bunch of RHEL instances, and it was so bad, that a fresh install really was the better way) ... something that just works easily on Debian world for over 20 years now.

 

It really seems, RH is only for people, who really need to waste much $$$ for trivial things.

Linux Embedded / Kernel Hacker / BSP / Driver development / Systems engineering
0 Kudos
Message 17 of 17
(525 Views)
Reply
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.