[Lustre-discuss] Compiling patchless client 1.8.1 on 2.6.18-164.el5xen

Ricardo J. Barberis ricardo.barberis at dattatec.com
Mon Sep 28 16:10:33 PDT 2009


Hello all,

I'm triyng out Lustre for a "cluster" of Xen guests.

The guests have CentOS loaded with their latest kernel as mentioned in the
subject and I tried using the lustre-client-* rpms with no success: the rpms
install fine and depmod doesn't complain but the modules can't be inserted
on this kernel.

So, I tried compiling from sources and this is as far as I got:

  CC [M]  /root/Info/lustre-1.8.1/lustre/llite/lloop.o
In file included from /root/Info/lustre-1.8.1/lustre/include/lustre/lustre_user.h:44,
                 from /root/Info/lustre-1.8.1/lustre/include/lustre/lustre_idl.h:97,
                 from /root/Info/lustre-1.8.1/lustre/include/lustre_lib.h:45,
                 from /root/Info/lustre-1.8.1/lustre/llite/lloop.c:111:
/root/Info/lustre-1.8.1/lustre/include/lustre/ll_fiemap.h:82:1: error: "FIEMAP_FLAGS_COMPAT" redefined
In file included from /usr/src/kernels/2.6.18-164.el5-xen-i686//include/linux/fs.h:299,
                 from /root/Info/lustre-1.8.1/lustre/llite/lloop.c:88:
/usr/src/kernels/2.6.18-164.el5-xen-i686//include/linux/fiemap.h:42:1: error: this is the location of the previous definition
make[6]: *** [/root/Info/lustre-1.8.1/lustre/llite/lloop.o] Error 1
make[5]: *** [/root/Info/lustre-1.8.1/lustre/llite] Error 2
make[4]: *** [/root/Info/lustre-1.8.1/lustre] Error 2
make[3]: *** [_module_/root/Info/lustre-1.8.1] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.18-164.el5-xen-i686'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/root/Info/lustre-1.8.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Info/lustre-1.8.1'
make: *** [all] Error 2


Reading bug # 19808 (2.6.29-fc11 patchless support), from comments # 18 and # 25
to # 27 I assume (yes, I know what they say about it :) ) that it's safe to delete
that define.

I actually commented it out and make ran fine, so I'm going to test it and report
if I encounter problems, but I'd like to know if someone advises against it.

Best regards,
-- 
Ricardo J. Barberis 
Senior SysAdmin - I+D 
Dattatec.com :: Soluciones de Web Hosting 
Su Hosting hecho Simple..! 



More information about the lustre-discuss mailing list