[LU-5334] Lustre-2.5.2 build fail with intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64 Created: 12/Jul/14  Updated: 04/Mar/15  Resolved: 21/Jul/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.7.0, Lustre 2.5.3

Type: Bug Priority: Minor
Reporter: Atul Yadav Assignee: Dmitry Eremin (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Attachments: Text File 1.patch     Text File config.log    
Issue Links:
Related
is related to LU-6327 Lustre-2.6.0 + Intel OFED + RHEL6.5 Resolved
Epic/Theme: Build
Story Points: 2
Severity: 3
Rank (Obsolete): 14886

 Description   

HI Team,

We are using centos 6.5 + intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

but we are unable to load the lustre module.
Details :--
2.6.32-431.17.1.el6.x86_64
lustre-client-2.6.50-2.6.32_431.17.1.el6.x86_64_gdbe7a32.x86_64.rpm
lustre-client-mic-2.6.50-2.6.38.8+mpss3.2.3_gdbe7a32.x86_64.rpm
intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64

Error
[root@phi2 lustre-release]# modprobe lustre
WARNING: Error inserting fld (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/fld.ko): Input/output error
WARNING: Error inserting lmv (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lmv.ko): Input/output error
WARNING: Error inserting fid (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/fid.ko): Input/output error
WARNING: Error inserting mdc (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/mdc.ko): Input/output error
WARNING: Error inserting lov (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lov.ko): Input/output error
FATAL: Error inserting lustre (/lib/modules/2.6.32-431.17.1.el6.x86_64/extra/kernel/fs/lustre/lustre.ko): Input/output error



 Comments   
Comment by Dmitry Eremin (Inactive) [ 14/Jul/14 ]

Do you recompile Lustre modules with installed OFED? By default Lustre compiled with in-kernel version of OFED or OFED from www.openfabrics.org site and will not work with other version until recompile.

Comment by Atul Yadav [ 14/Jul/14 ]

Dear Sir,

yes, we recompile the package from source.
lustre-2.5.2.tar.gz
lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.src.rpm
./configure --disable-server --with-o2ib
Please guide us.

Thank you
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 14/Jul/14 ]

You should specify the path to OFED development on your system. The option "--with-o2ib" without path use in-kernel version of OFED. You should do something like following:

./configure --disable-server --with-o2ib=/usr/src/ofed-driver-2.6.32-431.17.1.el6.x86_64

Just change the path to your specific. Inside this path should be Module.symvers and sub-directory include with OFED headers.

Comment by Atul Yadav [ 14/Jul/14 ]

Dear Team,

We are sharing the details of the system.
Error "configure: error: can't compile with OpenIB gen2 headers under /usr/src/compat-rdma-3.12"

package installed
Host Machine Cent OS

[root@IO1 opt]# uname -r
2.6.32-431.el6.x86_64
[root@IO1 opt]# lspci | grep Mel
44:00.0 Network controller: Mellanox Technologies MT27500 Family [ConnectX-3]
[root@IO1 opt]#

