Hi,
I am installing a brand new cluster and would like to run the latest
Lustre 2.6. I am almost there. Here is what I am doing:
cd /usr/src
tar xvf linux-source-3.13.0.tar.bz2
cd linux-source-3.13.0
make oldconfig
make prepare
# Recipe from Mellanox engineering to avoid the following configure error
#configure:error:can't compile with OpenIB gen2 headers
cd /usr/src/mlnx-ofed-kernel-2.2
ofed_scripts/gen-compat-autoconf.sh include/linux/compat-3.5.h
include/linux/compat_autoconf.h
exportMODULES_DIR=/lib/modules
ofed_scripts/create_Module.symvers.sh
cd /root
rm -rf lustre-release
cp -rv ~aspgpah/data/Lustre/lustre-release .
cd lustre-release
sed -i 's/1.10 tar-ustar -Wno-portability/1.10 tar-ustar
-Wno-portability subdir-objects/g' configure.ac
# remove duplicated variable definition
sed -i '3886d'
/usr/src/linux-headers-3.13.0-32-generic/include/generated/autoconf.h
sh autogen.sh
./configure --with-o2ib=/usr/src/mlnx-ofed-kernel-2.2 --disable-server
--enable-quota
make
...
Building modules, stage 2.
MODPOST 18 modules
FATAL: parse error in symbol dump file
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[3]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/lustre-release'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lustre-release'
make: *** [all] Error 2
I am stucked with that error for a while now. What is the symbol
dump file? Module.symvers?
I am continuing to pull my hair on this.
Thanks.
On 07/24/14 13:45, E.S. Rosenberg wrote:
Please note that we are still using lustre 2.4.x and not 2.6.x or
2.5.x
We have not used any special patches except for aufs and mosix and all
seems to work well.
We hope to switch to lustre 2.5.x somewhere in the not too far future.
Regards,
Eliyahu - אליהו
On Tue, Jul 22, 2014 at 1:47 PM, Patrice Hamelin
<patrice.hamelin(a)ssc-spc.gc.ca <mailto:patrice.hamelin@ssc-spc.gc.ca>>
wrote:
Hi James,
I am running 3.13 so I did not installed the patches. After
commenting out a symbol redefinition in autoconf.h from Mellanox:
include/generated/autoconf.h:3886:0: note: this is the location of
the previous definition
#define CONFIG_LNET_MAX_PAYLOAD 1048576
I am getting:
./configure --disable-modules --disable-server --enable-client
--prefix=/usr/local/lustre/2.4.2
--with-o2ib=/usr/src/mlnx-ofed-kernel-2.2
make
util/parser.c: In function 'init_input':
util/parser.c:308:45: error: 'CPPFunction' undeclared (first use
in this function)
rl_attempted_completion_function = (CPPFunction
*)command_completion;
^
Mr. Rosenberg is right, the lnet module is a part of Trusty and it
is compiled and loading.
root:~/lustre-release# modinfo lnet
filename:
/lib/modules/3.13.0-32-generic/kernel/drivers/staging/lustre/lnet/lnet/lnet.ko
version: 1.0.0
license: GPL
description: Portals v3.1
author: Peter J. Braam <braam(a)clusterfs.com
<mailto:braam@clusterfs.com>>
srcversion: 3441E33D76FAFAECF683EBF
root:~/lustre-release# cat /etc/modprobe.d/lustre.conf
options lnet networks=o2ib(bond1)
root:~/lustre-release# modprobe lnet
root:~/lustre-release# lsmod | grep lnet
lnet 345673 0
libcfs 331973 1 lnet
dmesg
[311197.918239] libcfs: module is from the staging directory, the
quality is unknown, you have been warned.
[311197.921832] LNet: HW CPU cores: 32, npartitions: 4
[311205.929725] lnet: module is from the staging directory, the
quality is unknown, you have been warned.
root:~/lustre-release# git describe
v2_6_50_0-29-gfa4a67d
Where should I go from there? I found some solutions to this on
the net but it did not produce a viable Lustre.
Thanks for help!
On 07/21/14 14:56, Simmons, James A. wrote:
On debian we build like this:
./configure --disable-modules --disable-server
--enable-client>--prefix=/usr/local/lustre/2.4.2
The modules we build as a part of the staging kernel
(currently we use 3.14) that we build in house.
I don't know if the Ubuntu/Debian kernels ship with the
lustre module compiled, but I can imagine that>they don't
compile it yet...
For 3.14 support you will need the following patch.
http://review.whamcloud.com/#/c/10995
If you want ldiskfs supprot for 3.14 you will need the
following patches.
http://review.whamcloud.com/#/c/11088
http://review.whamcloud.com/#/c/10165
http://review.whamcloud.com/#/c/11000
Please note this is all code in development. Its for testing
and not a production system.
On Mon, Jul 21, 2014 at 1:35 PM, Patrice
Hamelin<patrice.hamelin(a)ssc-spc.gc.ca
<mailto:patrice.hamelin@ssc-spc.gc.ca><mailto:patrice.hamelin@ssc-spc.gc.ca
<mailto:patrice.hamelin@ssc-spc.gc.ca>>> wrote:
Hi James,
Here is what I got:
git clone
git://git.whamcloud.com/fs/lustre-release.git
<
http://git.whamcloud.com/fs/lustre-release.git><http://git.whamclou...
ib8-bc1l42-be01:~# uname -a
Linux ib8-bc1l42-be01 3.13.0-32-generic #57-Ubuntu SMP Tue Jul
15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
ib8-bc1l42-be01:~/lustre-release# git describe
v2_6_50_0-29-gfa4a67d
ib8-bc1l42-be01:~/lustre-release# ./configure --disable-server
--with-o2ib=/usr/src/mlnx-ofed-kernel-2.2 --enable-quota
ib8-bc1l42-be01:~/lustre-release# make
...
Building modules, stage 2.
MODPOST 18 modules
FATAL: parse error in symbol dump file
make[4]: *** [__modpost] Error 1
make[3]: *** [modules] Error 2
make[3]: Leaving directory
`/usr/src/linux-headers-3.13.0-32-generic'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/lustre-release'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/lustre-release'
Why are you building as root, only the install stage you would
need to be root/sudo.....
make: *** [all] Error 2
Did you do a make oldconfig and make prepare in your kernel
source tree?
--
Patrice Hamelin
Specialiste sénior en systèmes d'exploitation | Senior OS specialist
Environnement Canada | Environment Canada
2121, route Transcanadienne | 2121 Transcanada Highway
Dorval, QC H9P 1J3
Téléphone | Telephone 514-421-5303 <tel:514-421-5303>
Télécopieur | Facsimile 514-421-7231 <tel:514-421-7231>
Gouvernement du Canada | Government of Canada
--
Patrice Hamelin
Specialiste sénior en systèmes d'exploitation | Senior OS specialist
Environnement Canada | Environment Canada
2121, route Transcanadienne | 2121 Transcanada Highway
Dorval, QC H9P 1J3
Téléphone | Telephone 514-421-5303
Télécopieur | Facsimile 514-421-7231
Gouvernement du Canada | Government of Canada