Hi,thanks for the help, but i still have some trouble to build a patchles client for lustre-1.6.0.1 on RHEL5 x86_64
I patched lustre-1.6.0.1 with export_truncate_page.diff and patchless-2.6.21-rhel5.diff but the file lnet/include/libcfs/winnt/kp30.h was missing for the patch to succeed.
/configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/ CC=/usr/bin/gcc34
showed no errors, but make had the following error: In file included from /tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c:30:include/linux/config.h:6:2: warning: #warning Including config.h is deprecated.
/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c: In function `insert_proc':/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.c:235: error: too few arguments to function `register_sysctl_table'
make[6]: *** [/tmp/lustre-1.6.0.1/lnet/libcfs/linux/linux-proc.o] Error 1
make[5]: *** [/tmp/lustre-1.6.0.1/lnet/libcfs] Error 2
make[4]: *** [/tmp/lustre-1.6.0.1/lnet] Error 2
make[3]: *** [_module_/tmp/lustre-1.6.0.1] Error 2
make[3]: Leaving directory `/usr/src/kernels/2.6.18-8.1.4.el5-x86_64'
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/tmp/lustre-1.6.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/lustre-1.6.0.1'
make: *** [all] Error 2
Whats wrong?
Regards
Michael Menge
Quoting Alexey Lyashkov <[EMAIL PROTECTED]>:
Hi Michael, RHEL5 support for patchless build merged to lustre tree after 1.6.0 released and will be included in 1.6.1. bugzilla bug 11647 consist patch for allow build lustre against RHEL5 (i tested with RHEL5 beta2), you can apply this patch to you lustre sources by hand, also you possible need patch https://bugzilla.lustre.org/attachment.cgi?id=10941 for detect export truncate_complete_page. В Пнд, 11/06/2007 в 13:47 +0200, Michael Menge пишет:Hi, i think may SMIME/Signature caused some trouble, so here is my mail agian ----------------------------------------------------i try to setup a Scientific Linux 5.0 on a x86_64 platform as a Lustre client.SL5.0 uses a RHEL 5.0 as base. I didn't want to use the old 2.6.9 rpms, so i tried to compile the client version for the unpached kernel 2.6.18. after a succesful ./configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/ make produced the following error /tmp/lustre-1.6.0.1/lustre/include/linux/lustre_patchless_compat.h:42: error: static declaration of ?truncate_complete_page? follows non-static declaration include/linux/mm.h:1017: error: previous declaration of ?truncate_complete_page? was here make[6]: *** [/tmp/lustre-1.6.0.1/lnet/lnet/router_proc.o] Error 1 gcc --version gcc (GCC) 4.1.1 20070105 (Red Hat 4.1.1-52) setting CC=gcc34 did not change the error. After that i pached the vanilla 2.6.18.8 kernel with quilt. But configure had the following error ./configure --with-linux=/usr/src/kernels/linux-2.6.18.8/ ... checking if you are using Linux 2.6... yes checking for external module build support... yes checking that modules can be built at all... no configure: WARNING: Consult config.log for details. configure: WARNING: If you are trying to build with a kernel-source rpm, consult build/README.kernel-source configure: error: Kernel modules cannot be build. Any hints whats gowing wrong or how to compile the pachless client or the pached 2.6.18.8? Regards Michael Menge -------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED] Waechterstrasse 76 72074 Tuebingen _______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss-- Alexey Lyashkov <[EMAIL PROTECTED]> Beaver team, Cluster filesystem
-------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912Zentrum fuer Datenverarbeitung mail: [EMAIL PROTECTED]
Waechterstrasse 76 72074 Tuebingen
smime.p7s
Description: S/MIME krytographische Unterschrift
_______________________________________________ Lustre-discuss mailing list [email protected] https://mail.clusterfs.com/mailman/listinfo/lustre-discuss