[root@IO1 lustre-2.5.2]# rpm -qa --last
---------------------------------------OFED-3.12---------------------------------------------
infinipath-psm-devel-3.2-2_ga8c3e3e_open.x86_64 Mon 14 Jul 2014 03:03:23 PM IST
infinipath-psm-3.2-2_ga8c3e3e_open.x86_64 Mon 14 Jul 2014 03:03:23 PM IST
ofed-docs-3.12-0.1.ge933a19.x86_64 Mon 14 Jul 2014 03:03:12 PM IST
qperf-debuginfo-0.4.9-1.x86_64 Mon 14 Jul 2014 03:03:11 PM IST
qperf-0.4.9-1.x86_64 Mon 14 Jul 2014 03:03:11 PM IST
infiniband-diags-1.6.4-1.x86_64 Mon 14 Jul 2014 03:03:05 PM IST
ibutils-1.5.7-0.2.gbd7e502.x86_64 Mon 14 Jul 2014 03:02:41 PM IST
opensm-libs-3.3.17-1.x86_64 Mon 14 Jul 2014 02:59:44 PM IST
opensm-devel-3.3.17-1.x86_64 Mon 14 Jul 2014 02:59:44 PM IST
rds-tools-2.0.4-1.x86_64 Mon 14 Jul 2014 02:59:25 PM IST
rds-devel-2.0.4-1.x86_64 Mon 14 Jul 2014 02:59:25 PM IST
srptools-1.0.2-1.x86_64 Mon 14 Jul 2014 02:59:23 PM IST
mstflint-3.6.0-1.8.g7d4dede.x86_64 Mon 14 Jul 2014 02:59:18 PM IST
perftest-2.2-0.17.g5eba807.x86_64 Mon 14 Jul 2014 02:58:50 PM IST
dapl-utils-2.0.42-1.x86_64 Mon 14 Jul 2014 02:58:36 PM IST
dapl-devel-static-2.0.42-1.x86_64 Mon 14 Jul 2014 02:58:36 PM IST
dapl-devel-2.0.42-1.x86_64 Mon 14 Jul 2014 02:58:36 PM IST
dapl-debuginfo-2.0.42-1.x86_64 Mon 14 Jul 2014 02:58:36 PM IST
dapl-2.0.42-1.x86_64 Mon 14 Jul 2014 02:58:36 PM IST
librdmacm-utils-1.0.18.1-1.x86_64 Mon 14 Jul 2014 02:58:16 PM IST
librdmacm-devel-1.0.18.1-1.x86_64 Mon 14 Jul 2014 02:58:16 PM IST
librdmacm-debuginfo-1.0.18.1-1.x86_64 Mon 14 Jul 2014 02:58:16 PM IST
librdmacm-1.0.18.1-1.x86_64 Mon 14 Jul 2014 02:58:16 PM IST
ibacm-1.0.8-1.x86_64 Mon 14 Jul 2014 02:58:05 PM IST
ibsim-debuginfo-0.6-1.x86_64 Mon 14 Jul 2014 02:57:51 PM IST
ibsim-0.6-1.x86_64 Mon 14 Jul 2014 02:57:51 PM IST
libibmad-static-1.3.11-1.x86_64 Mon 14 Jul 2014 02:57:49 PM IST
libibmad-devel-1.3.11-1.x86_64 Mon 14 Jul 2014 02:57:49 PM IST
libibmad-debuginfo-1.3.11-1.x86_64 Mon 14 Jul 2014 02:57:49 PM IST
libibmad-1.3.11-1.x86_64 Mon 14 Jul 2014 02:57:49 PM IST
libibumad-static-1.3.9-1.x86_64 Mon 14 Jul 2014 02:57:41 PM IST
libibumad-devel-1.3.9-1.x86_64 Mon 14 Jul 2014 02:57:41 PM IST
libibumad-debuginfo-1.3.9-1.x86_64 Mon 14 Jul 2014 02:57:41 PM IST
libibumad-1.3.9-1.x86_64 Mon 14 Jul 2014 02:57:41 PM IST
libibcm-devel-1.0.5-1.x86_64 Mon 14 Jul 2014 02:57:30 PM IST
libibcm-debuginfo-1.0.5-1.x86_64 Mon 14 Jul 2014 02:57:30 PM IST
libibcm-1.0.5-1.x86_64 Mon 14 Jul 2014 02:57:29 PM IST
libipathverbs-devel-1.2.1-1.x86_64 Mon 14 Jul 2014 02:57:19 PM IST
libipathverbs-debuginfo-1.2.1-1.x86_64 Mon 14 Jul 2014 02:57:19 PM IST
libipathverbs-1.2.1-1.x86_64 Mon 14 Jul 2014 02:57:19 PM IST
libocrdma-devel-1.0.2-1.x86_64 Mon 14 Jul 2014 02:57:12 PM IST
libocrdma-debuginfo-1.0.2-1.x86_64 Mon 14 Jul 2014 02:57:12 PM IST
libocrdma-1.0.2-1.x86_64 Mon 14 Jul 2014 02:57:12 PM IST
libnes-devel-static-1.1.4-0..x86_64 Mon 14 Jul 2014 02:57:05 PM IST
libnes-debuginfo-1.1.4-0..x86_64 Mon 14 Jul 2014 02:57:05 PM IST
libnes-1.1.4-0..x86_64 Mon 14 Jul 2014 02:57:05 PM IST
libcxgb4-devel-1.3.3-1.x86_64 Mon 14 Jul 2014 02:56:58 PM IST
libcxgb4-debuginfo-1.3.3-1.x86_64 Mon 14 Jul 2014 02:56:58 PM IST
libcxgb4-1.3.3-1.x86_64 Mon 14 Jul 2014 02:56:58 PM IST
libcxgb3-devel-1.3.1-1.x86_64 Mon 14 Jul 2014 02:56:51 PM IST
libcxgb3-debuginfo-1.3.1-1.x86_64 Mon 14 Jul 2014 02:56:51 PM IST
libcxgb3-1.3.1-1.x86_64 Mon 14 Jul 2014 02:56:51 PM IST
libmlx5-devel-1.0.1-1.x86_64 Mon 14 Jul 2014 02:56:40 PM IST
libmlx5-debuginfo-1.0.1-1.x86_64 Mon 14 Jul 2014 02:56:40 PM IST
libmlx5-1.0.1-1.x86_64 Mon 14 Jul 2014 02:56:40 PM IST
libmlx4-devel-1.0.5-1.x86_64 Mon 14 Jul 2014 02:56:33 PM IST
libmlx4-debuginfo-1.0.5-1.x86_64 Mon 14 Jul 2014 02:56:33 PM IST
libmlx4-1.0.5-1.x86_64 Mon 14 Jul 2014 02:56:33 PM IST
libmthca-devel-static-1.0.6-1.x86_64 Mon 14 Jul 2014 02:56:26 PM IST
libmthca-debuginfo-1.0.6-1.x86_64 Mon 14 Jul 2014 02:56:26 PM IST
libmthca-1.0.6-1.x86_64 Mon 14 Jul 2014 02:56:26 PM IST
libibverbs-utils-1.1.7-1.x86_64 Mon 14 Jul 2014 02:56:19 PM IST
libibverbs-devel-static-1.1.7-1.x86_64 Mon 14 Jul 2014 02:56:19 PM IST
libibverbs-devel-1.1.7-1.x86_64 Mon 14 Jul 2014 02:56:19 PM IST
libibverbs-debuginfo-1.1.7-1.x86_64 Mon 14 Jul 2014 02:56:19 PM IST
libibverbs-1.1.7-1.x86_64 Mon 14 Jul 2014 02:56:18 PM IST
compat-rdma-devel-3.12-0.1.gac916cb.2.6.32_431.el6.x86_64.x86_64 Mon 14 Jul 2014 02:56:09 PM IST
compat-rdma-3.12-0.1.gac916cb.2.6.32_431.el6.x86_64.x86_64 Mon 14 Jul 2014 02:56:03 PM IST
ofed-scripts-3.12-0.1.g751417d.x86_64 Mon 14 Jul 2014 02:53:04 PM IST
____________________________________________________

