<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'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="'arial narrow', sans-serif">I did the steps that lustre manual recommends:</font></div><div><font face="'arial narrow', sans-serif"><br>


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

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

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

<div><font class="Apple-style-span" face="'arial narrow', sans-serif"><br></font></div><div><font class="Apple-style-span" face="'arial narrow', 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="'arial narrow', sans-serif"><br></font></div><div><font class="Apple-style-span" face="'arial narrow', sans-serif">The error shows a variable that isn'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="'arial narrow', sans-serif"><br></font></div><div><font class="Apple-style-span" face="'arial narrow', 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"><<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>></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>> So you are building a Lustre server? If the answer is yes, why not to<br>
> use already patched kernel for 1.8.4 which is available for download?<br>
><br>
><br>
> On 8 February 2011 11:02, Alfonso Pardo <<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>><br>
> wrote:<br>
>         yes, at fist moments I had compiling with 2.6.18-194.32.1.el5<br>
>         but now i<br>
>         am triyin with 2.6.18-194.3.1.el5 but same error.<br>
><br>
>         I understand its possible to use clients with 1.8.4 and<br>
>         servers with<br>
>         1.8.5, but my client demand me 1.8.4, becouse he doubts of<br>
>         recents<br>
>         versions.<br>
><br>
>         To summarize<br>
><br>
>         LUSTRE 1.8.4<br>
>         KERNEL 2.6.18-194.3.1.el5<br>
>         SSOO CENTOS 5.5<br>
>         LUSTRE PATH 1.8.4<br>
><br>
>         Error after path (quilt ok), make oldconfig and make:<br>
><br>
>         CC      mm/filemap.o<br>
>         mm/filemap.c: In function ‘set_page_constant’:<br>
>         mm/filemap.c:594: error: ‘SWAP_FAIL’ undeclared (first use in<br>
>         this<br>
>         function)<br>
>         mm/filemap.c:594: error: (Each undeclared identifier is<br>
>         reported only<br>
>         once<br>
>         mm/filemap.c:594: error: for each function it appears in.)<br>
>         mm/filemap.c:604: error: implicit declaration of function<br>
>         ‘try_to_unmap’<br>
>         mm/filemap.c:604: error: ‘SWAP_SUCCESS’ undeclared (first use<br>
>         in this<br>
>         function)<br>
>         make[1]: *** [mm/filemap.o] Error 1<br>
>         make: *** [mm] Error 2<br>
><br>
>         El mar, 08-02-2011 a las 10:23 +0000, Wojciech Turek escribió:<br>
><br>
>         > Hi Alfonso,<br>
>         ><br>
>         > looking at 1.8.4 download page I can see that originally it<br>
>         was build<br>
>         > against 2.6.18-194.3.1.el5 kernel whereas you are trying to<br>
>         build<br>
>         > against  2.6.18-194.32.1.el5, so the difference maybe enough<br>
>         to break<br>
>         > build process. Anyway as Tina said you can run mix of 1.8.4<br>
>         and 1.8.5<br>
>         > clients. Also if you building a Lustre client you don't have<br>
>         to patch<br>
>         > the kernel.<br>
>         > In case you are building lustre server I would recommend to<br>
>         use Lustre<br>
>         > 1.8.5 and kernel which comes with it. You can run different<br>
>         Lustre<br>
>         > version on the clients and servers (for example 1.8.5<br>
>         servers and<br>
>         > 1.8.4 clients or mix of 1.8.4 and 1.8.5 clients) as long as<br>
>         all the<br>
>         > Lustre servers are running the same version.<br>
>         ><br>
>         > Best regards,<br>
>         ><br>
>         > Wojciech<br>
>         ><br>
>         > On 8 February 2011 07:39, Alfonso Pardo<br>
>         <<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>><br>
>         > wrote:<br>
>         >         upps,I don't finished......<br>
>         ><br>
>         >         Sorry, may be I don't explain so good. I am trying<br>
>         to compile<br>
>         >         lustre<br>
>         >         1.8.4 with patches of lustre 1.8.4 with the kernel<br>
>         source code<br>
>         ><br>
>         >         recomended by oracle (2.6.18-194.3.1.0.1.el5) in<br>
>         centos 5.5.<br>
>         >         When I try<br>
>         >         to compile I get a error.<br>
>         ><br>
>         >         But If I try to compile same kernel with lustre<br>
>         1.8.5 with<br>
>         >         patches of<br>
>         >         1.8.5 in centos 5.5 it work, but I need to use 1.8.4<br>
>         becouse<br>
>         >         all my<br>
>         >         system has 1.8.4 installed<br>
>         ><br>
>         ><br>
>         ><br>
>         ><br>
>         ><br>
>         >         El mar, 08-02-2011 a las 08:24 +0100, Alfonso Pardo<br>
>         escribió:<br>
>         ><br>
>         >         > Sorry, may be I don't explain so good. I am trying<br>
>         to<br>
>         >         compile lustre<br>
>         >         > 1.8.4 with patches of lustre 1.8.4 with the kernel<br>
>         source<br>
>         >         code<br>
>         >         > recomended by oracle (2.6.18-194.3.1.0.1.el5) in<br>
>         centos 5.5.<br>
>         >         ><br>
>         >         ><br>
>         >         ><br>
>         >         ><br>
>         >         ><br>
>         >         > El lun, 07-02-2011 a las 14:41 -0500, Brian J.<br>
>         Murrell<br>
>         >         escribió:<br>
>         >         > > On Thu, 2011-02-03 at 09:35 +0100, Alfonso Pardo<br>
>         wrote:<br>
>         >         > > > But, I have used a kernel with subsequenced<br>
>         recomended<br>
>         >         by Oracle, I have<br>
>         >         > > > downloaded the source kernel from Oracle<br>
>         lustre 1.8.4<br>
>         >         web page.<br>
>         >         > ><br>
>         >         > > But you are trying to patch it with Lustre<br>
>         1.8.5.  You<br>
>         >         cannot (usually)<br>
>         >         > > do that.  If you use 1.8.4 you need to use the<br>
>         kernel that<br>
>         >         it was built<br>
>         >         > > to work with.  If you use 1.8.5 you need to use<br>
>         the kernel<br>
>         >         that *it* was<br>
>         >         > > built to work with.  You cannot (again, usually)<br>
>         mix and<br>
>         >         match the<br>
>         >         > > supported kernel from one Lustre release with<br>
>         the patches<br>
>         >         from another.<br>
>         >         > ><br>
>         >         > > b.<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>
>         >         > ><br>
>         <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
>         >         ><br>
>         ><br>
>         >         --<br>
>         >         Alfonso Pardo Díaz<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>
>         ><br>
>         <a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
>         ><br>
>         ><br>
>         ><br>
><br>
><br>
>         --<br>
><br>
>         Alfonso Pardo Díaz<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>
><br>
><br>
><br>
> --<br>
> Wojciech Turek<br>
><br>
> Senior System Architect<br>
><br>
> High Performance Computing Service<br>
> University of Cambridge<br>
> Email: <a href="mailto:wjt27@cam.ac.uk" target="_blank">wjt27@cam.ac.uk</a><br>
> Tel: (+)44 1223 763517<br>
<br>
</div></div>--<br>
<div><div></div><div>Alfonso Pardo Díaz<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 Marrón Báez</div><div>Departamento de Sistemas y Supercomputación</div><div>Centro Informático Científico de Andalucía (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>Consejería de Economía, Innovación y Ciencia</div><div>Junta de Andalucía</div><br>