<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3462" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi, </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>I was trying to build lustre from the source 
(lustre-source-1.6.6-2.6.9_67.0.22.EL_lustre.1.6.6smp.x86_64) on linux kernel 
2.6.24, but it failed with these errors:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT 
size=2>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:315:47: macro 
"bio_io_error" passed 2 arguments, but takes just 
1<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c: In function 
`loop_make_request':<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:315: 
error: `bio_io_error' undeclared (first use in this 
function)<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:315: error: 
(Each undeclared identifier is reported only 
once<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:315: error: for 
each function it appears 
in.)<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c: At top 
level:<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:325: warning: 
`request_queue_t' is deprecated (declared at 
/usr/src/kernels/2.6.24-7UL3-smp-x86_64//include/linux/blkdev.h:26)<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c: 
In function 
`loop_handle_bio':<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.c:337: 
error: too many arguments to function `bio_endio'<BR>make[8]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite/lloop.o] Error 1<BR>make[7]: 
*** [/usr/src/redhat/BUILD/lustre-1.6.6/lustre/llite] Error 2<BR>make[7]: *** 
Waiting for unfinished 
jobs....<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.c: 
In function 
`kiblnd_setup_rd_iov':<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.c:646: 
error: structure has no member named 
`page'<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.c: In 
function 
`kiblnd_setup_rd_kiov':<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.c:711: 
error: structure has no member named `page'<BR>make[9]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd/o2iblnd_cb.o] Error 
1<BR>make[9]: *** Waiting for unfinished jobs....<BR>make[8]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds/o2iblnd] Error 2<BR>make[7]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lnet/klnds] Error 2<BR>make[7]: *** Waiting 
for unfinished 
jobs....<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/lov/lproc_lov.c: In 
function 
`lov_target_seq_open':<BR>/usr/src/redhat/BUILD/lustre-1.6.6/lustre/lov/lproc_lov.c:323: 
error: structure has no member named `deleted'<BR>make[8]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lustre/lov/lproc_lov.o] Error 1<BR>make[8]: 
*** Waiting for unfinished jobs....<BR>make[7]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lustre/lov] Error 2<BR>make[6]: *** 
[/usr/src/redhat/BUILD/lustre-1.6.6/lustre] Error 2<BR>make[6]: *** Waiting for 
unfinished jobs....<BR>make[6]: *** [/usr/src/redhat/BUILD/lustre-1.6.6/lnet] 
Error 2<BR>make[5]: *** [_module_/usr/src/redhat/BUILD/lustre-1.6.6] Error 
2<BR>make[5]: Leaving directory 
`/usr/src/kernels/2.6.24-7UL3-smp-x86_64'<BR>make[4]: *** [modules] Error 
2<BR>make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.6'<BR>make[3]: 
*** [all-recursive] Error 1<BR>make[3]: Leaving directory 
`/usr/src/redhat/BUILD/lustre-1.6.6'<BR>make[2]: *** [all] Error 2<BR>make[2]: 
Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.6'<BR>error: Bad exit status 
from /var/tmp/rpm-tmp.80654 (%build)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2><BR>RPM build errors:<BR>    Bad exit status 
from /var/tmp/rpm-tmp.80654 (%build)<BR>make[1]: *** [rpms-real] Error 
1<BR>make[1]: Leaving directory `/usr/src/lustre-1.6.6'<BR></FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>but I could build it successfully on kernel both 2.6.9 and 
2.6.20, I wonder if  the recent lustre 1.6.6 surports the 2.6.24 
kernel , </FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>thanks</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>wenjing </FONT></DIV></BODY></HTML>