[Lustre-discuss] Problems building lustre 1.6.3 with 2.6.18.x vanilla kernel

Mikhail Kolesnik mike at openbunker.org
Mon Dec 3 04:43:11 PST 2007


I've patched kernel 2.6.18 with quilt, as described at [1] with both
ldiskfs and lustre kernel_patches (and removed .pc, patches & series
files).

Now when I try to build lustre-1.6.3 while running patched kernel
2.6.18.8 like:
 ./configure --prefix=/usr --with-linux=/lib/modules/`uname -r`/source
 make

I get the following error (full log available at [2]):
 [..]
 cd linux-stage && quilt push -a
 Applying patch patches/ext3-wantedi-2.6-rhel4.patch
 patching file fs/ext3/ialloc.c
 Hunk #1 FAILED at 419.
 Hunk #2 FAILED at 448.
 2 out of 2 hunks FAILED -- rejects in file fs/ext3/ialloc.c
 patching file fs/ext3/ioctl.c
 Hunk #1 FAILED at 13.
 Hunk #2 FAILED at 26.
 2 out of 2 hunks FAILED -- rejects in file fs/ext3/ioctl.c
 patching file fs/ext3/namei.c
 Hunk #1 succeeded at 101 with fuzz 2 (offset 4 lines).
 Hunk #2 succeeded at 150 with fuzz 1 (offset 8 lines).
 Hunk #3 succeeded at 1680 with fuzz 1 (offset 38 lines).
 Hunk #4 FAILED at 1719.
 Hunk #5 FAILED at 1753.
 Hunk #6 FAILED at 1789.
 Hunk #7 FAILED at 2194.
 4 out of 7 hunks FAILED -- rejects in file fs/ext3/namei.c
 patching file include/linux/ext3_fs.h
 Hunk #1 FAILED at 741.
 Hunk #2 FAILED at 834.
 2 out of 2 hunks FAILED -- rejects in file include/linux/ext3_fs.h

(modified autoMakefile.in to use quilt without "Quiet operation" option)

Looks like the source already has some patches applied and build
system still wants to patch it.

Can anyone give a hint on fixing this issue? 

[1]
http://wiki.lustre.org/index.php?title=Kernel_Patch_Management#Quick_Instructions_for_Applying_Existing_Patches_to_a_Tree

[2] http://pastebin.com/m49c6d71d

-- 
Mikhail Kolesnik
ICQ: 260259143
IRC: mike_k at freenode/#crux, rusnet/#yalta




More information about the lustre-discuss mailing list