[Lustre-discuss] Building 1.6.7 fails on SL5 with kernel 2.6.22.14

Vincenzo Spinoso vincenzo.spinoso at gmail.com
Wed Feb 25 08:45:57 PST 2009


Hi all,
my goal is to build all lustre 1.6.7 RPMS from scratch on a customized  
vanilla kernel of mine
  to test it on a single machine (and then pass to production if  
things work).
During these days I've followed the instructions on
http://wiki.lustre.org/index.php?title=Lustre_Quick_Start#Building_Lustre_from_Source_Code
patching the kernel 2.6.22.14 (vanilla) with both lustre 1.6.6 and  
1.6.7 successfully;
it works fine on Scientific Linux 4 (see RHEL4 rebuilt from sources),  
using this kind of syntax:
./configure --with-linux=/usr/src/redhat/BUILD/kernel-2.6.22.14 --with- 
kernel-source-header=/usr/src/redhat/BUILD/kernel-2.6.22.14 && make rpms

Now: I've used the same  procedure to build 1.6.7 on SL5 (RHEL5  
rebuilt from sources),
having this error while making:

/usr/src/redhat/BUILD/lustre-1.6.7/lustre/lvfs/lvfs_linux.c:530:2:  
error: #error rdonly patchset must be updated [cfs bz11248]
make[8]: *** [/usr/src/redhat/BUILD/lustre-1.6.7/lustre/lvfs/ 
lvfs_linux.o] Error 1
make[7]: *** [/usr/src/redhat/BUILD/lustre-1.6.7/lustre/lvfs] Error 2
make[7]: *** Waiting for unfinished jobs....
make[6]: *** [/usr/src/redhat/BUILD/lustre-1.6.7/lustre] Error 2
make[5]: *** [_module_/usr/src/redhat/BUILD/lustre-1.6.7] Error 2
make[5]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.6.22.14'
make[4]: *** [modules] Error 2
make[4]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.7'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.7'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/redhat/BUILD/lustre-1.6.7'
error: Bad exit status from /var/tmp/rpm-tmp.17974 (%build)

Summary: same kernel, same lustre, change distro: SLC4 -> SL5 => ERROR

Now I konw that someone has had similar problems in the past:
http://osdir.com/ml/file-systems.lustre.user/2007-07/msg00172.html
but that solution (commenting ifdefs) does not work for me; however,
if I understand, that would work for building just the client.

Any suggestions? Where could I be wrong?

Thank you,
best regards,
   Vincenzo




More information about the lustre-discuss mailing list