[lustre-discuss] lustre client on centos 7.7

wuwj at umich.edu wuwj at umich.edu
Wed Sep 25 15:21:11 PDT 2019


Hi Michael
Thanks for your help!
Indeed with coping the head file from an older kernel, it works..
There is a minor error at cleaning, but the rpms are built.

Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.rP8Boa
+ umask 022
+ cd /root/rpmbuild/BUILD
+ cd lustre-2.12.2
+ rm -rf /root/rpmbuild/BUILDROOT/lustre-2.12.2-1.x86_64
+ rm -rf /var/tmp/kmp
+ exit 0
Executing(--clean): /bin/sh -e /var/tmp/rpm-tmp.UOPWJs
+ umask 022
+ cd /root/rpmbuild/BUILD
+ rm -rf lustre-2.12.2
+ exit 0
error: cannot open c: No such file or directory

Cheers!




-Wenjing
wuwj at umich.edu
 
From: Hebenstreit, Michael
Date: 2019-09-25 17:18
To: wuwj at umich.edu; discussion
Subject: RE: [lustre-discuss] lustre client on centos 7.7
In the new kernel include/linux/pci-dma.h is missing – I copied it from an older version
 
From: lustre-discuss <lustre-discuss-bounces at lists.lustre.org> On Behalf Of wuwj at umich.edu
Sent: Wednesday, September 25, 2019 15:13
To: discussion <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] lustre client on centos 7.7
 
Hi All
We are also encounting problems when compiling the lustre client on Redhat 7.7, kernel
3.10.0-1062.1.1.el7.x86_64 #1 SMP
cat /etc/redhat-release 
Scientific Linux release 7.7 (Nitrogen)
 
#rpmbuild  --rebuild --without servers --with lnet-dlc lustre-2.12.2-1.src.rpm 
Just a few lines from the error messages:
In file included from /root/rpmbuild/BUILD/lustre-2.12.2/libcfs/include/libcfs/libcfs.h:43:0,
                 from /root/rpmbuild/BUILD/lustre-2.12.2/lnet/klnds/o2iblnd/o2iblnd.h:82,
                 from /root/rpmbuild/BUILD/lustre-2.12.2/lnet/klnds/o2iblnd/o2iblnd.c:38:
/root/rpmbuild/BUILD/lustre-2.12.2/lnet/klnds/o2iblnd/o2iblnd.c:2352:16: error: 'struct kib_tx' has no member named 'tx_frags'
      sizeof(*tx->tx_frags));
 
I wonder if anyone has any idea about this.
 
Cheers!
 
 


-Wenjing
wuwj at umich.edu
 
From: Arman Khalatyan
Date: 2019-09-25 07:45
To: Degremont, Aurelien
CC: Lustre discussion
Subject: Re: [lustre-discuss] lustre client on centos 7.7
Hi,Aurélien
thanks for pointing me in the right direction.
On my system I needed to add a few libs in order to compile the client properly:
yum install openmpi-devel.x86_64 readline-devel
module load mpi/openmpi-x86_64
rpmbuild  --rebuild --without servers --with lnet-dlc   lustre-2.12.58_80_g9209e91-1.src.rpm
 
now everything looks good...
a.
 
On Sun, Sep 22, 2019 at 5:18 PM Degremont, Aurelien <degremoa at amazon.com> wrote:
The Lustre 2.10 branch don't support CentOS 7.7
Lustre 2.12.3 and Lustre 2.13 will.
 
However Lustre 2.10.8 can built on CentOS 7.7 if you can afford to miss Infiniband support.
This is the part of the code that creates this problem.  ./configure --with-ofed=no will disable it.
 
Aurélien
 
De : lustre-discuss <lustre-discuss-bounces at lists.lustre.org> au nom de Arman Khalatyan <arm2arm at gmail.com>
Date : dimanche 22 septembre 2019 à 16:26
À : Lustre discussion <lustre-discuss at lists.lustre.org>
Objet : [lustre-discuss] lustre client on centos 7.7
 
Hello, 
are there any lustre client with the CentOS 7.7?
i was trying to compile the listre 2.10 with the recent centos 7.7 it was failing with the error:
rpmbuild  --rebuild --without servers --with lnet-dlc lustre-2.10.8-1.src.rpm 
 
/root/rpmbuild/BUILD/lustre-2.10.8/lnet/klnds/o2iblnd/o2iblnd.h:69:27: fatal error: linux/pci-dma.h: No such file or directory
 #include <linux/pci-dma.h>
                           ^
compilation terminated.
 
looks like something changed in the Kernel drivers:(
 
thank you beforehand,
Arman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190925/548fdb26/attachment-0001.html>


More information about the lustre-discuss mailing list