LinuxCNC and Xenomai 2.6.3 on 3.8.13 Kernel

More
25 May 2014 23:13 #47311 by gandalf
Hi,
I succesfully compiled Linux Kernel 3.8.13 with Xenomai patch on Ubuntu 14.04 x86.

root@gandalf:~# uname -a
Linux gandalf 3.8.13-xenomai-2.6.3 #2 SMP Sun May 25 12:17:29 CEST 2014 i686 i686 i686 GNU/Linux

I am also able to run latency utility from xenomai

root@gandalf:~# /opt/xenomai/bin/latency
== Sampling period: 100 us
== Test mode: periodic user-mode task
== All results in microseconds
warming up...
RTT| 00:00:01 (periodic user-mode task, 100 us period, priority 99)
RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst
RTD| -2.465| -2.086| -0.855| 0| 0| -2.465| -0.855

Also kernel seems to be OK

root@gandalf:~# dmesg |grep -i xenomai
[ 0.000000] Linux version 3.8.13-xenomai-2.6.3 (root@gandalf) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #2 SMP Sun May 25 12:17:29 CEST 2014
[ 0.000000] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.8.13-xenomai-2.6.3 root=UUID=9502de6b-0af5-4ea9-add9-2bf5c23d7a3a ro quiet splash vt.handoff=7
[ 0.561491] I-pipe: head domain Xenomai registered.
[ 0.561535] Xenomai: hal/i386 started.
[ 0.561555] Xenomai: scheduling class idle registered.
[ 0.561556] Xenomai: scheduling class rt registered.
[ 0.562025] Xenomai: real-time nucleus v2.6.3 (Lies and Truths) loaded.
[ 0.562026] Xenomai: debug mode enabled.
[ 0.562069] Xenomai: SMI-enabled chipset found, but SMI workaround disabled
[ 0.562094] Xenomai: starting native API services.
[ 0.562095] Xenomai: starting POSIX services.
[ 0.562106] Xenomai: starting RTDM services.

Now I want to compile LinuxCNC from git branch origin/2.6
Everithing seems OK but when I invoke configure command from src I do not have any option to compile for Xenomai.

this is from first lines of configure script

#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for LinuxCNC 2.6.0~pre2.


Is 2.6 branch compatible with Xenomai or not?

Thanks,
Antonio

Please Log in or Create an account to join the conversation.

More
26 May 2014 02:23 #47319 by ArcEye
Replied by ArcEye on topic LinuxCNC and Xenomai 2.6.3 on 3.8.13 Kernel
Hi

No the 2.6 release excluded ubc-3

git clone github.com/machinekit.machinekit.git machinekit

should get you a source tree that will recognise the xenomai kernel and build accordingly

regards

Please Log in or Create an account to join the conversation.

Time to create page: 0.061 seconds
Powered by Kunena Forum