Xenomai 2.6.0 installation Error
Hi,
I am trying to installed Xenomai 2.6.0 into my desktop with my existing Linux Ubuntu(10.04 LTS) kernel 2.6.32-generic,for development of real time data network.
Below Error occurs during installing of Xenomai 2.6.0:
root@new-desktop:~/xenomai-2.6.0# ./scripts/prepare-kernel.sh --linux=/home/new/ilesh/kernel_2_6_32/linux-2.6.32 --verbose Target architecture [default i686]: prepare-kernel.sh: no default Adeos patch found. Adeos patch [default /dev/null]: /root/xenomai-2.6.0/ksrc/arch/x86/patches/adeos-ipipe-2.6.37.6-x86-2.9-02.patch patching file arch/x86/Kconfig Hunk #1 succeeded at 18 (offset 3 lines). Hunk #2 succeeded at 133 (offset -21 lines). Hunk #4 succeeded at 533 (offset 19 lines). Hunk #5 succeeded at 753 (offset -3 lines). patching file arch/x86/include/asm/apic.h Hunk #1 succeeded at 404 with fuzz 2 (offset -9 lines). patching file arch/x86/include/asm/apicdef.h Hunk #1 succeeded at 143 (offset -7 lines). Hunk #2 succeeded at 419 (offset -7 lines). patching file arch/x86/include/asm/entry_arch.h Hunk #1 FAILED at 16. 1 out of 1 hunk FAILED -- saving rejects to file arch/x86/include/asm/entry_arch.h.rej patching file arch/x86/include/asm/hw_irq.h Hunk #2 succeeded at 110 with fuzz 2 (offset -21 lines). Hunk #3 succeeded at 123 (offset -21 lines). patching file arch/x86/include/asm/i387.h Hunk #1 succeeded at 289 (offset 3 lines). patching file arch/x86/include/asm/i8259.h Hunk #1 FAILED at 24. 1 out of 1 hunk FAILED -- saving rejects to file arch/x86/include/asm/i8259.h.rej patching file arch/x86/include/asm/ipi.h patching file arch/x86/include/asm/ipipe.h patching file arch/x86/include/asm/ipipe_32.h patching file arch/x86/include/asm/ipipe_64.h patching file arch/x86/include/asm/ipipe_base.h patching file arch/x86/include/asm/irq_vectors.h Hunk #1 succeeded at 91 (offset -5 lines). Hunk #2 succeeded at 122 with fuzz 2 (offset -5 lines). patching file arch/x86/include/asm/irqflags.h Hunk #3 FAILED at 75. Hunk #4 succeeded at 123 with fuzz 2. Hunk #6 succeeded at 170 (offset 2 lines). Hunk #7 succeeded at 234 with fuzz 1 (offset 8 lines). Hunk #8 succeeded at 326 (offset 8 lines). Hunk #9 succeeded at 338 (offset 8 lines). 1 out of 9 hunks FAILED -- saving rejects to file arch/x86/include/asm/irqflags.h.rej patching file arch/x86/include/asm/mmu_context.h Hunk #1 succeeded at 30 with fuzz 2. Hunk #2 succeeded at 73 (offset -1 lines). patching file arch/x86/include/asm/nmi.h Hunk #1 succeeded at 29 (offset -1 lines). patching file arch/x86/include/asm/processor.h Hunk #1 succeeded at 435 (offset -5 lines). patching file arch/x86/include/asm/system.h Hunk #1 FAILED at 127. Hunk #2 succeeded at 145 (offset 1 line). Hunk #3 succeeded at 310 (offset -2 lines). 1 out of 3 hunks FAILED -- saving rejects to file arch/x86/include/asm/system.h.rej patching file arch/x86/include/asm/traps.h Hunk #1 succeeded at 82 with fuzz 1. patching file arch/x86/include/asm/tsc.h patching file arch/x86/kernel/Makefile Hunk #1 succeeded at 62 (offset -1 lines). patching file arch/x86/kernel/apic/apic.c Hunk #1 succeeded at 446 (offset -29 lines). Hunk #2 succeeded at 466 (offset -29 lines). Hunk #3 succeeded at 982 (offset -29 lines). Hunk #4 succeeded at 992 (offset -29 lines). Hunk #5 succeeded at 1166 (offset -29 lines). Hunk #6 FAILED at 1243. Hunk #7 succeeded at 1741 (offset -55 lines). Hunk #8 succeeded at 2022 (offset -43 lines). Hunk #9 succeeded at 2043 (offset -43 lines). Hunk #10 succeeded at 2109 (offset -43 lines). 1 out of 10 hunks FAILED -- saving rejects to file arch/x86/kernel/apic/apic.c.rej patching file arch/x86/kernel/apic/apic_flat_64.c patching file arch/x86/kernel/apic/io_apic.c Hunk #1 FAILED at 74. Hunk #2 succeeded at 417 (offset 108 lines). Hunk #3 succeeded at 442 (offset 108 lines). Hunk #4 FAILED at 607. Hunk #5 FAILED at 632. Hunk #6 FAILED at 1313. Hunk #7 FAILED at 2244. Hunk #8 FAILED at 2498. Hunk #9 FAILED at 2528. Hunk #10 FAILED at 2691. Hunk #11 FAILED at 2736. Hunk #12 FAILED at 2753. Hunk #13 FAILED at 2800. Hunk #14 FAILED at 2830. Hunk #15 FAILED at 3018. Hunk #16 FAILED at 3079. Hunk #17 FAILED at 3467. Hunk #18 FAILED at 3482. Hunk #19 FAILED at 3786. Hunk #20 succeeded at 4137 (offset 155 lines). 17 out of 20 hunks FAILED -- saving rejects to file arch/x86/kernel/apic/io_apic.c.rej patching file arch/x86/kernel/apic/ipi.c patching file arch/x86/kernel/apic/nmi.c Hunk #1 succeeded at 59 (offset -2 lines). Hunk #2 succeeded at 391 (offset -2 lines). patching file arch/x86/kernel/apic/x2apic_cluster.c patching file arch/x86/kernel/apic/x2apic_phys.c patching file arch/x86/kernel/cpu/mtrr/cyrix.c Hunk #7 succeeded at 270 with fuzz 1. patching file arch/x86/kernel/cpu/mtrr/generic.c Hunk #1 succeeded at 635 (offset -82 lines). Hunk #2 succeeded at 645 (offset -82 lines). Hunk #3 succeeded at 669 (offset -82 lines). Hunk #4 succeeded at 695 (offset -82 lines). patching file arch/x86/kernel/dumpstack.c Hunk #1 succeeded at 327 (offset -22 lines). patching file arch/x86/kernel/dumpstack_32.c Hunk #1 succeeded at 108 (offset 7 lines). patching file arch/x86/kernel/dumpstack_64.c Hunk #1 succeeded at 254 with fuzz 2 (offset -39 lines). patching file arch/x86/kernel/entry_32.S Hunk #2 succeeded at 80 (offset -1 lines). Hunk #3 succeeded at 371 with fuzz 2 (offset 22 lines). Hunk #4 succeeded at 399 (offset 22 lines). Hunk #5 succeeded at 432 (offset 22 lines). Hunk #6 succeeded at 494 (offset 24 lines). Hunk #7 succeeded at 503 (offset 24 lines). Hunk #8 succeeded at 576 with fuzz 1 (offset 22 lines). Hunk #9 succeeded at 616 (offset 23 lines). Hunk #10 succeeded at 684 (offset 25 lines). Hunk #11 succeeded at 700 (offset 25 lines). Hunk #12 succeeded at 858 (offset -20 lines). Hunk #13 FAILED at 934. Hunk #14 FAILED at 952. Hunk #15 FAILED at 963. Hunk #16 FAILED at 976. Hunk #17 FAILED at 999. Hunk #18 FAILED at 1007. Hunk #19 FAILED at 1015. Hunk #20 FAILED at 1023. Hunk #21 FAILED at 1059. Hunk #22 FAILED at 1068. Hunk #23 FAILED at 1077. Hunk #24 FAILED at 1307. Hunk #25 succeeded at 1362 (offset -2 lines). Hunk #26 succeeded at 1410 with fuzz 1 (offset 2 lines). Hunk #27 succeeded at 1511 with fuzz 1 (offset 12 lines). Hunk #28 FAILED at 1521. 13 out of 28 hunks FAILED -- saving rejects to file arch/x86/kernel/entry_32.S.rej patching file arch/x86/kernel/entry_64.S Hunk #3 succeeded at 344 (offset 5 lines). Hunk #4 FAILED at 412. Hunk #5 succeeded at 489 (offset 6 lines). Hunk #6 succeeded at 529 (offset 6 lines). Hunk #7 succeeded at 541 (offset 6 lines). Hunk #8 succeeded at 554 with fuzz 1 (offset 8 lines). Hunk #9 succeeded at 836 with fuzz 1 (offset 14 lines). Hunk #10 succeeded at 867 (offset 10 lines). Hunk #11 succeeded at 893 with fuzz 1 (offset 9 lines). Hunk #12 succeeded at 913 (offset 9 lines). Hunk #13 succeeded at 1008 (offset 11 lines). Hunk #14 FAILED at 1034. Hunk #15 FAILED at 1072. Hunk #16 succeeded at 1123 (offset 20 lines). Hunk #17 succeeded at 1134 (offset 20 lines). Hunk #18 FAILED at 1163. Hunk #19 FAILED at 1198. Hunk #20 succeeded at 1231 (offset 20 lines). Hunk #21 succeeded at 1263 (offset 20 lines). Hunk #22 FAILED at 1380. Hunk #23 succeeded at 1546 (offset 62 lines). Hunk #24 succeeded at 1578 with fuzz 1 (offset 62 lines). Hunk #25 succeeded at 1655 with fuzz 2 (offset 62 lines). 6 out of 25 hunks FAILED -- saving rejects to file arch/x86/kernel/entry_64.S.rej patching file arch/x86/kernel/i8253.c Hunk #2 FAILED at 131. 1 out of 2 hunks FAILED -- saving rejects to file arch/x86/kernel/i8253.c.rej patching file arch/x86/kernel/i8259.c Hunk #1 FAILED at 32. Hunk #2 FAILED at 60. Hunk #3 FAILED at 76. Hunk #4 succeeded at 172 (offset -2 lines). 3 out of 4 hunks FAILED -- saving rejects to file arch/x86/kernel/i8259.c.rej patching file arch/x86/kernel/ipipe.c patching file arch/x86/kernel/irq.c patching file arch/x86/kernel/irqinit.c Hunk #1 succeeded at 159 (offset -8 lines). Hunk #2 succeeded at 180 (offset -8 lines). Hunk #3 succeeded at 218 with fuzz 1 (offset -8 lines). patching file arch/x86/kernel/process.c Hunk #1 FAILED at 42. Hunk #2 succeeded at 69 (offset -2 lines). Hunk #3 succeeded at 333 (offset -88 lines). Hunk #4 succeeded at 542 with fuzz 1 (offset -72 lines). Hunk #5 succeeded at 556 (offset -72 lines). 1 out of 5 hunks FAILED -- saving rejects to file arch/x86/kernel/process.c.rej patching file arch/x86/kernel/process_32.c Hunk #1 succeeded at 305 (offset 49 lines). Hunk #2 succeeded at 347 (offset 49 lines). patching file arch/x86/kernel/process_64.c Hunk #1 succeeded at 60 with fuzz 2 (offset 2 lines). Hunk #2 succeeded at 294 (offset 15 lines). Hunk #3 succeeded at 361 with fuzz 2 (offset 15 lines). Hunk #4 succeeded at 385 (offset 1 line). patching file arch/x86/kernel/ptrace.c Hunk #1 FAILED at 19. Hunk #2 FAILED at 1397. 2 out of 2 hunks FAILED -- saving rejects to file arch/x86/kernel/ptrace.c.rej patching file arch/x86/kernel/smp.c Hunk #1 succeeded at 184 (offset -4 lines). patching file arch/x86/kernel/smpboot.c Hunk #1 succeeded at 266 (offset -26 lines). Hunk #2 succeeded at 837 (offset -60 lines). Hunk #3 succeeded at 889 (offset -47 lines). patching file arch/x86/kernel/time.c Hunk #2 FAILED at 72. 1 out of 2 hunks FAILED -- saving rejects to file arch/x86/kernel/time.c.rej patching file arch/x86/kernel/traps.c Hunk #1 succeeded at 805 (offset 72 lines). Hunk #2 succeeded at 828 (offset 72 lines). Hunk #3 succeeded at 845 (offset 72 lines). patching file arch/x86/kernel/tsc.c Hunk #1 succeeded at 405 (offset -4 lines). Hunk #2 succeeded at 450 (offset -4 lines). Hunk #3 succeeded at 699 (offset -42 lines). Hunk #4 succeeded at 745 (offset -42 lines). patching file arch/x86/kernel/vm86_32.c Hunk #2 succeeded at 326 (offset 1 line). patching file arch/x86/kernel/vsyscall_64.c Hunk #2 succeeded at 90 with fuzz 1 (offset -1 lines). patching file arch/x86/lib/mmx_32.c patching file arch/x86/lib/thunk_64.S patching file arch/x86/mm/fault.c Hunk #1 FAILED at 352. Hunk #2 succeeded at 373 (offset 3 lines). Hunk #3 succeeded at 420 (offset 3 lines). Hunk #4 succeeded at 963 (offset -15 lines). Hunk #5 succeeded at 1145 (offset -27 lines). 1 out of 5 hunks FAILED -- saving rejects to file arch/x86/mm/fault.c.rej patching file arch/x86/mm/tlb.c Hunk #1 succeeded at 57 (offset -4 lines). Hunk #2 succeeded at 196 (offset -4 lines). can't find file to patch at input line 4551 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/arch/x86/platform/uv/tlb_uv.c b/arch/x86/platform/uv/tlb_uv.c |index df58e9c..2999465 100644 |--- a/arch/x86/platform/uv/tlb_uv.c |+++ b/arch/x86/platform/uv/tlb_uv.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file drivers/pci/htirq.c Hunk #1 succeeded at 21 (offset 1 line). patching file fs/exec.c Hunk #1 succeeded at 699 (offset -72 lines). Hunk #2 FAILED at 723. 1 out of 2 hunks FAILED -- saving rejects to file fs/exec.c.rej patching file fs/proc/array.c Hunk #1 FAILED at 142. 1 out of 1 hunk FAILED -- saving rejects to file fs/proc/array.c.rej patching file include/asm-generic/atomic.h Hunk #1 FAILED at 58. Hunk #2 FAILED at 79. Hunk #3 FAILED at 145. 3 out of 3 hunks FAILED -- saving rejects to file include/asm-generic/atomic.h.rej patching file include/asm-generic/bitops/atomic.h Hunk #1 FAILED at 21. 1 out of 1 hunk FAILED -- saving rejects to file include/asm-generic/bitops/atomic.h.rej patching file include/asm-generic/cmpxchg-local.h Hunk #1 succeeded at 20 (offset -1 lines). Hunk #2 succeeded at 41 (offset -1 lines). Hunk #3 succeeded at 54 (offset -1 lines). patching file include/asm-generic/percpu.h Hunk #1 FAILED at 67. Hunk #2 FAILED at 96. 2 out of 2 hunks FAILED -- saving rejects to file include/asm-generic/percpu.h.rej patching file include/linux/hardirq.h Hunk #1 succeeded at 185 (offset -32 lines). Hunk #2 succeeded at 202 (offset -32 lines). patching file include/linux/ipipe.h patching file include/linux/ipipe_base.h patching file include/linux/ipipe_lock.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 194. 1 out of 1 hunk FAILED -- saving rejects to file include/linux/irq.h.rej can't find file to patch at input line 6193 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/linux/irqdesc.h b/include/linux/irqdesc.h |index 979c68c..ee39a3e 100644 |--- a/include/linux/irqdesc.h |+++ b/include/linux/irqdesc.h -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored patching file include/linux/kernel.h Hunk #1 succeeded at 14 with fuzz 2 (offset -2 lines). Hunk #2 succeeded at 120 (offset 5 lines). patching file include/linux/preempt.h can't find file to patch at input line 6283 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/linux/rwlock.h b/include/linux/rwlock.h |index bc2994e..5e2da8d 100644 |--- a/include/linux/rwlock.h |+++ b/include/linux/rwlock.h -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 6309 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/linux/rwlock_api_smp.h b/include/linux/rwlock_api_smp.h |index 9c9f049..62c8941 100644 |--- a/include/linux/rwlock_api_smp.h |+++ b/include/linux/rwlock_api_smp.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file include/linux/sched.h Hunk #2 FAILED at 192. Hunk #3 succeeded at 311 with fuzz 1 (offset -3 lines). Hunk #4 FAILED at 370. Hunk #5 succeeded at 493 (offset 44 lines). Hunk #6 succeeded at 1514 (offset 34 lines). Hunk #7 succeeded at 1785 (offset 29 lines). 2 out of 7 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 102. Hunk #3 FAILED at 168. Hunk #4 FAILED at 190. Hunk #5 FAILED at 212. Hunk #6 FAILED at 223. Hunk #7 FAILED at 293. Hunk #8 FAILED at 315. Hunk #9 FAILED at 327. 9 out of 9 hunks FAILED -- saving rejects to file include/linux/spinlock.h.rej patching file include/linux/spinlock_api_smp.h Hunk #1 succeeded at 229 with fuzz 2 (offset 130 lines). Hunk #2 FAILED at 245. 1 out of 2 hunks FAILED -- saving rejects to file include/linux/spinlock_api_smp.h.rej patching file include/linux/spinlock_up.h Hunk #1 FAILED at 49. Hunk #2 FAILED at 58. 2 out of 2 hunks FAILED -- saving rejects to file include/linux/spinlock_up.h.rej patching file init/Kconfig Hunk #1 succeeded at 78 (offset -15 lines). patching file init/main.c Hunk #1 succeeded at 535 with fuzz 2 (offset -17 lines). Hunk #2 succeeded at 570 (offset -15 lines). Hunk #3 succeeded at 599 (offset -16 lines). Hunk #4 succeeded at 785 (offset -15 lines). patching file kernel/Makefile Hunk #1 succeeded at 83 with fuzz 2 (offset -5 lines). patching file kernel/exit.c Hunk #1 succeeded at 963 (offset -26 lines). patching file kernel/fork.c Hunk #1 succeeded at 511 (offset -32 lines). Hunk #3 succeeded at 1305 (offset 9 lines). Hunk #4 FAILED at 1716. 1 out of 4 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 patching file kernel/irq/chip.c Hunk #2 FAILED at 506. Hunk #3 FAILED at 585. Hunk #4 FAILED at 633. Hunk #5 FAILED at 688. Hunk #6 succeeded at 626 with fuzz 1 (offset -75 lines). Hunk #7 succeeded at 786 with fuzz 2 (offset -75 lines). 4 out of 7 hunks FAILED -- saving rejects to file kernel/irq/chip.c.rej patching file kernel/irq/handle.c Hunk #1 FAILED at 150. Hunk #2 FAILED at 164. 2 out of 2 hunks FAILED -- saving rejects to file kernel/irq/handle.c.rej patching file kernel/lockdep.c Hunk #1 succeeded at 2318 (offset -16 lines). Hunk #2 succeeded at 2361 (offset -16 lines). Hunk #3 succeeded at 2393 (offset -16 lines). Hunk #4 succeeded at 2427 (offset -16 lines). patching file kernel/panic.c Hunk #1 succeeded at 22 with fuzz 2 (offset -1 lines). Hunk #2 succeeded at 305 (offset -14 lines). patching file kernel/power/hibernate.c Hunk #1 succeeded at 238 (offset -32 lines). Hunk #2 succeeded at 268 (offset -34 lines). Hunk #3 succeeded at 361 (offset -42 lines). Hunk #4 succeeded at 393 (offset -42 lines). Hunk #5 succeeded at 475 with fuzz 2 (offset -44 lines). patching file kernel/printk.c Hunk #1 succeeded at 564 (offset -33 lines). Hunk #2 succeeded at 623 (offset -33 lines). Hunk #3 succeeded at 691 (offset -41 lines). patching file kernel/sched.c Hunk #1 FAILED at 2561. Hunk #2 succeeded at 2826 (offset -209 lines). Hunk #3 succeeded at 2876 (offset -209 lines). Hunk #4 succeeded at 5275 (offset 1321 lines). Hunk #5 succeeded at 5298 (offset 1321 lines). Hunk #6 succeeded at 5347 (offset 1321 lines). Hunk #7 succeeded at 5426 (offset 1342 lines). Hunk #8 succeeded at 5441 with fuzz 2 (offset 1343 lines). Hunk #9 succeeded at 5481 with fuzz 2 (offset 1328 lines). Hunk #10 FAILED at 5491. Hunk #11 succeeded at 5502 (offset 1326 lines). Hunk #12 FAILED at 5595. Hunk #13 succeeded at 6357 with fuzz 2 (offset 1296 lines). Hunk #14 succeeded at 7006 (offset 1276 lines). Hunk #15 succeeded at 10938 (offset 1288 lines). 3 out of 15 hunks FAILED -- saving rejects to file kernel/sched.c.rej patching file kernel/signal.c Hunk #1 succeeded at 518 (offset -40 lines). patching file kernel/spinlock.c Hunk #1 FAILED at 26. 1 out of 1 hunk FAILED -- saving rejects to file kernel/spinlock.c.rej patching file kernel/time/tick-common.c Hunk #1 succeeded at 69 (offset -4 lines). Hunk #2 succeeded at 177 (offset -4 lines). patching file kernel/time/tick-sched.c Hunk #1 succeeded at 525 (offset -73 lines). Hunk #2 succeeded at 676 (offset -82 lines). patching file kernel/timer.c Hunk #1 succeeded at 1204 (offset -89 lines). patching file kernel/trace/ftrace.c Hunk #1 FAILED at 29. Hunk #2 succeeded at 1143 (offset -14 lines). Hunk #3 succeeded at 1153 (offset -14 lines). Hunk #4 succeeded at 2658 (offset -74 lines). Hunk #5 succeeded at 2739 (offset -74 lines). 1 out of 5 hunks FAILED -- saving rejects to file kernel/trace/ftrace.c.rej patching file lib/Kconfig.debug patching file lib/bust_spinlocks.c patching file lib/ioremap.c patching file lib/smp_processor_id.c patching file mm/memory.c Hunk #1 succeeded at 566 (offset -74 lines). Hunk #2 succeeded at 600 with fuzz 2 (offset -74 lines). Hunk #3 succeeded at 640 (offset -78 lines). Hunk #4 FAILED at 692. Hunk #5 FAILED at 735. Hunk #6 FAILED at 2055. Hunk #7 succeeded at 3423 (offset -233 lines). 3 out of 7 hunks FAILED -- saving rejects to file mm/memory.c.rej patching file mm/mmu_context.c Hunk #1 succeeded at 23 (offset -1 lines). patching file mm/vmalloc.c Hunk #1 succeeded at 172 (offset 1 line). prepare-kernel.sh: Unable to patch kernel 2.6.32 with adeos-ipipe-2.6.37.6-x86-2.9-02.patch.
Please give me a solution for removing above error and how can I install correct Xenomai 2.6.0 with my existing Ubuntu Linux kernel.--
Thanks & Regards,
Jignesh J. Patel
+91 9998651686
Quoted 8 lines · Jignesh Patel
Hi,
I am trying to installed Xenomai 2.6.0 into my desktop with my existing Linux Ubuntu(10.04 LTS) kernel 2.6.32-generic,for development of real time data network.
Below Error occurs during installing of Xenomai 2.6.0:
root@new-desktop:~/xenomai-2.6.0# ./scripts/prepare-kernel.sh --linux=/home/new/ilesh/kernel_2_6_32/linux-2.6.32 --verbose
(...)
Quoted 1 line
prepare-kernel.sh: Unable to patch kernel 2.6.32 with adeos-ipipe-2.6.37.6-x86-2.9-02.patch.
Everything is in the error message: the adeos-ipipe-2.6.37.6-x86-2.9-02.patch does not apply to the 2.6.32 kernel, even to vanilla 2.6.32 kernel. For further details, see:
ksrc/arch/x86/patches/README
in xenomai sources.
Also note that xenomai 2.6.1 is out.
Signature · 1 line
Gilles.
A message that is not in the archive (sent off-list or not yet received): CAAEqEhH_TKjC0wRtx8uT2kQWbRESHrJkYrxPg095FZ1bvi-+6A@mail.gmail.com
Quoted 9 lines · Ilesh patel
Hello,
Thank you for your kind reply
I understand the error.
I read the README file in /arch/x86/patches/ The README file shows "Xenomai supports the x86_64,x86 architecture starting with the v2.6 Linux kernel series." and my krenel is V2.6.32-generic.
Ok, even if the README file is short, you seem not patient enough to read it. Some I am going to quote the relevant parts:
"This support is provided by the interrupt pipeline (aka I-pipe) in the form of a kernel patch you have to apply against a VANILLA kernel tree, before you attempt to compile the Xenomai codebase against the latter kernel.
Apply one of the patches found into this directory against the CORRESPONDING kernel release."
So: for a vanilla 2.6.32 kernel, you have to use a patch with 2.6.32 in the name. And the patch will apply only to a vanilla kernel, for any other kernels, it will not necessarily apply.
Please no private mail.
Signature · 1 line
Gilles.