[Lustre-discuss] Compile lustre 1.8.4 errors+centos 5.5

Wojciech Turek wjt27 at cam.ac.uk
Fri Feb 11 08:42:56 PST 2011


If you just need to build new modules you could do that without rebuilding a
whole kernel. I think that if you apply patches to the modules that have a
bug and rebuild that modules it should work.



On 8 February 2011 12:25, Alfonso Pardo <alfonso.pardo at ciemat.es> wrote:

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


-- 
Wojciech Turek

Senior System Architect

High Performance Computing Service
University of Cambridge
Email: wjt27 at cam.ac.uk
Tel: (+)44 1223 763517
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20110211/46b705bf/attachment.htm>


More information about the lustre-discuss mailing list