Hello

I'm trying to patch a linux kernel 2.6.8 or 2.15 with the  following command :

sudo scripts/prepare-kernel.sh  --arch=arm
\--adeos=/usr/src/adeos-ipipe-2.6.24-arm-1.9-01.patch
\--linux=/usr/src/linux-2.6.8.1


and  I've got an error for both of them.

So :

Is Xenomai realy working for  ARM ?
The patch is ok with those version of linux (I've got an error with  the
other ARM patches given with xenomai 2.4.3) ?
I'm working with ubuntu  7.10 ; maybe I've got to install other files  ?

another detail : my target is a cirrus logic ep9302 ; I've understood that it 
was possible to put RTAI on it, may I suppose that I can put xenomai too ?

Vincent


________________________________________________________________________________________________

Hunk  #2 FAILED at 196.
Hunk #3 FAILED at 262.
Hunk #4 FAILED at 292.
Hunk #5  FAILED at 323.
4 out of 5 hunks FAILED -- saving rejects to  file
arch/arm/mach-integrator/core.c.rej
patching file  arch/arm/mach-integrator/integrator_cp.c
Hunk #2 FAILED at 20.
Hunk #3  succeeded at 172 (offset -52 lines).
Hunk #4 FAILED at 543.
2 out of 4  hunks FAILED -- saving rejects to  file
arch/arm/mach-integrator/integrator_cp.c.rej
patching file  arch/arm/mach-ixp4xx/common.c
Hunk #1 succeeded at 39 with fuzz 2 (offset -6  lines).
Hunk #2 succeeded at 305 with fuzz 2 (offset -24 lines).
Hunk #3  succeeded at 317 with fuzz 2 (offset -39 lines).
Hunk #4 FAILED at  501.
Hunk #5 FAILED at 530.
2 out of 5 hunks FAILED -- saving rejects to  file
arch/arm/mach-ixp4xx/common.c.rej
patching file  arch/arm/mach-pxa/irq.c
Hunk #1 succeeded at 172 (offset -76  lines).
patching file arch/arm/mach-pxa/leds-idp.c
Hunk #1 succeeded at 14  with fuzz 2 (offset 1 line).
patching file  arch/arm/mach-pxa/leds-lubbock.c
Hunk #1 succeeded at 13 with fuzz 2 (offset  1 line).
patching file arch/arm/mach-pxa/leds-mainstone.c
Hunk #1  succeeded at 12 with fuzz 2 (offset 1 line).
can't find file to patch at  input line 3028
Perhaps you used the wrong -p or --strip option?
The text  leading up to this was:
--------------------------
|diff --git  a/arch/arm/mach-pxa/leds-trizeps4.c
b/arch/arm/mach-pxa/leds-trizeps4.c
|index  2271d20..614f391 100644
|--- a/arch/arm/mach-pxa/leds-trizeps4.c
|+++  b/arch/arm/mach-pxa/leds-trizeps4.c
--------------------------
No file to  patch.  Skipping patch.
1 out of 1 hunk ignored
patching file  arch/arm/mach-pxa/time.c
Hunk #1 FAILED at 25.
Hunk #2 FAILED at  119.
Hunk #3 FAILED at 156.
Hunk #4 FAILED at 199.
Hunk #5 FAILED at  236.
Hunk #6 FAILED at 292.
Hunk #7 FAILED at 332.
Hunk #8 FAILED at  344.
8 out of 8 hunks FAILED -- saving rejects to  file
arch/arm/mach-pxa/time.c.rej
can't find file to patch at input line  3255
Perhaps you used the wrong -p or --strip option?
The text leading up  to this was:
--------------------------
|diff --git  a/arch/arm/mach-s3c2440/irq.c b/arch/arm/mach-s3c2440/irq.c
|index  a87608b..3fa7ceb 100644
|--- a/arch/arm/mach-s3c2440/irq.c
|+++  b/arch/arm/mach-s3c2440/irq.c
--------------------------
No file to  patch.  Skipping patch.
3 out of 3 hunks ignored
patching file  arch/arm/mach-sa1100/irq.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -1  lines).
patching file arch/arm/mach-sa1100/leds-assabet.c
Hunk #1  succeeded at 11 with fuzz 2 (offset 1 line).
patching file  arch/arm/mach-sa1100/leds-badge4.c
Hunk #1 succeeded at 12 with fuzz 2  (offset 1 line).
patching file arch/arm/mach-sa1100/leds-cerf.c
Hunk #1  succeeded at 5 with fuzz 2 (offset 1 line).
patching file  arch/arm/mach-sa1100/leds-hackkit.c
Hunk #1 succeeded at 11 with fuzz 2  (offset 1 line).
patching file arch/arm/mach-sa1100/leds-lart.c
Hunk #1  succeeded at 11 with fuzz 2 (offset 1 line).
patching file  arch/arm/mach-sa1100/leds-simpad.c
Hunk #1 succeeded at 5 with fuzz 2 (offset  1 line).
patching file arch/arm/mach-sa1100/time.c
Hunk #1 succeeded at 13  with fuzz 1 (offset -1 lines).
Hunk #2 succeeded at 40 with fuzz 2 (offset 18  lines).
Hunk #3 succeeded at 111 (offset 18 lines).
Hunk #4 FAILED at  157.
Hunk #5 FAILED at 200.
Hunk #6 FAILED at 293.
3 out of 6 hunks  FAILED -- saving rejects to file
arch/arm/mach-sa1100/time.c.rej
patching  file arch/arm/mm/alignment.c
Hunk #1 succeeded at 457 with fuzz 2 (offset  -169 lines).
can't find file to patch at input line 3643
Perhaps you used  the wrong -p or --strip option?
The text leading up to this  was:
--------------------------
|diff --git a/arch/arm/mm/copypage-v4mc.c  b/arch/arm/mm/copypage-v4mc.c
|index ded0e96..bb79f37 100644
|---  a/arch/arm/mm/copypage-v4mc.c
|+++  b/arch/arm/mm/copypage-v4mc.c
--------------------------
No file to  patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch  at input line 3665
Perhaps you used the wrong -p or --strip option?
The  text leading up to this was:
--------------------------
|diff --git  a/arch/arm/mm/copypage-xscale.c b/arch/arm/mm/copypage-xscale.c
|index  2e455f8..accf6ed 100644
|--- a/arch/arm/mm/copypage-xscale.c
|+++  b/arch/arm/mm/copypage-xscale.c
--------------------------
No file to  patch.  Skipping patch.
2 out of 2 hunks ignored
patching file  arch/arm/mm/fault.c
Hunk #1 succeeded at 221 with fuzz 2 (offset -1  lines).
Hunk #2 succeeded at 329 (offset 4 lines).
Hunk #3 FAILED at  367.
Hunk #4 succeeded at 384 (offset 7 lines).
Hunk #5 succeeded at 460  with fuzz 1 (offset 5 lines).
Hunk #6 succeeded at 476 (offset 2 lines).
1  out of 6 hunks FAILED -- saving rejects to file arch/arm/mm/fault.c.rej
can't  find file to patch at input line 3785
Perhaps you used the wrong -p or  --strip option?
The text leading up to this  was:
--------------------------
|diff --git a/arch/arm/mm/pgd.c  b/arch/arm/mm/pgd.c
|index 50b9aed..1a90ca7 100644
|---  a/arch/arm/mm/pgd.c
|+++  b/arch/arm/mm/pgd.c
--------------------------
No file to patch.  Skipping  patch.
5 out of 5 hunks ignored
can't find file to patch at input line  3868
Perhaps you used the wrong -p or --strip option?
The text leading up  to this was:
--------------------------
|diff --git  a/arch/arm/plat-s3c24xx/irq.c b/arch/arm/plat-s3c24xx/irq.c
|index  8fbc884..adcd837 100644
|--- a/arch/arm/plat-s3c24xx/irq.c
|+++  b/arch/arm/plat-s3c24xx/irq.c
--------------------------
No file to  patch.  Skipping patch.
4 out of 4 hunks ignored
can't find file to patch  at input line 4023
Perhaps you used the wrong -p or --strip option?
The  text leading up to this was:
--------------------------
|diff --git  a/arch/arm/plat-s3c24xx/s3c244x-irq.c
b/arch/arm/plat-s3c24xx/s3c244x-irq.c
|index  2dbb260..e4ae071 100644
|--- a/arch/arm/plat-s3c24xx/s3c244x-irq.c
|+++  b/arch/arm/plat-s3c24xx/s3c244x-irq.c
--------------------------
No file  to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to  patch at input line 4058
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git a/arch/arm/plat-s3c24xx/time.c  b/arch/arm/plat-s3c24xx/time.c
|index 2ec1daa..4f6a358 100644
|---  a/arch/arm/plat-s3c24xx/time.c
|+++  b/arch/arm/plat-s3c24xx/time.c
--------------------------
No file to  patch.  Skipping patch.
13 out of 13 hunks ignored
can't find file to  patch at input line 4386
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git a/drivers/pci/htirq.c  b/drivers/pci/htirq.c
|index 279c940..daabf90 100644
|---  a/drivers/pci/htirq.c
|+++  b/drivers/pci/htirq.c
--------------------------
No file to patch.   Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input  line 4399
Perhaps you used the wrong -p or --strip option?
The text  leading up to this was:
--------------------------
|diff --git  a/include/asm-arm/arch-at91/hardware.h
b/include/asm-arm/arch-at91/hardware.h
|index  8f1cdd3..2c1be7b 100644
|--- a/include/asm-arm/arch-at91/hardware.h
|+++  b/include/asm-arm/arch-at91/hardware.h
--------------------------
No file  to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to  patch at input line 4429
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git  a/include/asm-arm/arch-at91/irqs.h
b/include/asm-arm/arch-at91/irqs.h
|index  70b1216..8ecf341 100644
|--- a/include/asm-arm/arch-at91/irqs.h
|+++  b/include/asm-arm/arch-at91/irqs.h
--------------------------
No file to  patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch  at input line 4469
Perhaps you used the wrong -p or --strip option?
The  text leading up to this was:
--------------------------
|diff --git  a/include/asm-arm/arch-at91/timex.h
b/include/asm-arm/arch-at91/timex.h
|index  a310698..cb674fe 100644
|--- a/include/asm-arm/arch-at91/timex.h
|+++  b/include/asm-arm/arch-at91/timex.h
--------------------------
No file to  patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to patch  at input line 4496
Perhaps you used the wrong -p or --strip option?
The  text leading up to this was:
--------------------------
|diff --git  a/include/asm-arm/arch-imx/imx-regs.h
b/include/asm-arm/arch-imx/imx-regs.h
|index  fb9de27..724694c 100644
|--- a/include/asm-arm/arch-imx/imx-regs.h
|+++  b/include/asm-arm/arch-imx/imx-regs.h
--------------------------
No file  to patch.  Skipping patch.
2 out of 2 hunks ignored
can't find file to  patch at input line 4526
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git  a/include/asm-arm/arch-imx/irqs.h
b/include/asm-arm/arch-imx/irqs.h
|index  f195542..799ae66 100644
|--- a/include/asm-arm/arch-imx/irqs.h
|+++  b/include/asm-arm/arch-imx/irqs.h
--------------------------
No file to  patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch  at input line 4548
Perhaps you used the wrong -p or --strip option?
The  text leading up to this was:
--------------------------
|diff --git  a/include/asm-arm/arch-integrator/entry-macro.S
b/include/asm-arm/arch-integrator/entry-macro.S
|index  491af1a..495262b 100644
|---  a/include/asm-arm/arch-integrator/entry-macro.S
|+++  b/include/asm-arm/arch-integrator/entry-macro.S
--------------------------
No  file to patch.  Skipping patch.
1 out of 1 hunk ignored
patching file  include/asm-arm/arch-integrator/irqs.h
patching file  include/asm-arm/arch-integrator/platform.h
Hunk #1 FAILED at 26.
Hunk #2  FAILED at 436.
Hunk #3 succeeded at 445 with fuzz 2 (offset -4 lines).
2  out of 3 hunks FAILED -- saving rejects to  file
include/asm-arm/arch-integrator/platform.h.rej
patching file  include/asm-arm/arch-integrator/timex.h
patching file  include/asm-arm/arch-ixp4xx/irqs.h
Hunk #1 succeeded at 52 (offset -18  lines).
patching file include/asm-arm/arch-pxa/irqs.h
Hunk #1 succeeded at  110 with fuzz 2 (offset 28 lines).
patching file  include/asm-arm/arch-s3c2410/irqs.h
Hunk #1 succeeded at 3 with fuzz  1.
Hunk #2 succeeded at 114 with fuzz 2 (offset -48 lines).
patching file  include/asm-arm/arch-sa1100/irqs.h
Hunk #1 succeeded at 145 (offset 1  line).
patching file include/asm-arm/atomic.h
Hunk #1 FAILED at  129.
Hunk #2 FAILED at 142.
Hunk #3 FAILED at 155.
Hunk #4 FAILED at  168.
4 out of 4 hunks FAILED -- saving rejects to  file
include/asm-arm/atomic.h.rej
patching file  include/asm-arm/bitops.h
Hunk #1 FAILED at 41.
Hunk #2 FAILED at  53.
Hunk #3 FAILED at 65.
Hunk #4 FAILED at 79.
Hunk #5 FAILED at  96.
Hunk #6 FAILED at 113.
6 out of 6 hunks FAILED -- saving rejects to  file
include/asm-arm/bitops.h.rej
patching file  include/asm-arm/ipipe.h
patching file include/asm-arm/ipipe_base.h
can't  find file to patch at input line 5165
Perhaps you used the wrong -p or  --strip option?
The text leading up to this  was:
--------------------------
|diff --git a/include/asm-arm/irqflags.h  b/include/asm-arm/irqflags.h
|index 6d09974..0aa4056 100644
|---  a/include/asm-arm/irqflags.h
|+++  b/include/asm-arm/irqflags.h
--------------------------
No file to patch.   Skipping patch.
7 out of 7 hunks ignored
patching file  include/asm-arm/mmu_context.h
Hunk #1 FAILED at 95.
1 out of 1 hunk FAILED  -- saving rejects to file
include/asm-arm/mmu_context.h.rej
patching file  include/asm-arm/system.h
Hunk #1 FAILED at 264.
Hunk #2 FAILED at  326.
2 out of 2 hunks FAILED -- saving rejects to  file
include/asm-arm/system.h.rej
patching file  include/asm-arm/thread_info.h
Hunk #1 FAILED at 146.
Hunk #2 FAILED at  156.
2 out of 2 hunks FAILED -- saving rejects to  file
include/asm-arm/thread_info.h.rej
can't find file to patch at input  line 5470
Perhaps you used the wrong -p or --strip option?
The text  leading up to this was:
--------------------------
|diff --git  a/include/linux/hardirq.h b/include/linux/hardirq.h
|index 8d30229..74b355d  100644
|--- a/include/linux/hardirq.h
|+++  b/include/linux/hardirq.h
--------------------------
No file to patch.   Skipping patch.
1 out of 1 hunk ignored
patching file  include/linux/ipipe.h
patching file include/linux/ipipe_base.h
patching  file include/linux/ipipe_compat.h
patching file  include/linux/ipipe_percpu.h
patching file  include/linux/ipipe_tickdev.h
patching file  include/linux/ipipe_trace.h
patching file include/linux/irq.h
Hunk #1  FAILED at 150.
Hunk #2 FAILED at 375.
2 out of 2 hunks FAILED -- saving  rejects to file include/linux/irq.h.rej
patching file  include/linux/kernel.h
Hunk #1 FAILED at 14.
Hunk #2 FAILED at 107.
2  out of 2 hunks FAILED -- saving rejects to file  include/linux/kernel.h.rej
patching file include/linux/linkage.h
Hunk #1  succeeded at 40 (offset -30 lines).
patching file include/linux/mm.h
Hunk  #1 FAILED at 104.
1 out of 1 hunk FAILED -- saving rejects to file  include/linux/mm.h.rej
patching file include/linux/preempt.h
Hunk #1  FAILED at 9.
1 out of 1 hunk FAILED -- saving rejects to file  include/linux/preempt.h.rej
patching file include/linux/sched.h
Hunk #1  FAILED at 58.
Hunk #2 FAILED at 178.
Hunk #3 FAILED at 1174.
Hunk #4  FAILED at 1394.
4 out of 4 hunks FAILED -- saving rejects to file  include/linux/sched.h.rej
patching file include/linux/spinlock.h
Hunk #1  FAILED at 89.
Hunk #2 FAILED at 104.
Hunk #3 FAILED at 187.
Hunk #4  FAILED at 279.
Hunk #5 FAILED at 293.
Hunk #6 FAILED at 301.
Hunk #7  FAILED at 315.
Hunk #8 FAILED at 356.
Hunk #9 succeeded at 569 with fuzz 2  (offset 121 lines).
8 out of 9 hunks FAILED -- saving rejects to  file
include/linux/spinlock.h.rej
can't find file to patch at input line  6858
Perhaps you used the wrong -p or --strip option?
The text leading up  to this was:
--------------------------
|diff --git  a/include/linux/spinlock_types.h b/include/linux/spinlock_types.h
|index  f6a3a95..4ca73f5 100644
|--- a/include/linux/spinlock_types.h
|+++  b/include/linux/spinlock_types.h
--------------------------
No file to  patch.  Skipping patch.
2 out of 2 hunks ignored
patching file  init/Kconfig
Hunk #1 FAILED at 64.
1 out of 1 hunk FAILED -- saving  rejects to file init/Kconfig.rej
patching file init/main.c
Hunk #1 FAILED  at 519.
Hunk #2 FAILED at 572.
Hunk #3 FAILED at 738.
3 out of 3 hunks  FAILED -- saving rejects to file init/main.c.rej
patching file  kernel/Makefile
Hunk #1 FAILED at 53.
1 out of 1 hunk FAILED -- saving  rejects to file kernel/Makefile.rej
patching file kernel/exit.c
Hunk #1  FAILED at 994.
1 out of 1 hunk FAILED -- saving rejects to file  kernel/exit.c.rej
patching file kernel/fork.c
Hunk #1 FAILED at  403.
Hunk #2 succeeded at 843 (offset -96 lines).
Hunk #3 FAILED at  1217.
2 out of 3 hunks FAILED -- saving rejects to file  kernel/fork.c.rej
patching file kernel/ipipe/Kconfig
patching file  kernel/ipipe/Kconfig.debug
patching file kernel/ipipe/Makefile
patching  file kernel/ipipe/core.c
patching file kernel/ipipe/tracer.c
can't find  file to patch at input line 10109
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git a/kernel/irq/chip.c  b/kernel/irq/chip.c
|index 44019ce..933c8b3 100644
|---  a/kernel/irq/chip.c
|+++  b/kernel/irq/chip.c
--------------------------
No file to patch.  Skipping  patch.
8 out of 8 hunks ignored
patching file kernel/power/disk.c
Hunk  #1 FAILED at 154.
Hunk #2 FAILED at 181.
2 out of 2 hunks FAILED -- saving  rejects to file kernel/power/disk.c.rej
patching file  kernel/power/swsusp.c
Hunk #1 FAILED at 275.
Hunk #2 FAILED at 302.
2  out of 2 hunks FAILED -- saving rejects to file  kernel/power/swsusp.c.rej
patching file kernel/printk.c
Hunk #1 succeeded  at 600 with fuzz 2 (offset 10 lines).
Hunk #2 FAILED at 660.
Hunk #3  succeeded at 778 with fuzz 2 (offset 78 lines).
1 out of 3 hunks FAILED --  saving rejects to file kernel/printk.c.rej
patching file  kernel/sched.c
Hunk #1 succeeded at 741 with fuzz 1 (offset -777  lines).
Hunk #2 FAILED at 1143.
Hunk #3 FAILED at 1192.
Hunk #4  succeeded at 1409 with fuzz 2 (offset -2101 lines).
Hunk #5 FAILED at  1426.
Hunk #6 FAILED at 1538.
Hunk #7 FAILED at 1580.
Hunk #8 FAILED at  1609.
Hunk #9 FAILED at 2262.
Hunk #10 FAILED at 5318.
8 out of 10  hunks FAILED -- saving rejects to file kernel/sched.c.rej
patching file  kernel/signal.c
Hunk #1 succeeded at 556 with fuzz 1 (offset 102  lines).
can't find file to patch at input line 10667
Perhaps you used the  wrong -p or --strip option?
The text leading up to this  was:
--------------------------
|diff --git a/kernel/spinlock.c  b/kernel/spinlock.c
|index cd72424..3e74c9b 100644
|---  a/kernel/spinlock.c
|+++  b/kernel/spinlock.c
--------------------------
No file to patch.  Skipping  patch.
2 out of 2 hunks ignored
can't find file to patch at input line  10689
Perhaps you used the wrong -p or --strip option?
The text leading up  to this was:
--------------------------
|diff --git a/lib/Kconfig.debug  b/lib/Kconfig.debug
|index a601093..6372a6f 100644
|---  a/lib/Kconfig.debug
|+++  b/lib/Kconfig.debug
--------------------------
No file to patch.  Skipping  patch.
1 out of 1 hunk ignored
patching file lib/bust_spinlocks.c
Hunk  #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file  lib/bust_spinlocks.c.rej
can't find file to patch at input line  10726
Perhaps you used the wrong -p or --strip option?
The text leading up  to this was:
--------------------------
|diff --git a/lib/ioremap.c  b/lib/ioremap.c
|index 14c6078..a275469 100644
|---  a/lib/ioremap.c
|+++ b/lib/ioremap.c
--------------------------
No file  to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to  patch at input line 10741
Perhaps you used the wrong -p or --strip  option?
The text leading up to this  was:
--------------------------
|diff --git a/lib/smp_processor_id.c  b/lib/smp_processor_id.c
|index eddc9b3..66302ec 100644
|---  a/lib/smp_processor_id.c
|+++  b/lib/smp_processor_id.c
--------------------------
No file to patch.   Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input  line 10760
Perhaps you used the wrong -p or --strip option?
The text  leading up to this was:
--------------------------
|diff --git  a/lib/spinlock_debug.c b/lib/spinlock_debug.c
|index 9c4b025..08f096b  100644
|--- a/lib/spinlock_debug.c
|+++  b/lib/spinlock_debug.c
--------------------------
No file to patch.   Skipping patch.
6 out of 6 hunks ignored
patching file mm/memory.c
Hunk  #1 FAILED at 50.
Hunk #2 succeeded at 609 with fuzz 2 (offset 193  lines).
Hunk #3 FAILED at 645.
Hunk #4 FAILED at 685.
Hunk #5 FAILED at  730.
Hunk #6 FAILED at 772.
Hunk #7 FAILED at 1760.
Hunk #8 FAILED at  2992.
7 out of 8 hunks FAILED -- saving rejects to file  mm/memory.c.rej
patching file mm/mlock.c
Hunk #1 FAILED at 173.
1 out  of 1 hunk FAILED -- saving rejects to file mm/mlock.c.rej
patching file  mm/vmalloc.c
Hunk #1 FAILED at 161.
1 out of 1 hunk FAILED -- saving  rejects to file mm/vmalloc.c.rej
prepare-kernel.sh: Unable to patch kernel  2.6.8.1 with
adeos-ipipe-2.6.24-arm-1.9-01.patch.
[EMAIL PROTECTED]:/usr/src/xenomai-2.4.3$






 Créez votre adresse électronique [EMAIL PROTECTED] 
 1 Go d'espace de stockage, anti-spam et anti-virus intégrés.
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to