<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Thanks Andreas,</DIV>
<DIV> </DIV>
<DIV>I am compiling lustre without path the kernel source code. But I got other 
errors:</DIV>
<DIV> </DIV>
<DIV>1) make the vanilla kernel 2.6.34 without lustre patch from my .config 
configurator kernel file</DIV>
<DIV>2) In lustre directory:</DIV>
<DIV>#> sh ./autogen.sh</DIV>
<DIV>#> ./configure --disable-server --enable-client 
--with-linux=/root/linux-2.6.34</DIV>
<DIV>#> make</DIV>
<DIV> </DIV>
<DIV><FONT size=2><EM>In file included from 
/root/lustre-release/libcfs/include/libcfs/linux/libcfs.h:51,</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>                 
from /root/lustre-release/libcfs/include/libcfs/libcfs.h:49,</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>                 
from 
/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.c:40:</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:144: 
error: expected â=â, â,â, â;â, âasmâ or â__attribute     __â 
before âcfs_mem_cache_tâ</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:146: 
error: expected â=â, â,â, â;â, âasmâ or â__attribute     __â 
before â*â token</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:147: 
error: expected â)â before â*â token</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:148: 
error: expected â)â before â*â token</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:149: 
error: expected â)â before â*â token</EM></FONT></DIV>
<DIV><FONT size=2><EM>cc1: warnings being treated as errors</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: 
error: type defaults to âintâ in declaration of âcfs     
_mem_cache_tâ</EM></FONT></DIV>
<DIV><FONT 
size=2><EM>/root/lustre-release/libcfs/include/libcfs/linux/linux-mem.h:150: 
error: expected â;â, â,â or â)â before â*â token</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[6]: *** 
[/root/lustre-release/libcfs/libcfs/linux/linux-tracefile.o] Error 
1</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[5]: *** [/root/lustre-release/libcfs/libcfs] Error 
2</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[4]: *** [/root/lustre-release/libcfs] Error 
2</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[3]: *** [_module_/root/lustre-release] Error 
2</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[3]: Leaving directory 
`/root/linux-2.6.34.14'</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[2]: *** [modules] Error 2</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[2]: Leaving directory 
`/root/lustre-release'</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[1]: *** [all-recursive] Error 1</EM></FONT></DIV>
<DIV><FONT size=2><EM>make[1]: Leaving directory 
`/root/lustre-release'</EM></FONT></DIV>
<DIV><FONT size=2><EM>make: *** [all] Error 2</EM></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>-----Mensaje original----- </DIV>
<DIV>From: Dilger, Andreas </DIV>
<DIV>Sent: Wednesday, February 13, 2013 2:13 AM </DIV>
<DIV>To: Alfonso Pardo ; lustre-discuss@lists.lustre.org ; WC-Discuss </DIV>
<DIV>Subject: Re: [Lustre-discuss] Lustre 2.3 for Kernel 2.6.34 </DIV>
<DIV> </DIV>
<DIV>On 2013/12/02 7:16 AM, "Alfonso Pardo" <alfonso.pardo@ciemat.es> 
wrote:</DIV>
<DIV> </DIV>
<DIV>>Hello,</DIV>
<DIV>> </DIV>
<DIV>>I am trying to compile lustre client 2.3 (2.2 same problem) for 
kernel</DIV>
<DIV>>2.6.34. I need to use this kernel, got from</DIV>
<DIV>>www.kernel.org <http://www.kernel.org>, because my clients need 
ACPI</DIV>
<DIV>>modules, and only this kernel version is compatible with my 
servers</DIV>
<DIV>>(ACPI).</DIV>
<DIV> </DIV>
<DIV>If you only need 2.6.34 clients, then you don't need to patch the 
kernel</DIV>
<DIV>at all.</DIV>
<DIV>If you need ACPI support for your hardware, then I suspect that the 
RHEL6</DIV>
<DIV>2.6.32</DIV>
<DIV>kernel will have back-ported the support required for your hardware, 
and</DIV>
<DIV>you</DIV>
<DIV>should just use the RHEL6 server kernel.</DIV>
<DIV> </DIV>
<DIV>Cheers, Andreas</DIV>
<DIV> </DIV>
<DIV>>I got erros when I apply patches to the kernel with ³quilt push 
­av²</DIV>
<DIV>> </DIV>
<DIV>>Brief:</DIV>
<DIV>> </DIV>
<DIV>>0) Machine Centos 6.2</DIV>
<DIV>>1) Kernel version 2.6.34</DIV>
<DIV>>2) Lustre software from git repository:</DIV>
<DIV>>[root@bc linux-2.6.34.14]# git clone</DIV>
<DIV>>git://git.whamcloud.com/fs/lustre-release.git</DIV>
<DIV>>[root@bc linux-2.6.34.14]# cd lustre-release</DIV>
<DIV>>[root@bc linux-2.6.34.14]# sh ./autogen.sh</DIV>
<DIV>>3) And from my kernel soruce code directory:</DIV>
<DIV>>[root@bc linux-2.6.34.14]# ln -s</DIV>
<DIV>>~/lustre-release/lustre/kernel_patches/series/2.6-rhel6.series 
series</DIV>
<DIV>>[root@bc linux-2.6.34.14]# ln -s</DIV>
<DIV>>~/lustre-release/lustre/kernel_patches/patches patches</DIV>
<DIV>>[root@bc linux-2.6.34.14]# quilt push -av</DIV>
<DIV>>Applying patch patches/lustre_version.patch</DIV>
<DIV>>patching file include/linux/lustre_version.h</DIV>
<DIV>> </DIV>
<DIV>>Applying patch patches/mpt-fusion-max-sge-rhel6.patch</DIV>
<DIV>>patching file drivers/message/fusion/Kconfig</DIV>
<DIV>>patching file drivers/message/fusion/mptbase.h</DIV>
<DIV>> </DIV>
<DIV>>Applying patch patches/raid5-mmp-unplug-dev-rhel6.patch</DIV>
<DIV>>patching file drivers/md/raid5.c</DIV>
<DIV>>Hunk #1 FAILED at 2177.</DIV>
<DIV>>Hunk #2 succeeded at 2394 with fuzz 1 (offset -1738 lines).</DIV>
<DIV>>1 out of 2 hunks FAILED -- rejects in file drivers/md/raid5.c</DIV>
<DIV>>Restoring drivers/md/raid5.c</DIV>
<DIV>>Patch patches/raid5-mmp-unplug-dev-rhel6.patch does not apply 
(enforce</DIV>
<DIV>>with -f)</DIV>
<DIV>>Restoring drivers/md/raid5.c</DIV>
<DIV>> </DIV>
<DIV>>Any idea?</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>>Thanks in advance!!!!!</DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>> </DIV>
<DIV>></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Cheers, Andreas</DIV>
<DIV>-- </DIV>
<DIV>Andreas Dilger</DIV>
<DIV> </DIV>
<DIV>Lustre Software Architect</DIV>
<DIV>Intel High Performance Data Division</DIV>
<DIV> </DIV>
<DIV> </DIV></DIV></DIV></BODY></HTML>