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: michael.menge@zdv.uni-tuebingen.de Waechterstrasse 76 72074 Tuebingen
I had troubles getting 1.6 to compile on 2.6.18. Bernd Schubert patched it all for 2.6.20 and I got that to compile very easily. It''s only on our staging cluster right now, but I haven''t seen any problems. He sent a message to the list on May 25 titled lustre-1.6.01 for linux-2.6.20. Robert On 6/11/07 5:47 AM, "Michael Menge" <michael.menge@zdv.uni-tuebingen.de> wrote:> 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: > michael.menge@zdv.uni-tuebingen.de > Waechterstrasse 76 > 72074 Tuebingen > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss >Robert LeBlanc BioAg Computer Support Brigham Young University leblanc@byu.edu (801)422-1882
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: > michael.menge@zdv.uni-tuebingen.de > Waechterstrasse 76 > 72074 Tuebingen > > _______________________________________________ > Lustre-discuss mailing list > Lustre-discuss@clusterfs.com > https://mail.clusterfs.com/mailman/listinfo/lustre-discuss-- Alexey Lyashkov <shadow@clusterfs.com> Beaver team, Cluster filesystem
On Mon, 2007-06-11 at 17:08 +0300, Alexey Lyashkov wrote:> also you possible need patch > https://bugzilla.lustre.org/attachment.cgi?id=10941 for detect export > truncate_complete_page.Hi Shadow, What bug number is this attachment to for those of us tracking bugs for 2.6.20 functionality? b.
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 <shadow@clusterfs.com>:> 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: >> michael.menge@zdv.uni-tuebingen.de >> Waechterstrasse 76 >> 72074 Tuebingen >> >> _______________________________________________ >> Lustre-discuss mailing list >> Lustre-discuss@clusterfs.com >> https://mail.clusterfs.com/mailman/listinfo/lustre-discuss > -- > Alexey Lyashkov <shadow@clusterfs.com> > Beaver team, Cluster filesystem >-------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: michael.menge@zdv.uni-tuebingen.de Waechterstrasse 76 72074 Tuebingen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5469 bytes Desc: S/MIME krytographische Unterschrift Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20070620/274c566a/smime.bin
On Wednesday 20 June 2007 10:23:13 Michael Menge wrote:> 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?See the attached patch. Greetings from T?bingen ;) , Bernd -- Bernd Schubert Q-Leap Networks GmbH -------------- next part -------------- A non-text attachment was scrubbed... Name: 2.6.21-sysctl.patch Type: text/x-diff Size: 6640 bytes Desc: not available Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20070620/bfd0aa6c/2.6.21-sysctl.bin
On Wed, 2007-06-20 at 10:23 +0200, Michael Menge wrote:> 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 >> Whats wrong? >is you regenerate configure after aplly patches? this should be done with ''sh autogen.sh'', seems not. -- Alexey Lyashkov <shadow@clusterfs.com> Beaver team, Cluster filesystem
Hi, something is still missing. After patching lustre-1.6.0.1 with 2.6.21-sysctl.patch export_truncate_page.diff patchless-2.6.21-rhel5.diff running autoconf and configure --with-linux=/usr/src/kernels/2.6.18-8.1.4.el5-x86_64/ CC=/usr/bin/gcc34 make exits with the following error: /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115:52: macro "INIT_WORK" requires 3 arguments, but only 2 given /tmp/lustre-1.6.0.1/lnet/lnet/router.c: In function `kpr_upcall'': /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: `INIT_WORK'' undeclared (first use in this function) /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: (Each undeclared identifier is reported only once /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: for each function it appears in.) make[6]: *** [/tmp/lustre-1.6.0.1/lnet/lnet/router.o] Error 1 make[5]: *** [/tmp/lustre-1.6.0.1/lnet/lnet] 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 which other patches do i need? Quoting Bernd Schubert <bs@q-leap.de>:> On Wednesday 20 June 2007 10:23:13 Michael Menge wrote: >> 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? > > See the attached patch. > > > Greetings from T?bingen ;) , > Bernd > > > -- > Bernd Schubert > Q-Leap Networks GmbH >-------------------------------------------------------------------------------- M.Menge Tel.: (49) 7071/29-70316 Universitaet Tuebingen Fax.: (49) 7071/29-5912 Zentrum fuer Datenverarbeitung mail: michael.menge@zdv.uni-tuebingen.de Waechterstrasse 76 72074 Tuebingen -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5469 bytes Desc: S/MIME krytographische Unterschrift Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20070620/d4cdb60f/smime-0001.bin
On Wednesday 20 June 2007 14:36:10 Michael Menge wrote:> Hi, > > something is still missing. After patching lustre-1.6.0.1 with > > 2.6.21-sysctl.patch > export_truncate_page.diff > patchless-2.6.21-rhel5.diff >[...]> /tmp/lustre-1.6.0.1/lnet/lnet/router.c: In function `kpr_upcall'': > /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: `INIT_WORK'' > undeclared (first use in this function) > /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: (Each undeclared > identifier is reported only once > /tmp/lustre-1.6.0.1/lnet/lnet/router.c:115: error: for each function > it appears in.)[...] See attachement.> > which other patches do i need?Probably several ;) You may fetch a working repository for linux-2.6.20 from http://www.pci.uni-heidelberg.de/tc/usr/bernd/downloads/lustre/1.6/ Untar it, you may then find the patches in .hg/patches. If my tests go fine, I will upload a new ql-release for linux-2.6.21 in about 2h and a release with 2.6.22 support tomorrow (the #idef''s KERNEL_VERSION are not yet in the patches for 2.6.22). Please note: Our releases and patches presently only test for the kernel version, so if you are using a redhat kernel that backports features from vanilla kernels these simple tests will fail. -- Bernd Schubert Q-Leap Networks GmbH -------------- next part -------------- A non-text attachment was scrubbed... Name: init_work.patch Type: text/x-diff Size: 1035 bytes Desc: not available Url : http://mail.clusterfs.com/pipermail/lustre-discuss/attachments/20070620/83e833d3/init_work.bin