Lustre installtion
rpm -ivh /opt/lustre-client-2.5.2-2.6.32_431.17.1.el6.x86_64.src.rpm
cp /root/rpmbuild/SOURCES/lustre-2.5.2.tar.gz /opt/
tar -xzf lustre-2.5.2.tar.gz
cd lustre-2.5.2
./configure --disable-server --with-o2ib=/usr/src/compat-rdma-3.12 2>&1 | tee step1.log
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... no
checking for buildid... (from META file)
checking for ranlib... ranlib
checking for ld... ld
checking for objdump... objdump
checking for strip... strip
checking size of unsigned long long... 8
---> size SIZEOF
---> size SIZEOF 8
checking for osd... no
checking whether to build docs... no
checking whether to build utilities... yes
checking whether to install init scripts... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre client support... yes
checking whether to build kernel modules... yes (linux-gnu)
/usr/src/kernels/2.6.32-431.el6.x86_64
/usr/src/kernels/2.6.32-431.el6.x86_64
checking for Linux sources... /lib/modules/2.6.32-431.el6.x86_64/source
checking for /lib/modules/2.6.32-431.el6.x86_64/source... yes
checking for Linux objects dir... /lib/modules/2.6.32-431.el6.x86_64/build
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /lib/modules/2.6.32-431.el6.x86_64/build/.config... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/generated/autoconf.h... no
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/autoconf.h... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/version.h... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/kconfig.h... yes
checking for cross compilation... no
checking for external module build support... yes
checking that modules can be built at all... yes
checking kernel source version... 2.6.32-431.el6.x86_64
checking for Lustre release... 2.6.32_431.el6.x86_64_
checking for RedHat kernel version... 2.6.32-431
checking for kernel module package directory... extra
checking Linux kernel architecture... x86_64
checking name of module symbol version file... Module.symvers
checking if Linux was built with CONFIG_MODULES... yes
checking if Linux was built with CONFIG_MODVERSIONS... yes
checking if Linux was built with CONFIG_KALLSYMS... yes
checking if kernel module loading is possible... yes
checking for tunable panic_dumplog support... no
checking kernel __u64 is long long type... yes
checking for CTL_UNNUMBERED... yes
checking if Linux was built with symbol dump_trace exported... yes
checking whether we can really use dump_trace... yes
checking whether print_trace_address has reliable argument... yes
checking whether stacktrace_ops.warning is exist... yes
checking dump_trace want address... no
checking for /lib/modules/2.6.32-431.el6.x86_64/source/include/linux/key-type.h... yes
checking sock_map_fd have second argument... yes
checking if 'struct stacktrace_ops' has 'walk_stack' field... yes
checking shrinker want self pointer in handler... yes
checking if ctl_table has a ctl_name field... yes
checking if __add_wait_queue_exclusive exists... no
checking if kernel has sk_sleep... no
checking shrink_control is present... no
checking sock_alloc_file is exported... checking if Linux was built with symbol sock_alloc_file exported... no
checking if dev_get_by_name has two args... yes
checking for CPU affinity support... yes
checking for tunable backoff TCP support... no (no kernel support)
checking for QsNet sources... /lib/modules/2.6.32-431.el6.x86_64/source
checking if quadrics kernel headers are present... no
checking whether to use Compat RDMA... yes
checking whether to use any OFED backport headers... no
checking whether to enable OpenIB gen2 support... no
configure: error: can't compile with OpenIB gen2 headers under /usr/src/compat-rdma-3.12
******************************************************************************************************************************************

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 14/Jul/14 ]

