[lustre-discuss] ksym errors on kmod-lustre RPM after 2.10.4 build against MOFED 4.3

Matt Rásó-Barnett matt at rasobarnett.com
Thu Aug 16 09:06:36 PDT 2018


Hi all, thanks for the feedback.

The problem I was having turns out to do with running the build on a 
build host that is EL7.5 - I spoke with whamcloud and there are changes 
between EL7.4 and EL7.5 in rpm build infrastructure that are causing the 
problem I was seeing.

If you build on a EL7.4 build host (even if you are targetting a EL7.5 
kernel) you won't have any problems, and this is what I've done now for 
2.10.4 with MOFED 4.4 (thanks for the tip Gin!).

Cheers,
Matt

On Thu, Aug 09, 2018 at 01:39:20PM -0400, Ms. Megan Larko wrote:
>Hi!
>
>I concur with Gin Tan.
>
>I built my successful Lustre-2.10.4 on an older linux-3.10.0-693.[ 2.2..x
>or 17.1 ].
>After booting into the 693 kernel, I then built MLNX_OFED_LINUX-4.3-1.0.1.0
>via command:
>"./mlnxofedinstall --skip-distro-check --add-kernel-support"
>
>Then I start that version of mlnx (/etc/init.d/openibd start).
>
>Then I build spl and zfs if the box is a Lustre server.
>I go right to building Lustre if the goal is to install a client.
>
>Lustre Client:
>./configure --disable-server --disable-ldiskfs
>--with-o2ib=/usr/src/ofa_kernel/default
>--with-linux=/usr/src/kernels/3.10.0-693.17.1.el7.x86_64
>
>Then the usual and customary "make" and "make rpms".
>I do have a kmod-lustre-* rpm.   I have no symbol errors and my test bed of
>Lustre-2.10.4 is behaving nicely.
>
>I have found that order matters.  I seem to need to do the kernel first,
>then Mellanox on that kernel and build the Lustre part on the kernel with
>the new MLNX active.
>
>Cheers,
>megan

>_______________________________________________
>lustre-discuss mailing list
>lustre-discuss at lists.lustre.org
>http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

-- 
Matt Rásó-Barnett
Research Computing Platforms
University Information Services
High Performance Computing Service
University of Cambridge
Email: mjr208 at cam.ac.uk <mailto:mjr208 at cam.ac.uk>
Tel: 01223 746555



More information about the lustre-discuss mailing list