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

Marceliano Marrón marcemb at cica.es
Fri Feb 11 05:09:50 PST 2011


Hi Alfonso,

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).

I did the steps that lustre manual recommends:

a) untar lustre source and linux kernel source

in linux source directory:
b) link from lustre source series and patches

c) quit push -av
d) configure kernel ( make oldconfig, make menuconfig and several
configurations )

and after that, create the rpms from lustre source and linux tree source
directory.

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?

If you want, i can give you all the steps that I followed..

Regards,

2011/2/8 Alfonso Pardo <alfonso.pardo at ciemat.es>

> 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
>
> _______________________________________________
> Lustre-discuss mailing list
> Lustre-discuss at lists.lustre.org
> http://lists.lustre.org/mailman/listinfo/lustre-discuss
>



-- 
Marceliano Marrón Báez
Departamento de Sistemas y Supercomputación
Centro Informático Científico de Andalucía (CICA)
Avda. Reina Mercedes s/n - 41012 - Sevilla (Spain)
Tfno.: +34 955 056 600 / FAX: +34 955 056 607
Consejería de Economía, Innovación y Ciencia
Junta de Andalucía
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20110211/1fdbff0d/attachment.htm>


More information about the lustre-discuss mailing list