Page 1 of 1

hunks failed with 2.6.24.1

PostPosted: Sat Feb 09, 2008 5:35 am
by KDE
Hello,
I tried to patch 2.6.24.1 with pax-linux-2.6.24-test11.patch.
Some errors and warnings appeared:

patching file kernel/relay.c
Hunk #1 succeeded at 1140 (offset 1 line).
patching file mm/mmap.c
Hunk #57 FAILED at 2215.
1 out of 57 hunks FAILED -- saving rejects to file mm/mmap.c.rej
patching file mm/slab.c
Hunk #1 FAILED at 305.
1 out of 3 hunks FAILED -- saving rejects to file mm/slab.c.rej

Re: hunks failed with 2.6.24.1

PostPosted: Sat Feb 09, 2008 5:45 am
by KDE
Previous patch output is incorrect. Following output is correct:

patching file kernel/relay.c
Hunk #1 succeeded at 1140 (offset 1 line).
patching file mm/mmap.c
Hunk #57 FAILED at 2707.
1 out of 57 hunks FAILED -- saving rejects to file mm/mmap.c.rej
patching file mm/slab.c
Hunk #1 FAILED at 305.
1 out of 3 hunks FAILED -- saving rejects to file mm/slab.c.rej

Re: hunks failed with 2.6.24.1

PostPosted: Sat Feb 09, 2008 8:04 am
by PaX Team
KDE wrote:I tried to patch 2.6.24.1 with pax-linux-2.6.24-test11.patch.
why aren't you using the PaX patch for 2.6.24.1?

Re: hunks failed with 2.6.24.1

PostPosted: Sat Feb 09, 2008 8:45 am
by KDE
It wasn't available, when I tried to compile it.
I will use it.

Re: hunks failed with 2.6.24.1

PostPosted: Sat Feb 09, 2008 10:49 am
by PaX Team
KDE wrote:It wasn't available, when I tried to compile it.
that i don't know but it was definitely available when you posted here :P.
I will use it.
cheers ;-).