Mikhail Kolesnik
2007-Dec-03 12:43 UTC
[Lustre-discuss] Problems building lustre 1.6.3 with 2.6.18.x vanilla kernel
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
Brian J. Murrell
2007-Dec-03 19:03 UTC
[Lustre-discuss] Problems building lustre 1.6.3 with 2.6.18.x vanilla kernel
On Mon, 2007-12-03 at 14:43 +0200, Mikhail Kolesnik wrote:> 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).Don''t apply the ldiskfs series to your kernel before you build it. The lustre build system applies the ldiskfs patches during the ldiskfs build. b.
Mikhail Kolesnik
2007-Dec-04 10:29 UTC
[Lustre-discuss] Problems building lustre 1.6.3 with 2.6.18.x vanilla kernel
Hello, Brian. On Mon, 03 Dec 2007 14:03:01 -0500 "Brian J. Murrell" <Brian.Murrell at Sun.COM> wrote:> On Mon, 2007-12-03 at 14:43 +0200, Mikhail Kolesnik wrote: > > 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). > > Don''t apply the ldiskfs series to your kernel before you build it. The > lustre build system applies the ldiskfs patches during the ldiskfs > build.Thanks a lot. I should believe the documentation even if it looks a little outdated. -- Mikhail Kolesnik ICQ: 260259143 IRC: mike_k at freenode/#crux, rusnet/#yalta