Re: Error in make after make menuconfig (rtai 3.9.2 with Ubuntu 10.04 Lucid Lynx (2.6.32))
bhargavb <[email protected]> Thu, 20 Apr 2017 09:51:47 +0530
| Newsgroups | gmane.linux.real-time.rtai |
|---|---|
| Message-ID | <CA+bpL9L7f6c8VYoYw672paFQ4YZZa6fQCxHGH1h-W3-fgiXbZw@mail.gmail.com> |
Thank you for the reply. I have only chosen Lucid Lynx for the reason that it is an LTS version presuming it might be better than internediate other versions though its support has long been withdrawn. Also, I thought older the rtai patch stable would it be and ease my setup and work. I don't actually have any other technical reason. Now, I have taken a later version (Ubuntu Utopic Unicorn 14.10, kernel version 3.16.0) and rtai patch (hal-linux-3.16-x86-3.patch) from https://github.com/ShabbyX/RTAI/tree/magma . I am finding it difficult to apply patch, getting Hunk failures (9 failures, failure log attached) and do not know how to resolve them. *I need help in this regard as I doubt if I can find patches for any kernel and apply without any failures/modifications. I cannot resolve diff issues either for hunk failures.* I would anyways keep searching and trying better matching in kernel versions of Ubuntu and rtai, with the hope that I would at least minimise the hunk failures to resolve if not none. Thank you On Wed, Apr 19, 2017 at 2:31 PM, Paolo Mantegazza < [email protected]> wrote: > Just one question: is there any reason to stay on such older RTAI versions? > My suggestion is to use a more recent one, supporting Linux 3 and 4, in > which 64-32 bits are unified, e.g. rtai-5.0-test2 or Vulcano CVS. > Paolo > > > On 04/19/2017 05:03 AM, bhargavb wrote: > > Dear team, > > I need to work on rtai patch for porting and testing an application in > real time mode. > > My machine is 64 bit, so I was looking for patches and I have no > preference on version of kernel except that it should be at least 2.6 > kernel to apply patch. > > Question 1: > I chose Lucid Lynx (Ubnutu 10.04 with 2.6.32 kernel version) and > realized that rtai 3.8 is that last one in 2.6 kernel with patches in > x86_64 folder for patching my x86_64 machine. > But then, as per one of answers in rtai mailing lists, I realized that > the standard is not strictly followed to keep the patches for 64 bit > in x86_64 directory, and x86 directory containing patches for 32 bit > version can be used for an x86_64 machine. So, I chose rtai-3.9.2 > (2.6.32-20 kernel patch) for patching Ubuntu 10.04 (2.6.32). Kindly > confirm if this is acceptable. > > Question 2: > As per above way, and installation how to text file in rtai.org, I > followed steps till make menuconfig and make clean. Then I did make > where am getting error. Log is attached. > Kindly guide. > > Note: I do not have preference on Ubuntu version to apply rtai patch. > Can do on any Ubuntu 64 bit version which has stable rtai patch. > > Thanks and regards, > Bhargav > > > > _______________________________________________ > Rtai mailing [email protected]://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > > > > _______________________________________________ > Rtai mailing list > [email protected] > https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai > -- Bhargav _______________________________________________ Rtai mailing list [email protected] https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
patch_shabby_magma1.log
(text/x-log, 12 KB)
checking file arch/x86/Kconfig Hunk #5 succeeded at 808 with fuzz 1. checking file arch/x86/ia32/ia32entry.S Hunk #2 succeeded at 362 with fuzz 1 (offset 173 lines). Hunk #3 FAILED at 200. Hunk #4 succeeded at 363 (offset 16 lines). Hunk #5 succeeded at 374 (offset 16 lines). Hunk #6 succeeded at 475 (offset 16 lines). Hunk #7 succeeded at 487 (offset 16 lines). 1 out of 7 hunks FAILED checking file arch/x86/include/asm/apic.h checking file arch/x86/include/asm/apicdef.h checking file arch/x86/include/asm/debugreg.h checking file arch/x86/include/asm/desc.h Hunk #2 succeeded at 377 (offset 8 lines). Hunk #3 succeeded at 398 (offset 8 lines). Hunk #4 succeeded at 413 (offset 8 lines). Hunk #5 succeeded at 464 (offset 8 lines). checking file arch/x86/include/asm/fpu-internal.h Hunk #1 FAILED at 353. 1 out of 5 hunks FAILED checking file arch/x86/include/asm/hw_irq.h checking file arch/x86/include/asm/i8259.h checking file arch/x86/include/asm/ipi.h checking file arch/x86/include/asm/ipipe.h checking file arch/x86/include/asm/ipipe_32.h checking file arch/x86/include/asm/ipipe_64.h checking file arch/x86/include/asm/ipipe_base.h checking file arch/x86/include/asm/irq_vectors.h checking file arch/x86/include/asm/irqflags.h checking file arch/x86/include/asm/mmu_context.h checking file arch/x86/include/asm/preempt.h checking file arch/x86/include/asm/processor.h checking file arch/x86/include/asm/special_insns.h checking file arch/x86/include/asm/switch_to.h checking file arch/x86/include/asm/thread_info.h checking file arch/x86/include/asm/traps.h Hunk #1 succeeded at 55 (offset 1 line). Hunk #2 succeeded at 106 (offset 1 line). checking file arch/x86/include/asm/tsc.h checking file arch/x86/kernel/Makefile checking file arch/x86/kernel/apic/apic.c checking file arch/x86/kernel/apic/apic_flat_64.c checking file arch/x86/kernel/apic/io_apic.c checking file arch/x86/kernel/apic/ipi.c checking file arch/x86/kernel/apic/x2apic_cluster.c checking file arch/x86/kernel/apic/x2apic_phys.c checking file arch/x86/kernel/asm-offsets.c checking file arch/x86/kernel/cpu/common.c Hunk #1 succeeded at 1188 (offset 2 lines). Hunk #2 succeeded at 1216 (offset 2 lines). checking file arch/x86/kernel/cpu/mcheck/mce.c checking file arch/x86/kernel/cpu/mtrr/cyrix.c checking file arch/x86/kernel/cpu/mtrr/generic.c checking file arch/x86/kernel/dumpstack_32.c checking file arch/x86/kernel/dumpstack_64.c Hunk #1 succeeded at 302 (offset -1 lines). checking file arch/x86/kernel/entry_32.S checking file arch/x86/kernel/entry_64.S Hunk #7 succeeded at 435 (offset 3 lines). Hunk #8 succeeded at 513 (offset 3 lines). Hunk #9 succeeded at 525 (offset 3 lines). Hunk #10 succeeded at 536 (offset 3 lines). Hunk #11 succeeded at 643 (offset 3 lines). Hunk #12 succeeded at 857 (offset 3 lines). Hunk #13 succeeded at 890 (offset 3 lines). Hunk #14 succeeded at 924 (offset 3 lines). Hunk #15 succeeded at 944 (offset 3 lines). Hunk #16 succeeded at 1049 (offset -10 lines). Hunk #17 succeeded at 1066 (offset -41 lines). Hunk #18 succeeded at 1102 (offset -41 lines). Hunk #19 succeeded at 1159 (offset -41 lines). Hunk #20 succeeded at 1236 (offset -41 lines). Hunk #21 succeeded at 1327 (offset -41 lines). Hunk #22 FAILED at 1492. Hunk #23 succeeded at 1486 (offset -41 lines). Hunk #24 succeeded at 1563 (offset -41 lines). 1 out of 24 hunks FAILED checking file arch/x86/kernel/hpet.c checking file arch/x86/kernel/i387.c checking file arch/x86/kernel/i8253.c checking file arch/x86/kernel/i8259.c checking file arch/x86/kernel/ipipe.c checking file arch/x86/kernel/irq.c checking file arch/x86/kernel/irqinit.c checking file arch/x86/kernel/kgdb.c checking file arch/x86/kernel/pcspeaker.c checking file arch/x86/kernel/process.c Hunk #1 succeeded at 94 (offset 1 line). Hunk #2 succeeded at 112 (offset 1 line). Hunk #3 succeeded at 141 (offset 1 line). Hunk #4 succeeded at 341 (offset 1 line). Hunk #5 succeeded at 380 (offset 1 line). checking file arch/x86/kernel/process_32.c checking file arch/x86/kernel/process_64.c checking file arch/x86/kernel/ptrace.c Hunk #2 succeeded at 1507 (offset -9 lines). checking file arch/x86/kernel/smp.c checking file arch/x86/kernel/smpboot.c Hunk #1 succeeded at 927 (offset 37 lines). Hunk #2 succeeded at 970 (offset 37 lines). checking file arch/x86/kernel/traps.c Hunk #2 FAILED at 240. Hunk #3 FAILED at 254. Hunk #4 succeeded at 284 (offset 8 lines). Hunk #5 succeeded at 338 (offset 8 lines). Hunk #6 succeeded at 391 (offset 8 lines). Hunk #7 succeeded at 480 (offset 38 lines). Hunk #8 succeeded at 565 (offset 38 lines). Hunk #9 succeeded at 661 (offset 38 lines). Hunk #10 succeeded at 670 (offset 38 lines). Hunk #11 succeeded at 685 (offset 38 lines). Hunk #12 succeeded at 701 (offset 38 lines). Hunk #13 succeeded at 728 (offset 38 lines). Hunk #14 succeeded at 745 (offset 38 lines). Hunk #15 succeeded at 753 (offset 38 lines). Hunk #16 succeeded at 789 (offset 38 lines). Hunk #17 succeeded at 817 (offset 38 lines). 2 out of 17 hunks FAILED checking file arch/x86/kernel/tsc.c checking file arch/x86/kernel/vm86_32.c checking file arch/x86/kernel/vsyscall_64.c checking file arch/x86/kernel/vsyscall_gtod.c checking file arch/x86/kernel/xsave.c Hunk #1 succeeded at 564 (offset 2 lines). checking file arch/x86/kvm/svm.c checking file arch/x86/kvm/vmx.c Hunk #1 succeeded at 1782 (offset 1 line). Hunk #2 succeeded at 2086 (offset 1 line). Hunk #3 succeeded at 2116 (offset 1 line). Hunk #4 succeeded at 7220 (offset 24 lines). Hunk #5 succeeded at 7621 (offset 48 lines). Hunk #6 succeeded at 7646 (offset 48 lines). checking file arch/x86/kvm/x86.c Hunk #4 FAILED at 252. Hunk #5 succeeded at 2879 (offset 29 lines). Hunk #6 succeeded at 6109 (offset 28 lines). Hunk #7 succeeded at 6128 (offset 28 lines). 1 out of 7 hunks FAILED checking file arch/x86/lib/Makefile checking file arch/x86/lib/mmx_32.c checking file arch/x86/lib/usercopy.c checking file arch/x86/mm/fault.c Hunk #4 succeeded at 1047 (offset -5 lines). Hunk #5 succeeded at 1265 (offset -4 lines). Hunk #6 succeeded at 1283 (offset -4 lines). Hunk #7 succeeded at 1343 (offset -4 lines). Hunk #8 succeeded at 1360 (offset -4 lines). checking file arch/x86/mm/tlb.c checking file arch/x86/platform/uv/tlb_uv.c checking file drivers/clocksource/Makefile checking file drivers/clocksource/i8253.c checking file drivers/clocksource/ipipe_i486_tsc_emu.S checking file drivers/pci/htirq.c checking file drivers/cpuidle/Kconfig checking file drivers/tty/serial/8250/8250_core.c checking file fs/exec.c Hunk #1 succeeded at 831 (offset 7 lines). Hunk #2 succeeded at 855 (offset 7 lines). checking file include/asm-generic/atomic.h checking file include/asm-generic/bitops/atomic.h checking file include/asm-generic/cmpxchg-local.h checking file include/asm-generic/percpu.h checking file include/asm-generic/preempt.h checking file include/ipipe/setup.h checking file include/ipipe/thread_info.h checking file include/linux/clockchips.h checking file include/linux/clocksource.h checking file include/linux/ftrace.h Hunk #1 succeeded at 101 with fuzz 1. checking file include/linux/hardirq.h checking file include/linux/i8253.h checking file include/linux/ipipe.h checking file include/linux/ipipe_base.h checking file include/linux/ipipe_compat.h checking file include/linux/ipipe_debug.h checking file include/linux/ipipe_domain.h checking file include/linux/ipipe_lock.h checking file include/linux/ipipe_tickdev.h checking file include/linux/ipipe_trace.h checking file include/linux/irq.h checking file include/linux/irqdesc.h checking file include/linux/irqnr.h checking file include/linux/kernel.h checking file include/linux/kvm_host.h checking file include/linux/percpu.h checking file include/linux/preempt.h checking file include/linux/rwlock.h checking file include/linux/rwlock_api_smp.h checking file include/linux/sched.h Hunk #2 succeeded at 221 (offset 8 lines). Hunk #3 succeeded at 347 (offset 8 lines). Hunk #4 succeeded at 476 (offset 8 lines). Hunk #5 succeeded at 1607 (offset 7 lines). checking file include/linux/spinlock.h checking file include/linux/spinlock_api_smp.h checking file include/linux/spinlock_up.h checking file include/linux/timekeeper_internal.h checking file include/uapi/asm-generic/mman-common.h checking file include/uapi/asm-generic/resource.h checking file include/uapi/linux/resource.h checking file init/Kconfig checking file init/main.c checking file kernel/Makefile checking file kernel/context_tracking.c checking file kernel/debug/debug_core.c checking file kernel/debug/gdbstub.c checking file kernel/exit.c checking file kernel/fork.c Hunk #1 succeeded at 327 with fuzz 1 (offset 10 lines). Hunk #2 succeeded at 631 (offset 10 lines). Hunk #3 succeeded at 1545 (offset 48 lines). checking file kernel/ipipe/Kconfig checking file kernel/ipipe/Kconfig.debug checking file kernel/ipipe/Makefile checking file kernel/ipipe/compat.c checking file kernel/ipipe/core.c checking file kernel/ipipe/timer.c checking file kernel/ipipe/tracer.c checking file kernel/irq/chip.c checking file kernel/irq/generic-chip.c checking file kernel/irq/internals.h checking file kernel/irq/irqdesc.c Hunk #2 succeeded at 289 (offset 16 lines). checking file kernel/irq/manage.c Hunk #1 succeeded at 747 (offset 6 lines). checking file kernel/locking/lockdep.c checking file kernel/locking/spinlock.c checking file kernel/module.c Hunk #7 succeeded at 2260 (offset 2 lines). Hunk #8 succeeded at 3028 (offset 2 lines). Hunk #9 succeeded at 3180 (offset 2 lines). checking file kernel/panic.c checking file kernel/power/hibernate.c Hunk #3 succeeded at 564 (offset 6 lines). checking file kernel/printk/printk.c Hunk #1 succeeded at 1768 (offset 12 lines). Hunk #2 succeeded at 1828 (offset 12 lines). Hunk #3 succeeded at 1898 (offset 12 lines). checking file kernel/sched/core.c Hunk #1 succeeded at 1601 (offset 15 lines). Hunk #2 succeeded at 1614 (offset 15 lines). Hunk #3 succeeded at 1683 (offset 15 lines). Hunk #4 succeeded at 2295 (offset 19 lines). Hunk #5 succeeded at 2317 (offset 19 lines). Hunk #6 succeeded at 2359 (offset 19 lines). Hunk #7 succeeded at 2380 (offset 19 lines). Hunk #8 succeeded at 2599 (offset 19 lines). Hunk #9 succeeded at 2628 (offset 19 lines). Hunk #10 succeeded at 2683 (offset 19 lines). Hunk #11 succeeded at 2774 (offset 19 lines). Hunk #12 succeeded at 2788 (offset 19 lines). Hunk #13 succeeded at 2842 (offset 19 lines). Hunk #14 succeeded at 2852 (offset 19 lines). Hunk #15 succeeded at 2926 (offset 19 lines). Hunk #16 FAILED at 3566. Hunk #17 succeeded at 4684 (offset 25 lines). Hunk #18 succeeded at 5717 (offset 25 lines). Hunk #19 succeeded at 8172 (offset 37 lines). 1 out of 19 hunks FAILED checking file kernel/sched/wait.c checking file kernel/signal.c checking file kernel/time/clockevents.c checking file kernel/time/clocksource.c checking file kernel/time/tick-common.c checking file kernel/time/tick-sched.c checking file kernel/timer.c checking file kernel/trace/Kconfig checking file kernel/trace/ftrace.c Hunk #2 succeeded at 253 (offset 8 lines). Hunk #3 succeeded at 2085 (offset 50 lines). Hunk #4 succeeded at 2106 (offset 50 lines). Hunk #5 succeeded at 4277 (offset 62 lines). Hunk #6 succeeded at 4379 (offset 62 lines). checking file kernel/trace/ring_buffer.c Hunk #1 FAILED at 2640. Hunk #2 FAILED at 2653. 2 out of 2 hunks FAILED checking file kernel/trace/trace.c Hunk #1 succeeded at 2115 (offset 1 line). Hunk #2 succeeded at 2130 (offset 1 line). Hunk #3 succeeded at 2147 (offset 1 line). checking file kernel/trace/trace_clock.c checking file kernel/trace/trace_functions.c checking file kernel/trace/trace_functions_graph.c checking file lib/Kconfig.debug checking file lib/atomic64.c checking file lib/bust_spinlocks.c checking file lib/ioremap.c checking file lib/smp_processor_id.c checking file mm/Kconfig Hunk #1 succeeded at 404 (offset 3 lines). checking file mm/memory.c Hunk #6 succeeded at 2034 (offset 1 line). Hunk #7 succeeded at 3858 (offset 8 lines). checking file mm/mlock.c checking file mm/mmap.c Hunk #1 succeeded at 49 (offset 1 line). Hunk #2 succeeded at 2623 (offset 8 lines). checking file mm/mmu_context.c checking file mm/mprotect.c checking file mm/vmalloc.c