<font face="arial narrow,sans-serif">Hi Alfonso,</font><div><font face="arial narrow,sans-serif"><br></font></div><div><font face="arial narrow,sans-serif">I&#39;ve tried to compile the kernel like your environment (in our center we have a system like this..) and I think it was all fine, I generate kernel + lustre{modules,ldiskfs, source, tests} I used the kernel unpatched from Lustre Downloads (2.6.18-194.3.1).</font></div>


<div><font face="arial narrow,sans-serif"><br></font></div><div><font face="&#39;arial narrow&#39;, sans-serif">I did the steps that lustre manual recommends:</font></div><div><font face="&#39;arial narrow&#39;, sans-serif"><br>


</font></div><div><font face="&#39;arial narrow&#39;, sans-serif">a) untar lustre source and linux kernel source</font></div><div><font face="&#39;arial narrow&#39;, sans-serif"><br></font></div><div><font face="&#39;arial narrow&#39;, sans-serif">in linux source directory:</font></div>

<div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">b) link from lustre source series and patches</font></div><div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif"><br></font></div>

<div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">c) quit push -av</font></div><div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">d) configure kernel ( make oldconfig, make menuconfig and several configurations )</font></div>

<div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif"><br></font></div><div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">and after that, create the rpms from lustre source and linux tree source directory.</font></div>

<div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif"><br></font></div><div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">The error shows a variable that isn&#39;t recognized (is defined in include/linux/rmap.h). A file permission problem, perhaps? What compiler and libraries do you use?</font></div>

<div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif"><br></font></div><div><font class="Apple-style-span" face="&#39;arial narrow&#39;, sans-serif">If you want, i can give you all the steps that I followed..</font></div>


<div><br></div><div>Regards,</div><div><br><div class="gmail_quote">2011/2/8 Alfonso Pardo <span dir="ltr">&lt;<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


