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

Alfonso Pardo alfonso.pardo at ciemat.es
Tue Feb 8 03:02:22 PST 2011


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




More information about the lustre-discuss mailing list