[Lustre-discuss] 1.8.1.1

Papp Tamás tompos at martos.bme.hu
Sat Dec 5 09:28:11 PST 2009


Johann Lombardi wrote, On 2009. 12. 02. 0:18:
> Actually, this is bug 19557 and a patch is pending review.
> I would be delighted if you could give the patch a try.

How can I rebuild only lustre modules?

I checked out the b1_8 source tree and applied the patched from bugzilla.

Then I tried this:

./configure 
--with-linux=/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64/

make says:

mkdir -p linux-stage/fs/ext3 linux-stage/include/linux
cp 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/acl.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/balloc.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/bitmap.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/dir.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/file.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/fsync.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/hash.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/ialloc.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/inode.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/ioctl.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/namei.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/resize.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/super.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/symlink.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/xattr.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/xattr_security.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/xattr_trusted.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/xattr_user.c 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/acl.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/namei.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/xattr.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//fs/ext3/Makefile 
linux-stage/fs/ext3
if test -n 
"/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs_i.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs_sb.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_jbd.h" 
; then \
                cp 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs_i.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_fs_sb.h 
/usr/src/kernels/2.6.18-128.7.1.el5_lustre.1.8.1.1-x86_64//include/linux/ext3_jbd.h 
linux-stage/include/linux; \
        fi
Applying ext3 patches: ext3-version-2.6-rhel5.patch 
ext3-wantedi-2.6-rhel4.patch iopen-2.6.18-rhel5.patch 
ext3-map_inode_page-2.6.18.patch export-ext3-2.6-rhel4.patch 
ext3-include-fixes-2.6-rhel4.patch ext3-extents-2.6.18-vanilla.patch1 
out of 5 hunks FAILED -- saving rejects to file include/linux/ext3_fs.h.rej
make[5]: *** [sources] Error 1
make[5]: Leaving directory `/usr/src/cvs/lustre/ldiskfs/ldiskfs'
make[4]: *** [all-sources] Error 2
make[4]: Leaving directory `/usr/src/cvs/lustre/ldiskfs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/cvs/lustre/ldiskfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/cvs/lustre/ldiskfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cvs/lustre'
make: *** [all] Error 2


Why does it want to patch the kernel again?

Thank you,

tamas



More information about the lustre-discuss mailing list