Nirmal Seenu
2009-Jun-15 21:55 UTC
[Lustre-discuss] Error while compiling Lustre client from 1.8.0 source
I am having trouble building the Lustre client from source-- lustre-1.8.0.tar.gz under the latest Redhat Kernel. Could someone let me know if there is patch available to fix this problem. [root at cc2 lustre-1.8.0]# ./configure --with-linux=/usr/src/kernels/2.6.18-128.1.10.el5-x86_64 --disable-snmp --enable-quota --disable-server [root at cc2 lustre-1.8.0]# make .... ... CC [M] /usr/local/src/lustre-1.8.0/lustre/llite/lloop.o In file included from /usr/local/src/lustre-1.8.0/lustre/include/linux/lvfs.h:49, from /usr/local/src/lustre-1.8.0/lustre/include/lvfs.h:48, from /usr/local/src/lustre-1.8.0/lustre/include/obd_support.h:41, from /usr/local/src/lustre-1.8.0/lustre/include/lustre_cfg.h:207, from /usr/local/src/lustre-1.8.0/lustre/include/lustre_lib.h:47, from /usr/local/src/lustre-1.8.0/lustre/llite/lloop.c:111: /usr/local/src/lustre-1.8.0/lustre/include/linux/lustre_compat25.h:321: error: static declaration of ?filemap_fdatawrite_range? follows non-static declaration /usr/src/kernels/2.6.18-128.1.10.el5-x86_64/include/linux/fs.h:1681: error: previous declaration of ?filemap_fdatawrite_range? was here make[6]: *** [/usr/local/src/lustre-1.8.0/lustre/llite/lloop.o] Error 1 make[5]: *** [/usr/local/src/lustre-1.8.0/lustre/llite] Error 2 make[4]: *** [/usr/local/src/lustre-1.8.0/lustre] Error 2 make[3]: *** [_module_/usr/local/src/lustre-1.8.0] Error 2 Thanks Nirmal
Brian J. Murrell
2009-Jun-22 19:50 UTC
[Lustre-discuss] Error while compiling Lustre client from 1.8.0 source
On Mon, 2009-06-15 at 16:55 -0500, Nirmal Seenu wrote:> I am having trouble building the Lustre client from source-- > lustre-1.8.0.tar.gz under the latest Redhat Kernel. Could someone let me > know if there is patch available to fix this problem. > > [root at cc2 lustre-1.8.0]# ./configure > --with-linux=/usr/src/kernels/2.6.18-128.1.10.el5-x86_64 --disable-snmp > --enable-quota --disable-serverLustre 1.8.0 doesn''t support this kernel. You will have to either apply patches or wait for 1.8.0.1. b. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20090622/5dfb98a4/attachment.bin
Andreas Dilger
2009-Jun-22 23:34 UTC
[Lustre-discuss] Error while compiling Lustre client from 1.8.0 source
On Jun 22, 2009 15:50 -0400, Brian J. Murrell wrote:> On Mon, 2009-06-15 at 16:55 -0500, Nirmal Seenu wrote: > > I am having trouble building the Lustre client from source-- > > lustre-1.8.0.tar.gz under the latest Redhat Kernel. Could someone let me > > know if there is patch available to fix this problem. > > > > [root at cc2 lustre-1.8.0]# ./configure > > --with-linux=/usr/src/kernels/2.6.18-128.1.10.el5-x86_64 --disable-snmp > > --enable-quota --disable-server > > Lustre 1.8.0 doesn''t support this kernel. You will have to either apply > patches or wait for 1.8.0.1.FYI, 1.8.0.1 just finished testing, so it should be available on the download site very soon. Cheers, Andreas -- Andreas Dilger Sr. Staff Engineer, Lustre Group Sun Microsystems of Canada, Inc.
Nirmal Seenu
2009-Jun-23 21:00 UTC
[Lustre-discuss] Error while compiling Lustre client from 1.8.0 source
Hi Andreas, Thanks for the update. I just downloaded the latest(1.8.0.1) version of Lustre and was able to install the Lustre-patched kernel and patch-less clients on 2.6.18-128.1.10.el5-x86_64 kernel without any problems. I am currently working on pushing out the new client version to all the worker nodes(126 clients connected through GigE) and to enable quotas on this Lustre file system. I will let you know if I run into any more troubles during this upgrage process. Nirmal