Intel Xeon Phi (KNC) MPSS modules for CentOS 7.5, 7.6, 7.7 and 7.8
The latest version (as of October 4th 2019) of the MPSS software stack for the
first generation Intel Xeon Phi (aka KNC) is 3.8.6. Unfortunately, this version
of the mpss stack does not support the newer RHEL/CentOS 7 kernels 3.10.0-862
(7.5), 3.10.0-957 (7.6), 3.10.0-1062 (7.7) and 3.10.0-1127 (7.8).
Even though Intel released version 3.8.5 well after RHEL 7.5 and 7.6 were released,
and similarly, released version 3.8.6 after RHEL 7.7 was released,
they state that this newer release only addresses critical customer issues and
security hotfixes. Apparently, they find it important to address security issues
in the MPSS stack and the KNC itself, but they do not care about security issues
(SPECTRE anyone?) in the host operating system.
Therefore, I've grabbed the mpss-modules source tarball and patched it, so that it can
be compiled for a 3.10.0-862, 3.10.0-957, 3.10.0-1062 or 188.8.131.527 kernel.
The resulting RPM and Source RPM (SRPM) can be download here, both for MPSS 3.8.6 and the
previous 3.8.5 release. The same patch is used for the 3.10.0-862 and 3.10.0-957 kernels,
but for the 3.10.0-1062 patch, the file
micscif/micscif_select.c was added.
For the 3.10.0-1127 patch, the file
host/vmcore.c was added to work around an
overlapping function name.
Note that the mpss-modules source tarballs for MPSS 3.8.4, 3.8.5 and 3.8.6 seem different, but
diff -r on the source trees resulted in zero difference.
MPSS 3.8.6 on CentOS 7.8
MPSS 3.8.6 on CentOS 7.7
MPSS 3.8.5 on CentOS 7.7
MPSS 3.8.5 on CentOS 7.6
MPSS 3.8.4 on CentOS 7.6
MPSS 3.8.4 on CentOS 7.5
You can install or upgrade the mpss-modules file using
rpm -ivh https://www.nikhef.nl/~janjust/mpss/mpss-modules-3.10.0-1062.el7.x86_64-3.8.6-1.x86_64.rpm
Normally, a weak-updates link is created when a module is installed, e.g.
$ ls -al /lib/modules/3.10.0-862.6.3.el7.x86_64/weak-updates/
drwxr-xr-x 2 root root 20 Jul 5 16:58 .
drwxr-xr-x 7 root root 4096 Jul 5 16:58 ..
lrwxrwxrwx 1 root root 47 Jul 5 16:58 mic.ko -> /lib/modules/3.10.0-862.el7.x86_64/extra/mic.ko
This link is needed for the existing kernel to find the mic.ko file. If the module cannot
be found after installing the mpss-modules RPM then you can simply create it yourself, or
re-install the kernel RPM.
Comments to Jan Just Keijser