yes, i am building a lustre server. I am compiling because the patched<br>
kernel 1.8.4 have a bug with the bonding mode 3 and the network<br>
interfaces e1000e<br>
<br>
<br>
<br>
<br>
El mar, 08-02-2011 a las 11:13 +0000, Wojciech Turek escribi:<br>
<div><div></div><div>&gt; So you are building a Lustre server? If the answer is yes, why not to<br>
&gt; use already patched kernel for 1.8.4 which is available for download?<br>
&gt;<br>
&gt;<br>
&gt; On 8 February 2011 11:02, Alfonso Pardo &lt;<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>&gt;<br>
&gt; wrote:<br>
&gt;     yes, at fist moments I had compiling with 2.6.18-194.32.1.el5<br>
&gt;     but now i<br>
&gt;     am triyin with 2.6.18-194.3.1.el5 but same error.<br>
&gt;<br>
&gt;     I understand its possible to use clients with 1.8.4 and<br>
&gt;     servers with<br>
&gt;     1.8.5, but my client demand me 1.8.4, becouse he doubts of<br>
&gt;     recents<br>
&gt;     versions.<br>
&gt;<br>
&gt;     To summarize<br>
&gt;<br>
&gt;     LUSTRE 1.8.4<br>
&gt;     KERNEL 2.6.18-194.3.1.el5<br>
&gt;     SSOO CENTOS 5.5<br>
&gt;     LUSTRE PATH 1.8.4<br>
&gt;<br>
&gt;     Error after path (quilt ok), make oldconfig and make:<br>
&gt;<br>
&gt;     CC   mm/filemap.o<br>
&gt;     mm/filemap.c: In function set_page_constant:<br>
&gt;     mm/filemap.c:594: error: SWAP_FAIL undeclared (first use in<br>
&gt;     this<br>
&gt;     function)<br>
&gt;     mm/filemap.c:594: error: (Each undeclared identifier is<br>
&gt;     reported only<br>
&gt;     once<br>
&gt;     mm/filemap.c:594: error: for each function it appears in.)<br>
&gt;     mm/filemap.c:604: error: implicit declaration of function<br>
&gt;     try_to_unmap<br>
&gt;     mm/filemap.c:604: error: SWAP_SUCCESS undeclared (first use<br>
&gt;     in this<br>
&gt;     function)<br>
&gt;     make[1]: *** [mm/filemap.o] Error 1<br>
&gt;     make: *** [mm] Error 2<br>
&gt;<br>
&gt;     El mar, 08-02-2011 a las 10:23 +0000, Wojciech Turek escribi:<br>
&gt;<br>
&gt;     &gt; Hi Alfonso,<br>
&gt;     &gt;<br>
&gt;     &gt; looking at 1.8.4 download page I can see that originally it<br>
&gt;     was build<br>
&gt;     &gt; against 2.6.18-194.3.1.el5 kernel whereas you are trying to<br>
&gt;     build<br>
&gt;     &gt; against 2.6.18-194.32.1.el5, so the difference maybe enough<br>
&gt;     to break<br>
&gt;     &gt; build process. Anyway as Tina said you can run mix of 1.8.4<br>
&gt;     and 1.8.5<br>
&gt;     &gt; clients. Also if you building a Lustre client you don&#39;t have<br>
&gt;     to patch<br>
&gt;     &gt; the kernel.<br>
&gt;     &gt; In case you are building lustre server I would recommend to<br>
&gt;     use Lustre<br>
&gt;     &gt; 1.8.5 and kernel which comes with it. You can run different<br>
&gt;     Lustre<br>
&gt;     &gt; version on the clients and servers (for example 1.8.5<br>
&gt;     servers and<br>
&gt;     &gt; 1.8.4 clients or mix of 1.8.4 and 1.8.5 clients) as long as<br>
&gt;     all the<br>
&gt;     &gt; Lustre servers are running the same version.<br>
&gt;     &gt;<br>
&gt;     &gt; Best regards,<br>
&gt;     &gt;<br>
&gt;     &gt; Wojciech<br>
&gt;     &gt;<br>
&gt;     &gt; On 8 February 2011 07:39, Alfonso Pardo<br>
&gt;     &lt;<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>&gt;<br>
&gt;     &gt; wrote:<br>
&gt;     &gt;     upps,I don&#39;t finished......<br>
&gt;     &gt;<br>
&gt;     &gt;     Sorry, may be I don&#39;t explain so good. I am trying<br>
&gt;     to compile<br>
&gt;     &gt;     lustre<br>
&gt;     &gt;     1.8.4 with patches of lustre 1.8.4 with the kernel<br>
&gt;     source code<br>
&gt;     &gt;<br>
&gt;     &gt;     recomended by oracle (2.6.18-194.3.1.0.1.el5) in<br>
&gt;     centos 5.5.<br>
&gt;     &gt;     When I try<br>
&gt;     &gt;     to compile I get a error.<br>
&gt;     &gt;<br>
&gt;     &gt;     But If I try to compile same kernel with lustre<br>
&gt;     1.8.5 with<br>
&gt;     &gt;     patches of<br>
&gt;     &gt;     1.8.5 in centos 5.5 it work, but I need to use 1.8.4<br>
&gt;     becouse<br>
&gt;     &gt;     all my<br>
&gt;     &gt;     system has 1.8.4 installed<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     El mar, 08-02-2011 a las 08:24 +0100, Alfonso Pardo<br>
&gt;     escribi:<br>
&gt;     &gt;<br>
&gt;     &gt;     &gt; Sorry, may be I don&#39;t explain so good. I am trying<br>
&gt;     to<br>
&gt;     &gt;     compile lustre<br>
&gt;     &gt;     &gt; 1.8.4 with patches of lustre 1.8.4 with the kernel<br>
&gt;     source<br>
&gt;     &gt;     code<br>
&gt;     &gt;     &gt; recomended by oracle (2.6.18-194.3.1.0.1.el5) in<br>
&gt;     centos 5.5.<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;     &gt; El lun, 07-02-2011 a las 14:41 -0500, Brian J.<br>
&gt;     Murrell<br>
&gt;     &gt;     escribi:<br>
&gt;     &gt;     &gt; &gt; On Thu, 2011-02-03 at 09:35 +0100, Alfonso Pardo<br>
&gt;     wrote:<br>
&gt;     &gt;     &gt; &gt; &gt; But, I have used a kernel with subsequenced<br>
&gt;     recomended<br>
&gt;     &gt;     by Oracle, I have<br>
&gt;     &gt;     &gt; &gt; &gt; downloaded the source kernel from Oracle<br>
&gt;     lustre 1.8.4<br>
&gt;     &gt;     web page.<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt; &gt; But you are trying to patch it with Lustre<br>
&gt;     1.8.5. You<br>
&gt;     &gt;     cannot (usually)<br>
&gt;     &gt;     &gt; &gt; do that. If you use 1.8.4 you need to use the<br>
&gt;     kernel that<br>
&gt;     &gt;     it was built<br>
&gt;     &gt;     &gt; &gt; to work with. If you use 1.8.5 you need to use<br>
&gt;     the kernel<br>
&gt;     &gt;     that *it* was<br>
&gt;     &gt;     &gt; &gt; built to work with. You cannot (again, usually)<br>
&gt;     mix and<br>
&gt;     &gt;     match the<br>
&gt;     &gt;     &gt; &gt; supported kernel from one Lustre release with<br>
&gt;     the patches<br>
&gt;     &gt;     from another.<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt; &gt; b.<br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     &gt;     &gt; &gt; _______________________________________________<br>
&gt;     &gt;     &gt; &gt; Lustre-discuss mailing list<br>
&gt;     &gt;     &gt; &gt; <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
&gt;     &gt;     &gt; &gt;<br>
&gt;     <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;     &gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;     --<br>
&gt;     &gt;     Alfonso Pardo Daz<br>
&gt;     &gt;<br>
&gt;     &gt;     Unidad de Sistemas y Explotacion (USE)<br>
&gt;     &gt;     CETA-CIEMAT<br>
&gt;     &gt;     Calle Sola n 1, Trujillo (CACERES)<br>
&gt;     &gt;     Tel. 927 65 93 17<br>
&gt;     &gt;     <a href="http://www.ceta-ciemat.es" target="_blank">www.ceta-ciemat.es</a><br>
&gt;     &gt;<br>
&gt;     &gt;     _______________________________________________<br>
&gt;     &gt;     Lustre-discuss mailing list<br>
&gt;     &gt;     <a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
&gt;     &gt;<br>
&gt;     <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;     &gt;<br>
&gt;<br>
&gt;<br>
&gt;     --<br>
&gt;<br>
&gt;     Alfonso Pardo Daz<br>
&gt;<br>
&gt;     Unidad de Sistemas y Explotacion (USE)<br>
&gt;     CETA-CIEMAT<br>
&gt;     Calle Sola n 1, Trujillo (CACERES)<br>
&gt;     Tel. 927 65 93 17<br>
&gt;     <a href="http://www.ceta-ciemat.es" target="_blank">www.ceta-ciemat.es</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Wojciech Turek<br>
&gt;<br>
&gt; Senior System Architect<br>
&gt;<br>
&gt; High Performance Computing Service<br>
&gt; University of Cambridge<br>
&gt; Email: <a href="mailto:wjt27@cam.ac.uk" target="_blank">wjt27@cam.ac.uk</a><br>
&gt; Tel: (+)44 1223 763517<br>
<br>
</div></div>--<br>
<div><div></div><div>Alfonso Pardo Daz<br>
<br>
Unidad de Sistemas y Explotacion (USE)<br>
CETA-CIEMAT<br>
Calle Sola n 1, Trujillo (CACERES)<br>
Tel. 927 65 93 17<br>
<a href="http://www.ceta-ciemat.es" target="_blank">www.ceta-ciemat.es</a><br>
<br>
_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org" target="_blank">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
</div></div></blockquote></div><br></div><br clear="all"><br>-- <br><div>Marceliano Marrn Bez</div><div>Departamento de Sistemas y Supercomputacin</div><div>Centro Informtico Cientfico de Andaluca (CICA)</div><div>


Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)</div><div>Tfno.: +34 955 056 600 / FAX: +34 955 056 607</div><div>Consejera de Economa, Innovacin y Ciencia</div><div>Junta de Andaluca</div><br>