Xenomai 2.6.5 with Linux 2.6.38.8 kernel
Hello,
is the Xenomai 2.6.5 supposed to work with Linux 2.6.38.8 kernel and adeos patch 2.6.38.8-x86-2.10 supposed to work?
The above combination gives me an error compiling arch/x86/xenomai/hal_32.c in function rthal_arch_init where nmi_watchdog and NMI_IO_APIC are not defined. Indeed those are not defined anywhere in the kernel or xenomai source tree.
Thank you. Cheers,
Signature · 1 line
Daniele
Quoted 9 lines · Daniele Nicolodi
Hello,
is the Xenomai 2.6.5 supposed to work with Linux 2.6.38.8 kernel and adeos patch 2.6.38.8-x86-2.10 supposed to work?
The above combination gives me an error compiling
arch/x86/xenomai/hal_32.cin functionrthal_arch_initwherenmi_watchdogandNMI_IO_APICare not defined. Indeed those are not defined anywhere in the kernel or xenomai source tree.
Disable NMI watchdog.
Signature · 1 line
Gilles.
Quoted 6 lines · Gilles Chanteperdrix
Quoted 5 lines · Daniele Nicolodi
Hello,
is the Xenomai 2.6.5 supposed to work with Linux 2.6.38.8 kernel and adeos patch 2.6.38.8-x86-2.10 supposed to work?
Quoted 6 lines
Quoted 4 lines
The above combination gives me an error compiling
arch/x86/xenomai/hal_32.cin functionrthal_arch_initwherenmi_watchdogandNMI_IO_APICare not defined. Indeed those are not defined anywhere in the kernel or xenomai source tree.Disable NMI watchdog.
Thanks Gilles for the quick answer, but that's not the problem, NMI watchdog option is already disabled (and looking at the source code looks like the error comes from a section of the code that is not affected by XENO_NMI_DEBUG_LATENCY.
Cheers,
Signature · 1 line
Daniele
Quoted 12 lines · Daniele Nicolodi
Quoted 11 lines · Gilles Chanteperdrix
Quoted 9 lines · Daniele Nicolodi
Hello,
is the Xenomai 2.6.5 supposed to work with Linux 2.6.38.8 kernel and adeos patch 2.6.38.8-x86-2.10 supposed to work?
The above combination gives me an error compiling
arch/x86/xenomai/hal_32.cin functionrthal_arch_initwherenmi_watchdogandNMI_IO_APICare not defined. Indeed those are not defined anywhere in the kernel or xenomai source tree.
Quoted 8 lines
Quoted 1 line
Disable NMI watchdog.
Thanks Gilles for the quick answer, but that's not the problem, NMI watchdog option is already disabled (and looking at the source code looks like the error comes from a section of the code that is not affected by
XENO_NMI_DEBUG_LATENCY.Cheers,
https://mail.gna.org/public/xenomai-help/2011-06/msg00142.html
Signature · 1 line
Philippe.
Quoted 8 lines · Philippe Gerum
Quoted 6 lines
Thanks Gilles for the quick answer, but that's not the problem, NMI watchdog option is already disabled (and looking at the source code looks like the error comes from a section of the code that is not affected by
XENO_NMI_DEBUG_LATENCY.Cheers,
https://mail.gna.org/public/xenomai-help/2011-06/msg00142.html
Thank you Philippe. I should follow the mailing list more closely.
Cheers,
Signature · 1 line
Daniele
Quoted 11 lines · Daniele Nicolodi
Quoted 8 lines · Philippe Gerum
Quoted 6 lines
Thanks Gilles for the quick answer, but that's not the problem, NMI watchdog option is already disabled (and looking at the source code looks like the error comes from a section of the code that is not affected by
XENO_NMI_DEBUG_LATENCY.Cheers,
https://mail.gna.org/public/xenomai-help/2011-06/msg00142.html
Thank you Philippe. I should follow the mailing list more closely.
Actually, I should have pushed the necessary bits way earlier to the repo.
Quoted 2 lines
Cheers,
Signature · 1 line
Philippe.
Kernel 2.6.38.8 has also renamed current_cpu_data. See attached patch for fix.
Quoted 24 lines · Philippe Gerum
Quoted 11 lines · Daniele Nicolodi
Quoted 8 lines · Philippe Gerum
Quoted 6 lines
Thanks Gilles for the quick answer, but that's not the problem, NMI watchdog option is already disabled (and looking at the source code looks like the error comes from a section of the code that is not affected by
XENO_NMI_DEBUG_LATENCY.Cheers,
https://mail.gna.org/public/xenomai-help/2011-06/msg00142.html
Thank you Philippe. I should follow the mailing list more closely.
Actually, I should have pushed the necessary bits way earlier to the repo.
Quoted 2 lines
Cheers,
--
Philippe.
Quoted 5 lines
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help
include/asm-x86/calibration.h +4 -0
@@ -45,7 +45,11 @@* the approach is definitely saner than previous attempts to * guess such value dynamically. */ +#if LINUX_VERSION_CODE <KERNEL_VERSION (2 ,6 ,38 )#define __bogomips (current_cpu_data.loops_per_jiffy/(500000/HZ)) +#else +#define __bogomips (cpu_info.loops_per_jiffy/(500000/HZ)) +#endif sched_latency = (__bogomips <250 ?17000 : __bogomips <2500 ?4200 :3500 );
Gilles Chanteperdrix
AppliedQuoted 2 lines · Henri Roosen
Kernel 2.6.38.8 has also renamed
current_cpu_data. See attached patch for fix.
Applied, thanks.
Signature · 1 line
Gilles.