[Lustre-discuss] Lustre 1.8.4 Patched Kernel Build

Charles Taylor taylor at hpc.ufl.edu
Fri Sep 3 08:46:30 PDT 2010


After installing the kernel source...

rpm -Uvh kernel-2.6.18-194.3.1.0.1.el5.src.rpm
rpmbuild -bp kernel-2.6.spec

intalling the lustre source...

lustre-source-1.8.4-2.6.18_194.3.1.0.1.el5_lustre.1.8.4.x86_64.rpm

and patching the kernel...

ln -s /usr/src/lustre-1.8.4/ldiskfs/kernel_patches/patches .
ln -s /usr/src/lustre-1.8.4/ldiskfs/kernel_patches/series/ldiskfs-2.6- 
rhel5.series series
quilt push -av,

we attempt to build the kernel and get....

   CC      fs/compat_ioctl.o
In file included from include/linux/ext3_jbd.h:20,
                  from fs/compat_ioctl.c:50:
include/linux/ext3_fs.h: In function ‘ext3_new_blocks’:
include/linux/ext3_fs.h:1057: error: ‘EXT2_MOUNT_MBALLOC’ undeclared  
(first use in this function)
include/linux/ext3_fs.h:1057: error: (Each undeclared identifier is  
reported only once
include/linux/ext3_fs.h:1057: error: for each function it appears in.)

This seems easy enough to fix but  doing so just results in more of  
the same (and worse) down the road.

Shouldn't this "just work"?    Is there a problem with the source RPMs?

Charlie Taylor
UF HPC Center






More information about the lustre-discuss mailing list