Where I can get intel-mic-ofed-compat-rdma-3.5-OFED.3.5.2.MIC.beta1.2.6.32_431.17.1.el6.x86_64.x86_64?

Comment by Atul Yadav [ 14/Jul/14 ]

Dear Sir,

The download location of OFED is given below, against which we are planning lustre 2.5.2

https://www.openfabrics.org/downloads/ofed-mic/ofed-3.5-2-mic/
https://www.openfabrics.org/downloads/ofed-mic/ofed-3.5-2-mic/OFED-3.5-2-MIC-beta1.tgz

Thank You
Atul Yadav

Comment by Atul Yadav [ 16/Jul/14 ]

Dear Sir,

Any Update on this query.....

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 16/Jul/14 ]

I have patch that should solve this issue with compilation: http://review.whamcloud.com/11104/

Comment by Atul Yadav [ 16/Jul/14 ]

Dear Team,
After downloading the "lustre-client-2.6.50-2.6.32_431.20.3.el6.x86_64_gd934c32.src.rpm" we are able to build successfully.

But when replace the lnet file in lustre-2.5.2.tar.gz, as per the patch shared by you, we are getting error.
cp lustre-lnet_new-0b2a295ecdfc7e23022a64bd2868dd181a640c57.m4 /opt//lustre-2.5.2/lnet/autoconf/lustre-lnet.m4

./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma-3.5
...
...
checking for tunable backoff TCP support... no (no kernel support)
checking for QsNet sources... /lib/modules/2.6.32-431.el6.x86_64/source
checking if quadrics kernel headers are present... no
checking whether to use Compat RDMA... yes
checking whether to use any OFED backport headers... no
checking whether to enable OpenIB gen2 support... no
configure: error: can't compile with OpenIB gen2 headers under /usr/src/intel-mic-ofed-compat-rdma-3.5

