Just for public reference the solution was provided by Martin Audet
which was to add the --kmp flag when building MOFED. So you want:
mlnxofedinstall --add-kernel-support-build-only --kmp
Thanks Martin!
-Paul Edmon-
On 3/16/24 5:28 AM, Andreas Dilger wrote:
On Mar 15, 2024, at 09:18, Paul Edmon via lustre-discuss
<[email protected]> wrote:
I'm working on building Lustre 2.15.4 against recent versions of
Mellanox OFED. I built OFED against the specific kernel and then
install mlnx-ofa_kernel-modules for that specific kernel. After which
I built lustre against that version of OFED using:
rpmbuild --rebuild --without servers --without mpi --with mofed
--define "_topdir `pwd`" SRPMS/lustre-2.15.4-1.src.rpm
However once I finish building and install I get:
Error: Transaction test error:
file /etc/depmod.d/zz01-mlnx-ofa_kernel-mlx_compat.conf from
install of
kmod-mlnx-ofa_kernel-23.10-OFED.23.10.2.1.3.1.rhel8u9.x86_64
conflicts with file from package
mlnx-ofa_kernel-modules-23.10-OFED.23.10.2.1.3.1.kver.4.18.0_513.18.1.el8_9.x86_64.x86_64
I saw this earlier message which matches my case:
http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/2020-December/017407.html
But no resolution.
Does anyone know the solution to this? Is there a work around?
You probably need to "rpm -Uvh" instead of "rpm -ivh" the new
kmod-mlnx-ofa_kernel RPM?
Or, if you want to keep both RPMs installed (e.g. for different
kernels) then you can probably just use "--force" since it looks like
the .conf file would likely be the same from both packages.
Cheers, Andreas
--
Andreas Dilger
Lustre Principal Architect
Whamcloud
_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org