Hello, I am trying to compile lustre client 2.3 (2.2 same problem) for kernel 2.6.34. I need to use this kernel, got from www.kernel.org, because my clients need ACPI modules, and only this kernel version is compatible with my servers (ACPI). I got erros when I apply patches to the kernel with ???quilt push ???av??? Brief: 0) Machine Centos 6.2 1) Kernel version 2.6.34 2) Lustre software from git repository: [root at bc linux-2.6.34.14]# git clone git://git.whamcloud.com/fs/lustre-release.git [root at bc linux-2.6.34.14]# cd lustre-release [root at bc linux-2.6.34.14]# sh ./autogen.sh 3) And from my kernel soruce code directory: [root at bc linux-2.6.34.14]# ln -s ~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series series [root at bc linux-2.6.34.14]# ln -s ~/lustre-release/lustre/kernel_patches/patches patches [root at bc linux-2.6.34.14]# quilt push -av Applying patch patches/lustre_version.patch patching file include/linux/lustre_version.h Applying patch patches/mpt-fusion-max-sge-rhel6.patch patching file drivers/message/fusion/Kconfig patching file drivers/message/fusion/mptbase.h Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch patching file drivers/md/raid5.c Hunk #1 FAILED at 2177. Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines). 1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c Restoring drivers/md/raid5.c Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply (enforce with -f) Restoring drivers/md/raid5.c Any idea? Thanks in advance!!!!! Alfonso Pardo D??az Researcher / System Administrator at CETA-Ciemat c/ Sola n?? 1; 10200 Trujillo, ESPA??A Tel: +34 927 65 93 17 Fax: +34 927 32 32 37 ---------------------------- Confidencialidad: Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener informaci?n privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilizaci?n, divulgaci?n y/o copia sin autorizaci?n est? prohibida en virtud de la legislaci?n vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente respondiendo al mensaje y proceda a su destrucci?n. Disclaimer: This message and its attached files is intended exclusively for its recipients and may contain confidential information. If you received this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately. ---------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20130212/f0b89788/attachment.html
On 2013/12/02 7:16 AM, "Alfonso Pardo" <alfonso.pardo at ciemat.es> wrote:>Hello, > >I am trying to compile lustre client 2.3 (2.2 same problem) for kernel >2.6.34. I need to use this kernel, got from >www.kernel.org <http://www.kernel.org>, because my clients need ACPI >modules, and only this kernel version is compatible with my servers >(ACPI).If you only need 2.6.34 clients, then you don''t need to patch the kernel at all. If you need ACPI support for your hardware, then I suspect that the RHEL6 2.6.32 kernel will have back-ported the support required for your hardware, and you should just use the RHEL6 server kernel. Cheers, Andreas>I got erros when I apply patches to the kernel with ?quilt push ?av? > >Brief: > >0) Machine Centos 6.2 >1) Kernel version 2.6.34 >2) Lustre software from git repository: >[root at bc linux-2.6.34.14]# git clone >git://git.whamcloud.com/fs/lustre-release.git >[root at bc linux-2.6.34.14]# cd lustre-release >[root at bc linux-2.6.34.14]# sh ./autogen.sh >3) And from my kernel soruce code directory: >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series series >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/patches patches >[root at bc linux-2.6.34.14]# quilt push -av >Applying patch patches/lustre_version.patch >patching file include/linux/lustre_version.h > >Applying patch patches/mpt-fusion-max-sge-rhel6.patch >patching file drivers/message/fusion/Kconfig >patching file drivers/message/fusion/mptbase.h > >Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch >patching file drivers/md/raid5.c >Hunk #1 FAILED at 2177. >Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines). >1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c >Restoring drivers/md/raid5.c >Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply (enforce >with -f) >Restoring drivers/md/raid5.c > >Any idea? > > >Thanks in advance!!!!! > > > >Cheers, Andreas -- Andreas Dilger Lustre Software Architect Intel High Performance Data Division
Thanks Andreas, I am compiling lustre without path the kernel source code. But I got other errors: 1) make the vanilla kernel 2.6.34 without lustre patch from my .config configurator kernel file 2) In lustre directory: #> sh ./autogen.sh #> ./configure --disable-server --enable-client --with-linux=/root/linux-2.6.34 #> make In file included from /root/lustre-release/libcfs/include/libcfs/linux/libcfs.h:51, from /root/lustre-release/libcfs/include/libcfs/libcfs.h:49, from /root/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:40: /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:144: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute __? before ?cfs_mem_cache_t? /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:146: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute __? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:147: error: expected ?)? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:148: error: expected ?)? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:149: error: expected ?)? before ?*? token cc1: warnings being treated as errors /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: type defaults to ?int? in declaration of ?cfs _mem_cache_t? /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: expected ?;?, ?,? or ?)? before ?*? token make[6]: *** [/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 1 make[5]: *** [/root/lustre-release/libcfs/libcfs] Error 2 make[4]: *** [/root/lustre-release/libcfs] Error 2 make[3]: *** [_module_/root/lustre-release] Error 2 make[3]: Leaving directory `/root/linux-2.6.34.14'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-release'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-release'' make: *** [all] Error 2 -----Mensaje original----- From: Dilger, Andreas Sent: Wednesday, February 13, 2013 2:13 AM To: Alfonso Pardo ; lustre-discuss at lists.lustre.org ; WC-Discuss Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34 On 2013/12/02 7:16 AM, "Alfonso Pardo" <alfonso.pardo at ciemat.es> wrote:>Hello, > >I am trying to compile lustre client 2.3 (2.2 same problem) for kernel >2.6.34. I need to use this kernel, got from >www.kernel.org <http://www.kernel.org>, because my clients need ACPI >modules, and only this kernel version is compatible with my servers >(ACPI).If you only need 2.6.34 clients, then you don''t need to patch the kernel at all. If you need ACPI support for your hardware, then I suspect that the RHEL6 2.6.32 kernel will have back-ported the support required for your hardware, and you should just use the RHEL6 server kernel. Cheers, Andreas>I got erros when I apply patches to the kernel with ?quilt push ?av? > >Brief: > >0) Machine Centos 6.2 >1) Kernel version 2.6.34 >2) Lustre software from git repository: >[root at bc linux-2.6.34.14]# git clone >git://git.whamcloud.com/fs/lustre-release.git >[root at bc linux-2.6.34.14]# cd lustre-release >[root at bc linux-2.6.34.14]# sh ./autogen.sh >3) And from my kernel soruce code directory: >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series series >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/patches patches >[root at bc linux-2.6.34.14]# quilt push -av >Applying patch patches/lustre_version.patch >patching file include/linux/lustre_version.h > >Applying patch patches/mpt-fusion-max-sge-rhel6.patch >patching file drivers/message/fusion/Kconfig >patching file drivers/message/fusion/mptbase.h > >Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch >patching file drivers/md/raid5.c >Hunk #1 FAILED at 2177. >Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines). >1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c >Restoring drivers/md/raid5.c >Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply (enforce >with -f) >Restoring drivers/md/raid5.c > >Any idea? > > >Thanks in advance!!!!! > > > >Cheers, Andreas -- Andreas Dilger Lustre Software Architect Intel High Performance Data Division -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20130213/73f2da9e/attachment.html
I am sending you a LOG of ?configure? and ?make? From: Alfonso Pardo Sent: Wednesday, February 13, 2013 9:48 AM To: Dilger, Andreas ; lustre-discuss at lists.lustre.org ; WC-Discuss Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34 Thanks Andreas, I am compiling lustre without path the kernel source code. But I got other errors: 1) make the vanilla kernel 2.6.34 without lustre patch from my .config configurator kernel file 2) In lustre directory: #> sh ./autogen.sh #> ./configure --disable-server --enable-client --with-linux=/root/linux-2.6.34 #> make In file included from /root/lustre-release/libcfs/include/libcfs/linux/libcfs.h:51, from /root/lustre-release/libcfs/include/libcfs/libcfs.h:49, from /root/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:40: /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:144: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute __? before ?cfs_mem_cache_t? /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:146: error: expected ?=?, ?,?, ?;?, ?asm? or ?__attribute __? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:147: error: expected ?)? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:148: error: expected ?)? before ?*? token /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:149: error: expected ?)? before ?*? token cc1: warnings being treated as errors /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: type defaults to ?int? in declaration of ?cfs _mem_cache_t? /root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: error: expected ?;?, ?,? or ?)? before ?*? token make[6]: *** [/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 1 make[5]: *** [/root/lustre-release/libcfs/libcfs] Error 2 make[4]: *** [/root/lustre-release/libcfs] Error 2 make[3]: *** [_module_/root/lustre-release] Error 2 make[3]: Leaving directory `/root/linux-2.6.34.14'' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/root/lustre-release'' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/lustre-release'' make: *** [all] Error 2 -----Mensaje original----- From: Dilger, Andreas Sent: Wednesday, February 13, 2013 2:13 AM To: Alfonso Pardo ; lustre-discuss at lists.lustre.org ; WC-Discuss Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34 On 2013/12/02 7:16 AM, "Alfonso Pardo" <alfonso.pardo at ciemat.es> wrote:>Hello, > >I am trying to compile lustre client 2.3 (2.2 same problem) for kernel >2.6.34. I need to use this kernel, got from >www.kernel.org <http://www.kernel.org>, because my clients need ACPI >modules, and only this kernel version is compatible with my servers >(ACPI).If you only need 2.6.34 clients, then you don''t need to patch the kernel at all. If you need ACPI support for your hardware, then I suspect that the RHEL6 2.6.32 kernel will have back-ported the support required for your hardware, and you should just use the RHEL6 server kernel. Cheers, Andreas>I got erros when I apply patches to the kernel with ?quilt push ?av? > >Brief: > >0) Machine Centos 6.2 >1) Kernel version 2.6.34 >2) Lustre software from git repository: >[root at bc linux-2.6.34.14]# git clone >git://git.whamcloud.com/fs/lustre-release.git >[root at bc linux-2.6.34.14]# cd lustre-release >[root at bc linux-2.6.34.14]# sh ./autogen.sh >3) And from my kernel soruce code directory: >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series series >[root at bc linux-2.6.34.14]# ln -s >~/lustre-release/lustre/kernel_patches/patches patches >[root at bc linux-2.6.34.14]# quilt push -av >Applying patch patches/lustre_version.patch >patching file include/linux/lustre_version.h > >Applying patch patches/mpt-fusion-max-sge-rhel6.patch >patching file drivers/message/fusion/Kconfig >patching file drivers/message/fusion/mptbase.h > >Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch >patching file drivers/md/raid5.c >Hunk #1 FAILED at 2177. >Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines). >1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c >Restoring drivers/md/raid5.c >Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply (enforce >with -f) >Restoring drivers/md/raid5.c > >Any idea? > > >Thanks in advance!!!!! > > > >Cheers, Andreas -- Andreas Dilger Lustre Software Architect Intel High Performance Data Division -------------------------------------------------------------------------------- _______________________________________________ Lustre-discuss mailing list Lustre-discuss at lists.lustre.org http://lists.lustre.org/mailman/listinfo/lustre-discuss -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20130214/6e28c644/attachment-0001.html -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: make.txt Url: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20130214/6e28c644/attachment-0002.txt -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: config.txt Url: http://lists.lustre.org/pipermail/lustre-discuss/attachments/20130214/6e28c644/attachment-0003.txt