Can we use lustre 2.6.0 client with lustre 2.5.2 server in our setup...

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 16/Jul/14 ]

I suppose the command line should be:

./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma
Comment by Atul Yadav [ 16/Jul/14 ]

Dear Sir,

Getting same error ........
[root@mic2 lustre-2.5.2]# ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma 2>&1 | tee make1.log
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking dependency style of gcc... gcc3
checking for ar... ar
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether to configure just enough for make dist... no
checking if this distro uses dpkg... no
checking for buildid... (from META file)
checking for ranlib... ranlib
checking for ld... ld
checking for objdump... objdump
checking for strip... strip
checking size of unsigned long long... 8
---> size SIZEOF
---> size SIZEOF 8
checking for osd... no
checking whether to build docs... no
checking whether to build utilities... yes
checking whether to install init scripts... yes
checking whether to build Lustre tests... yes
checking whether to build Lustre client support... yes
checking whether to build kernel modules... yes (linux-gnu)
/usr/src/kernels/2.6.32-431.el6.x86_64
/usr/src/kernels/2.6.32-431.el6.x86_64
checking for Linux sources... /lib/modules/2.6.32-431.el6.x86_64/source
checking for /lib/modules/2.6.32-431.el6.x86_64/source... yes
checking for Linux objects dir... /lib/modules/2.6.32-431.el6.x86_64/build
checking for /boot/kernel.h... no
checking for /var/adm/running-kernel.h... no
checking for /lib/modules/2.6.32-431.el6.x86_64/build/.config... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/generated/autoconf.h... no
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/autoconf.h... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/version.h... yes
checking for /lib/modules/2.6.32-431.el6.x86_64/build/include/linux/kconfig.h... yes
checking for cross compilation... no
checking for external module build support... yes
checking that modules can be built at all... yes
checking kernel source version... 2.6.32-431.el6.x86_64
checking for Lustre release... 2.6.32_431.el6.x86_64_
checking for RedHat kernel version... 2.6.32-431
checking for kernel module package directory... extra
checking Linux kernel architecture... x86_64
checking name of module symbol version file... Module.symvers
checking if Linux was built with CONFIG_MODULES... yes
checking if Linux was built with CONFIG_MODVERSIONS... yes
checking if Linux was built with CONFIG_KALLSYMS... yes
checking if kernel module loading is possible... yes
checking for tunable panic_dumplog support... no
checking kernel __u64 is long long type... yes
checking for CTL_UNNUMBERED... yes
checking if Linux was built with symbol dump_trace exported... yes
checking whether we can really use dump_trace... yes
checking whether print_trace_address has reliable argument... yes
checking whether stacktrace_ops.warning is exist... yes
checking dump_trace want address... no
checking for /lib/modules/2.6.32-431.el6.x86_64/source/include/linux/key-type.h... yes
checking sock_map_fd have second argument... yes
checking if 'struct stacktrace_ops' has 'walk_stack' field... yes
checking shrinker want self pointer in handler... yes
checking if ctl_table has a ctl_name field... yes
checking if __add_wait_queue_exclusive exists... no
checking if kernel has sk_sleep... no
checking shrink_control is present... no
checking sock_alloc_file is exported... checking if Linux was built with symbol sock_alloc_file exported... no
checking if dev_get_by_name has two args... yes
checking for CPU affinity support... yes
checking for tunable backoff TCP support... no (no kernel support)
checking for QsNet sources... /lib/modules/2.6.32-431.el6.x86_64/source
checking if quadrics kernel headers are present... no
checking whether to use Compat RDMA... yes
checking whether to use any OFED backport headers... no
checking whether to enable OpenIB gen2 support... no
configure: error: can't compile with OpenIB gen2 headers under /usr/src/intel-mic-ofed-compat-rdma
[root@mic2 lustre-2.5.2]#

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 16/Jul/14 ]

Hmm. Could you attach config.log after this error please?

Comment by Atul Yadav [ 16/Jul/14 ]

