I've tried to adjust kernel.spec from
kernel-2.6.37-0.1.rc0.git13.xendom0.fc15.src.rpm
to rcrevision = 1, gitrevision =5
.....
# The rc snapshot level
%define rcrev 1
# The git snapshot level
%define gitrev 5
.....
Files patch-2.6.37-rc1.bz2, patch-2.6.37-rc1-git5.bz2 have been copied to SOURCES
I get an error when attempt to build :-
# rpmbuild -bb ./kernel.spec
.......
Patch161: linux-2.6-i386-nx-emulation.patch
+ case "$patch" in
+ patch -p1 -F1 -s
+ ApplyPatch linux-2.6-32bit-mmap-exec-randomization.patch
+ local patch=linux-2.6-32bit-mmap-exec-randomization.patch
+ shift
+ '[' '!' -f
/root/rpmbuild/SOURCES/linux-2.6-32bit-mmap-exec-randomization.patch ']'
Patch160: linux-2.6-32bit-mmap-exec-randomization.patch
+ case "$patch" in
+ patch -p1 -F1 -s
1 out of 5 hunks FAILED -- saving rejects to file mm/mmap.c.rej
error: Bad exit status from /var/tmp/rpm-tmp.FmT4Fy (%prep)
Boris.
P.S. I've also tried to adjust kernel.spec from
kernel-2.6.37-0.1.rc1.git0.xendom0.fc15.src.rpm
with results even worse then above:-
Patch32: linux-2.6-utrace-ptrace.patch failed to apply.
--- On Sat, 11/6/10, M A Young <m.a.young(a)durham.ac.uk> wrote:
From: M A Young <m.a.young(a)durham.ac.uk>
Subject: Re: [Fedora-xen] 2.6.37-rc1 dom0 kernel
To: "Boris Derzhavets" <bderzhavets(a)yahoo.com>
Cc: xen(a)lists.fedoraproject.org, "xen-users"
<xen-users(a)lists.xensource.com>
Date: Saturday, November 6, 2010, 9:29 AM
On Sat, 6 Nov 2010, Boris Derzhavets wrote:
...
[ 42.140012] Call Trace:
[ 42.140012] [<ffffffff810807a8>] ? print_irqtrace_events+0xa0/0xa4
[ 42.140012] [<ffffffff81043256>] __might_sleep+0x103/0x108
[ 42.140012] [<ffffffff814b0512>] mutex_lock_nested+0x25/0x43
[ 42.140012] [<ffffffff8125ae02>] percpu_counter_destroy+0x3c/0x66
[ 42.140012] [<ffffffff8125ae42>] percpu_counter_fixup_free+0x16/0x32
[ 42.140012] [<ffffffff8125723b>] debug_object_fixup+0x1e/0x2b
[ 42.140012] [<ffffffff81257c54>] debug_check_no_obj_freed+0xce/0x18a
...
This is probably a result of a percpu_counter bug in an IPv6 patch. As a temporary measure
you can disable IPv6 (if you don't need it), eg. as suggested at
http://fedorasolved.org/network-solutions/disable-ipv6
It was patched after rc1
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6-stable.git;a=c...
so should be fixed when I next do a build of 2.6.37 .
Michael Young