[ewg] OFED 3.2 daily on ppc64 problems
Daniel A. Vega
dvega at linux.vnet.ibm.com
Fri Jun 22 08:31:15 PDT 2012
Hello Vladimir
I'm trying to install OFED-3.2-20120617-0600 on my ppc64 system and I'm
having some trouble.
I haven't seen anything on the installation steps so I apologize if you
have to repeat yourself.
Do we still have to pull the git trees?
When I try to run install.pl for OFED-3.2-20120617-0600 I get the
following error:
Select Option [1-4]:4
Install compat-rdma? [y/N]:y
Install core module? [y/N]:y
Install mthca module? [y/N]:y
Install mlx4 module? [y/N]:y
Install mlx4_en module? [y/N]:y
Install cxgb3 module? [y/N]:y
Install cxgb4 module? [y/N]:n
Install nes module? [y/N]:y
Install ipoib module? [y/N]:y
Install srp module? [y/N]:y
Install srpt module? [y/N]:y
Install rds module? [y/N]:y
Install compat-rdma-devel? [y/N]:y
Install libibverbs? [y/N]:y
Install libibverbs-devel? [y/N]:y
Install libibverbs-devel-static? [y/N]:y
Install libibverbs-utils? [y/N]:y
Install libmthca? [y/N]:y
Install libmthca-devel-static? [y/N]:y
Install libmlx4? [y/N]:y
Install libmlx4-devel? [y/N]:y
Install libcxgb3? [y/N]:y
Install libcxgb3-devel? [y/N]:y
Install libcxgb4? [y/N]:n
Install libcxgb4-devel? [y/N]:n
Install libnes? [y/N]:y
Install libnes-devel-static? [y/N]:y
Install libibcm? [y/N]:y
Install libibcm-devel? [y/N]:y
Install libibumad? [y/N]:y
Install libibumad-devel? [y/N]:y
Install libibumad-static? [y/N]:y
Install libibmad? [y/N]:y
Install libibmad-devel? [y/N]:y
Install libibmad-static? [y/N]:y
Install ibsim? [y/N]:y
Install ibacm? [y/N]:y
Install librdmacm? [y/N]:y
Install librdmacm-utils? [y/N]:y
Install librdmacm-devel? [y/N]:y
Install libsdp? [y/N]:y
Install libsdp-devel? [y/N]:y
Install opensm? [y/N]:y
Install opensm-libs? [y/N]:y
Install opensm-devel? [y/N]:y
Install opensm-static? [y/N]:y
Install compat-dapl? [y/N]:y
Install compat-dapl-devel? [y/N]:y
Install dapl? [y/N]:y
Install dapl-devel? [y/N]:y
Install dapl-devel-static? [y/N]:y
Install dapl-utils? [y/N]:y
Install perftest? [y/N]:y
Install mstflint? [y/N]:y
Install sdpnetstat? [y/N]:y
Install srptools? [y/N]:y
Install rds-tools? [y/N]:y
Install rds-devel? [y/N]:y
Install ibutils? [y/N]:y
Install infiniband-diags? [y/N]:y
Install ofed-docs? [y/N]:y
Install ofed-scripts? [y/N]:y
Install 32-bit packages? [y/N]:n
Please enter the OFED installation directory: [/usr]:
Below is the list of OFED packages that you have chosen
(some may have been added by the installer due to package dependencies):
ofed-scripts
compat-rdma
compat-rdma-devel
libibverbs
libibverbs-devel
libibverbs-devel-static
libibverbs-utils
libmthca
libmthca-devel-static
libmlx4
libmlx4-devel
libcxgb3
libcxgb3-devel
libnes
libnes-devel-static
libibcm
libibcm-devel
libibumad
libibumad-devel
libibumad-static
libibmad
libibmad-devel
libibmad-static
ibsim
ibacm
librdmacm
librdmacm-utils
librdmacm-devel
libsdp
libsdp-devel
opensm-libs
opensm
opensm-devel
opensm-static
compat-dapl
compat-dapl-devel
dapl
dapl-devel
dapl-devel-static
dapl-utils
perftest
mstflint
sdpnetstat
srptools
rds-tools
rds-devel
ibutils
infiniband-diags
ofed-docs
Uninstalling the previous version of OFED
Install ofed-scripts RPM:
Running rpm -iv
/home/dvega/OFED-3.2-RC1/OFED-3.2-20120617-0600/RPMS/sles-release-11.2-1.234/ppc64/ofed-scripts-3.2-1.ppc64.rpm
Build compat-rdma RPM
Running rpmbuild --rebuild --define '_topdir /var/tmp//OFED_topdir'
--define '_suse_os_install_post %{nil}' --nodeps --define '_dist
.sles11sp2' --define 'configure_options --with-core-mod
--with-user_mad-mod --with-user_access-mod --with-addr_trans-mod
--with-mthca-mod --with-mlx4-mod --with-mlx4_en-mod --with-cxgb3-mod
--with-nes-mod --with-ipoib-mod --with-srp-mod --with-srp-target-mod
--with-rds-mod' --define 'build_kernel_ib 1' --define
'build_kernel_ib_devel 1' --define 'KVERSION 3.0.13-0.27-ppc64' --define
'K_SRC /lib/modules/3.0.13-0.27-ppc64/build' --define '_release
3.0.13_0.27_ppc64' --define 'network_dir /etc/sysconfig/network'
--define '_prefix /usr' --define '__arch_install_post %{nil}'
/home/dvega/OFED-3.2-RC1/OFED-3.2-20120617-0600/SRPMS/compat-rdma-3.2-1.src.rpm
Failed to build compat-rdma RPM
See /tmp/OFED.28881.logs/compat-rdma.rpmbuild.log
***** Bottom of compat-rdma.rpmbuild.log: ******
make[1]: Entering directory `/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64'
make -C ../../../linux-3.0.13-0.27
O=/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64/. modules
make -C /usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64 \
KBUILD_SRC=/usr/src/linux-3.0.13-0.27 \
KBUILD_EXTMOD="/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2" -f
/usr/src/linux-3.0.13-0.27/Makefile \
modules
/usr/src/linux-3.0.13-0.27/Makefile:588:
/usr/src/linux-3.0.13-0.27/arch/ppc64/Makefile: No such file or directory
make[3]: *** No rule to make target
`/usr/src/linux-3.0.13-0.27/arch/ppc64/Makefile'. Stop.
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.26417 (%build)
RPM build errors:
user vlad does not exist - using root
group vlad does not exist - using root
user vlad does not exist - using root
group vlad does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.26417 (%build)
Adding a symbolic link gets me a bit farther...
ln -s /usr/src/linux-3.0.13-0.27/arch/powerpc/
/usr/src/linux-3.0.13-0.27/arch/ppc64
-I/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat -D__KERNEL__
-I/usr/src/linux-3.0.13-0.27/arch/ppc64 -Iarch/ppc64 -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -O2 -msoft-float -pipe
-I/usr/src/linux-3.0.13-0.27/arch/ppc64 -Iarch/ppc64 -mminimal-toc
-mtraceback=none -mcall-aixdesc -mcpu=power4 -mtune=cell -mno-altivec
-mno-spe -mspe=no -funit-at-a-time -mno-string -Wa,-maltivec
-fno-stack-protector -fomit-frame-pointer -g
-fno-inline-functions-called-once -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(main)"
-D"KBUILD_MODNAME=KBUILD_STR(compat)" -c -o
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat/.tmp_main.o
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat/main.c
In file included from <command-line>:0:
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/include/linux/compat-2.6.h:12:35:
error: linux/compat_autoconf.h: No such file or directory
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat/main.c:8:2: error:
#error "You need a COMPAT_BASE"
/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat/main.c:23: error:
âCOMPAT_BASEâ undeclared here (not in a function)
make[5]: *** [/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat/main.o]
Error 1
make[4]: *** [/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2/compat] Error 2
make[3]: *** [_module_/var/tmp/OFED_topdir/BUILD/compat-rdma-3.2] Error 2
make[2]: *** [sub-make] Error 2
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/linux-3.0.13-0.27-obj/ppc64/ppc64'
make: *** [kernel] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.44819 (%build)
RPM build errors:
user vlad does not exist - using root
group vlad does not exist - using root
user vlad does not exist - using root
group vlad does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.44819 (%build)
*** GIT TREES ****
I pulled the following git trees:
git clone git://git.openfabrics.org/compat-rdma/linux-3.2.git
git clone git://git.openfabrics.org/compat-rdma/compat.git
git clone git://git.openfabrics.org/compat-rdma/compat-rdma.git
git clone git://git.openfabrics.org/compat-rdma/linux-next.git
export GIT_TREE=/home/dvega/ofed-3.2/linux-3.2/
export GIT_COMPAT_TREE=/home/dvega/ofed-3.2/compat
# ./configure --with-core-mod --with-ipoib-mod --with-ipoib-cm
--with-ipoib_debug-mod --with-ipoib_debug_data-mod --with-sdp-mod
--with-sdp_debug-mod --with-sdp_debug_data-mod --with-srp-mod
--with-srp-target-mod --with-user_mad-mod --with-user_access-mod
--with-addr_trans-mod --with-mthca-mod --with-mthca_debug-mod
--with-mlx4-mod --with-mlx4_core-mod --with-mlx4_en-mod
--with-mlx4_inf-mod --with-mlx4_debug-mod --with-ipath_inf-mod
--with-qib-mod --with-iser-mod --with-ehca-mod --with-rds-mod
--with-rds_debug-mod --with-madeye-mod --with-qlgc_vnic-mod
--with-qlgc_vnic_stats-mod --with-cxgb3-mod --with-cxgb3_debug-mod
--with-nes-mod --with-nes_debug-mod --with-debug-info --with-nfsrdma-mod
.backports_applied does not exist. running ofed_patch.sh
/home/dvega/ofed-3.2/compat-rdma/ofed_scripts/ofed_patch.sh
Quilt does not exist... Going to use patch.
mkdir -p /home/dvega/ofed-3.2/compat-rdma/patches
touch /home/dvega/ofed-3.2/compat-rdma/patches/quiltrc
Applying patches for 3.0.13_sles11_sp2 kernel:
/home/dvega/ofed-3.2/compat-rdma/backports/3.0.13_sles11_sp2/01-pinned_to_locked_vm_to_3_1.patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Index: compat-rdma/drivers/infiniband/core/umem.c
|===================================================================
|--- compat-rdma.orig/drivers/infiniband/core/umem.c
|+++ compat-rdma/drivers/infiniband/core/umem.c
--------------------------
File to patch:
Are you seeing this on ppc64?
--
Daniel A. Vega
Dept. 7UEA/7T IBM LTC RDMA Fabrics Development
Ely, MN 55731
Phone: 218-235-0977
Email:dvega at linux.vnet.ibm.com
More information about the ewg
mailing list