Dear Sir,
As per your request we are sharing the config log file.

please go through it

Thank You
Atul Yadav

Comment by Atul Yadav [ 16/Jul/14 ]

Dear Sir,
As per your request we are sharing the config log file.

please go through it

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 16/Jul/14 ]

Thanks for attachment. From the log file I see that the patch is absent in this run. Probably you forgot to do the following command:

$ sh ./autogen.sh

This command generate new version of ./configure with patch. Or probably you patch wrong version of sources.

Please try again the following sequence:

# apply the patch to sources in current directory and then do:
$ sh ./autogen.sh
$ ./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma
Comment by Atul Yadav [ 16/Jul/14 ]

Dear Sir,

Can you please share the download link for lustre-2.5.2 source.
Because in my directory auto gen file is not present.

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 16/Jul/14 ]

Ops... Sorry, there is no autogen.sh file in packages. You need an original sources. You can get them from public git repository.

git clone git://git.whamcloud.com/fs/lustre-release.git
git checkout 2.5.2
Comment by Atul Yadav [ 17/Jul/14 ]

Dear Sir,

Can you please provide the steps for patching also, because i am not able to patch the file..

Thank YOu

Comment by Atul Yadav [ 17/Jul/14 ]

Dear Sir,

Now patch is working ,,,

After building and testing the lustre we will update you... soon....

Thank You
Atul Yadav

Comment by Atul Yadav [ 17/Jul/14 ]

Dear Team,

Sorry to say, the commands of patching is not working.
Need your help with proper commands

##############################
git clone git://git.whamcloud.com/fs/lustre-release.git
[root@localhost lustre-release]# git checkout 2.5.2
Note: checking out '2.5.2'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

git checkout -b new_branch_name

HEAD is now at 2bad101... New tag 2.5.2-RC2

          1. Applying Patch######
            cp /root/lustre-lnet_new-0b2a295ecdfc7e23022a64bd2868dd181a640c57.m4 /opt/lustre-release/lnet/autoconf/lustre-lnet.m4
            cp: overwrite `/opt/lustre-release/lnet/autoconf/lustre-lnet.m4'? y
                              1. Running Autogen###############
                                [root@mic2 lustre--1]# sh ./autogen.sh
                                Checking for a complete tree...
                                Running aclocal I /opt/lustre1/config -I /opt/lustre1/libcfs/autoconf -I /opt/lustre1/lnet/autoconf -I /opt/lustre1/lustre/autoconf -I /opt/lustre-1/snmp/autoconf
                                Running autoheader
                                Running automake -a -cconfigure.ac:12: installing `config/config.guess'
                                configure.ac:12: installing `config/config.sub'
                                configure.ac:14: installing `config/install-sh'
                                configure.ac:14: installing `config/missing'
                                libcfs/libcfs/autoMakefile.am: installing `config/depcomp'

Running autoconfconfigure:8522: error: possibly undefined macro: AC_DEFINE
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure:8651: error: possibly undefined macro: AC_MSG_WARN
configure:8825: error: possibly undefined macro: AC_MSG_ERROR
bootstrap failure: command exited with code 1
Aborting
[root@mic2 lustre--1]#
########################################################

Auto gen command is giving error.

Thank You
Atul Yadav

Comment by Atul Yadav [ 17/Jul/14 ]

Dear Sir,,

Any Update on this problem.....

Thank You
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 17/Jul/14 ]

I attached 1.patch to this ticket.

# Store 1.patch in /tmp directory
git clone git://git.whamcloud.com/fs/lustre-release.git
cd lustre-release
git checkout 2.5.2
git apply /tmp/1.patch
sh autogen.sh
./configure --disable-server --with-o2ib=/usr/src/intel-mic-ofed-compat-rdma
make rpms
Comment by Atul Yadav [ 17/Jul/14 ]

Dear Team,

Thanks for your valuable support, now lustre is building without any error.

Thank YOu
Atul Yadav

Comment by Dmitry Eremin (Inactive) [ 21/Jul/14 ]

Patch landed to master.

Generated at Sat Feb 10 01:50:36 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.