2007-06-06 22:45:46

by Tim Bird

[permalink] [raw]
Subject: Big problems applying patch-2.6.21.3-rt9

Ingo,

I saw lots of problems trying to apply the latest rt-preempt patch.
Maybe some bits got included by mistake in the patch?

Here's what I saw:
$ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2
$ wget http://people.redhat.com/mingo/realtime-preempt/patch-2.6.21.3-rt9
$ tar -xjf linux-2.6.21.3.tar.bz2
$ cd linux-2.6.21.3
$ patch -p1 -f <../patch-2.6.21.3-rt9
... lots of errors, (many "already applied" errors if you don't use '-f')...
$ find . -name "*.rej"
./arch/arm/kernel/traps.c.rej
./arch/arm/mach-iop13xx/pci.c.rej
./arch/arm/plat-iop/time.c.rej
./arch/i386/kernel/cpu/cpufreq/powernow-k7.c.rej
./arch/i386/kernel/cpu/cpufreq/powernow-k8.c.rej
./arch/i386/kernel/cpu/cpufreq/powernow-k8.h.rej
./arch/sparc64/kernel/prom.c.rej
./arch/x86_64/kernel/vsyscall.c.rej
./crypto/api.c.rej
./drivers/ata/libata-sff.c.rej
./drivers/ata/sata_via.c.rej
./drivers/base/core.c.rej
./drivers/char/ipmi/ipmi_si_intf.c.rej
./drivers/crypto/geode-aes.c.rej
./drivers/crypto/geode-aes.h.rej
./drivers/md/raid1.c.rej
./drivers/message/fusion/mptspi.c.rej
./drivers/net/Kconfig.rej
./drivers/net/bnx2.c.rej
./drivers/net/sis900.c.rej
./drivers/net/skge.c.rej
./drivers/net/sky2.c.rej
./drivers/net/smc911x.c.rej
./drivers/net/tg3.c.rej
./drivers/pci/quirks.c.rej
./drivers/usb/atm/cxacru.c.rej
./drivers/usb/input/hiddev.c.rej
./fs/fat/dir.c.rej
./fs/jfs/jfs_logmgr.c.rej
./fs/nfsd/export.c.rej
./fs/reiserfs/xattr.c.rej
./fs/udf/namei.c.rej
./include/asm-arm/arch-iop13xx/iop13xx.h.rej
./include/asm-sparc64/openprom.h.rej
./include/linux/netfilter/nf_conntrack_proto_gre.h.rej
./include/linux/netfilter_ipv4/ip_conntrack_proto_gre.h.rej
./include/linux/clocksource.h.rej
./include/linux/netdevice.h.rej
./kernel/time/clocksource.c.rej
./kernel/time/tick-common.c.rej
./kernel/time/tick-internal.h.rej
./kernel/time/tick-sched.c.rej
./lib/zlib_inflate/inflate.c.rej
./mm/hugetlb.c.rej
./mm/oom_kill.c.rej
./mm/slob.c.rej
./net/ipv4/netfilter/ip_conntrack_core.c.rej
./net/ipv4/netfilter/ip_nat_proto_gre.c.rej
./net/ipv4/netfilter/nf_nat_proto_gre.c.rej
./net/ipv4/tcp.c.rej
./net/ipv6/addrconf.c.rej
./net/ipv6/exthdrs.c.rej
./net/ipv6/ip6_input.c.rej
./net/ipv6/ip6_output.c.rej
./net/ipv6/proc.c.rej
./net/ipv6/xfrm6_tunnel.c.rej
./net/netfilter/nf_conntrack_core.c.rej
./net/sched/sch_prio.c.rej
./net/sctp/socket.c.rej
./net/sunrpc/auth_gss/svcauth_gss.c.rej
./scripts/basic/fixdep.c.rej
./sound/pci/hda/patch_sigmatel.c.rej
./Makefile.rej

I can send you the full output from patch if you want.
Please advise.
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================


2007-06-06 23:00:38

by Thomas Gleixner

[permalink] [raw]
Subject: Re: Big problems applying patch-2.6.21.3-rt9

On Wed, 2007-06-06 at 15:47 -0700, Tim Bird wrote:
> Ingo,
>
> I saw lots of problems trying to apply the latest rt-preempt patch.
> Maybe some bits got included by mistake in the patch?
>
> Here's what I saw:
> $ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2

That should be 2.6.21.tar.bz2

The patch contains the .3 patch already. Unfortunately it used the wrong
numbering scheme :(

Sorry,

tglx


2007-06-06 23:01:59

by Tim Bird

[permalink] [raw]
Subject: Re: Big problems applying patch-2.6.21.3-rt9

Thomas Gleixner wrote:
> On Wed, 2007-06-06 at 15:47 -0700, Tim Bird wrote:
>> Ingo,
>>
>> I saw lots of problems trying to apply the latest rt-preempt patch.
>> Maybe some bits got included by mistake in the patch?
>>
>> Here's what I saw:
>> $ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2
>
> That should be 2.6.21.tar.bz2
>
> The patch contains the .3 patch already. Unfortunately it used the wrong
> numbering scheme :(

I should have thought of that. I noticed older patches were
against 2.6.21.

Thanks!
-- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Corporation of America
=============================

2007-06-06 23:07:41

by Paul Mundt

[permalink] [raw]
Subject: Re: Big problems applying patch-2.6.21.3-rt9

On Wed, Jun 06, 2007 at 03:47:00PM -0700, Tim Bird wrote:
> Ingo,
>
> I saw lots of problems trying to apply the latest rt-preempt patch.
> Maybe some bits got included by mistake in the patch?
>
> Here's what I saw:
> $ wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.21.3.tar.bz2
> $ wget http://people.redhat.com/mingo/realtime-preempt/patch-2.6.21.3-rt9
> $ tar -xjf linux-2.6.21.3.tar.bz2
> $ cd linux-2.6.21.3
> $ patch -p1 -f <../patch-2.6.21.3-rt9
> ... lots of errors, (many "already applied" errors if you don't use '-f')...

Use 2.6.21 proper. -rt9 includes the 2.6.21.3 changes, hence the
application failure. This was brought up a few days ago.