Hi,
Since your ldiskfs patch series being applied contains the patch
'rhel6.4/ext4_extra_isize.patch' you must have pulled a very recent version of the
master branch of lustre source. That patch was only added a few days ago as part of the
commit for LU-3847 kernel: Kernel update [RHEL6.4 2.6.32-358.18.1.el6].
Trying to build the tip of master on any earlier version of the rhel 6.4 kernel than
2.6.32-358.18.1, the most current version in rhel 6.4 updates, will fail just as you
describe. You will either need to move to the latest kernel version source, or pull an
earlier version of lustre source from before the kernel update commit. It might also be
possible to manually edit the ldiskfs series file in your lustre source to remove the
offending line before configuring and building lustre, but that's a little trickier
and hasn't been tested here.
Bob Glossman
Software Engineer
hpdd.intel.com
From: Andy Joe <jyizheng@gmail.com<mailto:jyizheng@gmail.com>>
Date: Friday, September 6, 2013 1:01 PM
To: "HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org>"
<HPDD-discuss@lists.01.org<mailto:HPDD-discuss@lists.01.org>>
Subject: [HPDD-discuss] problem when build the source code of lustre
Hi,
I followed the instruction of
https://wiki.hpdd.intel.com/pages/viewpage.action?pageId=8126821 to install lustre for the
source code. I built the patched kernel successfully. However, when I built the source
code of lustre. The following problem appeared.
+++++++++++ Problem Below +++++++++++++++++
Applying ext4 patches: rhel6.3/ext4-use-vzalloc-in-ext4_fill_flex_info.patch
rhel6.3/ext4-introduce-ext4_kvmalloc-ext4_kzalloc-and-ext4_kvfree.patch
rhel6.3/ext4-add-missing-kfree-on-error-return-path-in-add_new_gdb.patch
rhel6.3/ext4-use-ext4_kvzalloc-ext4_kvmalloc-for-s_group_desc-and-s_group_info.patch
rhel6.3/ext4-wantedi-2.6.patch rhel6.3/ext4-map_inode_page-2.6.18.patch
rhel6.3/export-ext4-2.6.patch rhel6.3/ext4-remove-cond_resched-calls.patch
rhel6.3/ext4-nlink-2.6.patch sles11sp1/ext4-ext_generation.patch
rhel6.3/ext4-inode-version.patch rhel6.4/ext4-mmp.patch rhel6.3/ext4-lookup-dotdot.patch
rhel6.3/ext4-print-inum-in-htree-warning.patch rhel6.3/ext4-xattr-no-update-ctime.patch
rhel6.4/ext4-prealloc.patch rhel6.3/ext4-mballoc-extra-checks.patch
rhel6.4/ext4-misc.patch rhel6.3/ext4-big-endian-check-2.6.patch
rhel6.3/ext4-alloc-policy-2.6.patch rhel6.3/ext4-force_over_128tb.patch
rhel6.3/ext4-pdir-fix.patch rhel6.3/ext4-add-more-error-checks-to-ext4_mkdir.patch
rhel6.3/ext4-osd-iop-common.patch rhel6.3/ext4-osd-iam-exports.patch
rhel6.3/ext4-dynlocks-common.patch rhel6.3/ext4-hash-indexed-dir-dotdot-update.patch
rhel6.3/ext4-kill-dx_root.patch rhel6.3/ext4-extents-mount-option.patch
rhel6.3/ext4-fiemap-2.6.patch rhel6.4/ext4-mballoc-pa_free-mismatch.patch
rhel6.3/ext4_data_in_dirent.patch rhel6.3/ext4-large-eas.patch
rhel6.3/ext4-disable-mb-cache.patch rhel6.3/ext4-back-dquot-to.patch
rhel6.3/ext4-nocmtime-2.6.patch rhel6.3/ext4-journal-callback.patch
rhel6.3/ext4-store-tree-generation-at-find.patch rhel6.3/ext4_pdirop.patch
rhel6.4/ext4_extra_isize.patch1 out of 1 hunk FAILED -- saving rejects to file
fs/ext4/inode.c.rej
make[4]: *** [sources] Error 1
make[4]: Leaving directory `/home/build/lustre-release/ldiskfs/ldiskfs'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/build/lustre-release/ldiskfs'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/build/lustre-release/ldiskfs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/build/lustre-release'
make: *** [all] Error 2
+++++++++++++ END ++++++++++++++++
Any suggestions are welcome.
Yizheng