[lustre-discuss] lustre client on centos 7.7

Hebenstreit, Michael michael.hebenstreit at intel.com
Wed Sep 25 14:18:41 PDT 2019


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<mailto:wuwj at umich.edu>

From: Arman Khalatyan<mailto:arm2arm at gmail.com>
Date: 2019-09-25 07:45
To: Degremont, Aurelien<mailto:degremoa at amazon.com>
CC: Lustre discussion<mailto:lustre-discuss at lists.lustre.org>
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<mailto: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<mailto:lustre-discuss-bounces at lists.lustre.org>> au nom de Arman Khalatyan <arm2arm at gmail.com<mailto:arm2arm at gmail.com>>
Date : dimanche 22 septembre 2019 à 16:26
À : Lustre discussion <lustre-discuss at lists.lustre.org<mailto: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/97bc3c00/attachment-0001.html>


More information about the lustre-discuss mailing list