Ricardo J. Barberis
2009-Sep-28 23:10 UTC
[Lustre-discuss] Compiling patchless client 1.8.1 on 2.6.18-164.el5xen
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..!
Ricardo J. Barberis
2009-Oct-01 15:47 UTC
[Lustre-discuss] Compiling patchless client 1.8.1 on 2.6.18-164.el5xen
El Lunes 28 Septiembre 2009, Ricardo J. Barberis escribi?:> 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.[ ...snip... ]> 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,Hello again, Well, I succesfully compiled lustre 1.8.1 for the unpathced CentOs kernel-xen 2.6.18-164.el5xen and was able to mount lustre on the client, but I catched the error reported in bugzilla # 20020 (lustre_shrink_reply_v2 LBUG) so I can''t do more tests till it''s solved. I can reproduce the bug easily and I''d like to test patches but the bug report is pretty messy and I can''t figure which patches I need to apply. If anyone is interested in pointing me to the correct set of patches I''ll gladly test them. Thank you, -- Ricardo J. Barberis Senior SysAdmin - I+D Dattatec.com :: Soluciones de Web Hosting Su Hosting hecho Simple..!