Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
11 Views

Upgrading mpss and lustre integration

I have tried following the instructions

 

export MVER=3.4.7
mkdir -p /tmp/mpss
cd /tmp/mpss
tar xf  mpss-src-$MVER.tar
tar xf  mpss-$MVER-linux.tar
tar xf  mpss-$MVER-k1om.tar
cd /tmp/mpss
sudo rpm -ivh ./mpss-$MVER/mpss-sdk-k1om-$MVER-1.x86_64.rpm
cd /tmp/mpss
tar xjf ./mpss-$MVER/src/linux-2.6.38+mpss$MVER.tar.bz2
cd /tmp/mpss
rpm2cpio ./mpss-$MVER/k1om/kernel-dev-2.6.38+mpss$MVER-1.knightscorner.rpm | cpio -idm
cd /tmp/mpss
cp ./boot/config-2.6.38.8+mpss$MVER ./linux-2.6.38+mpss$MVER/.config
cp ./boot/Module.symvers-2.6.38.8+mpss$MVER ./linux-2.6.38+mpss$MVER/Module.symvers
cd ./linux-2.6.38+mpss$MVER
eval $(grep " PATH=" /opt/mpss/$MVER/environment-setup-k1om-mpss-linux)
make ARCH=k1om silentoldconfig modules_prepare
rpmbuild --rebuild /tmp/mpss/mpss-$MVER/src/mpss-modules-$MVER-1.src.rpm
cp /root/rpmbuild/RPMS/x86_64/ofed-driver-*-$MVER* /tmp/mpss/mpss-$MVER/ofed/modules
cd /tmp/mpss
rpm2cpio ./mpss-$MVER/ofed/modules/ofed-driver-devel-$(uname -r)-$MVER-1.x86_64.rpm | cpio -idm
cd /tmp
git clone git://git.whamcloud.com/fs/lustre-release.git
cd /tmp/lustre-release
git checkout b2_5
cd /tmp/lustre-release
source /opt/mpss/$MVER/environment-setup-k1om-mpss-linux
export LD=k1om-mpss-linux-ld
sh autogen.sh
/tmp/lustre-release/configure --with-linux=/tmp/mpss/linux-2.6.38+mpss$MVER --with-o2ib=/tmp/mpss/usr/src/ofed-driver --disable-server --disable-tests --disable-doc \
                              --host=k1om-mpss-linux --build=x86_64-pc-linux
make rpms

 

 

The error that I get is 

 

Making all in .
/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs/tracefile.c: In function 'cfs_tracefile_dump_all_pages':
/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs/tracefile.c:733:2: warning: passing argument 2 of 'vfs_fsync_range' makes integer from pointer without a cast [enabled by default]
include/linux/fs.h:2172:12: note: expected 'loff_t' but argument is of type 'struct dentry *'
/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs/tracefile.c:733:2: warning: overflow in implicit constant conversion [-Woverflow]
/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs/tracefile.c:733:2: error: too many arguments to function 'vfs_fsync_range'
include/linux/fs.h:2172:12: note: declared here
make[7]: *** [/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs/tracefile.o] Error 1
make[6]: *** [/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs/libcfs] Error 2
make[5]: *** [/root/rpmbuild/BUILD/lustre-2.5.3.90/libcfs] Error 2
make[5]: *** Waiting for unfinished jobs....
make[4]: *** [_module_/root/rpmbuild/BUILD/lustre-2.5.3.90] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.rqJshU (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.rqJshU (%build)
make: *** [rpms] Error 1

 

I'm not sure how to proceed. 

Any help would be wonderful.

0 Kudos
0 Replies