* [Xenomai] Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
@ 2012-08-15 14:32 Marco Meier
2012-08-15 15:47 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Marco Meier @ 2012-08-15 14:32 UTC (permalink / raw)
To: xenomai
Hi,
i tried to install xenomai-2.6.1 with a linux-3.2.21 kernel. patching
and installing the kernel was successful according to the following
dmesg output:
[ 1.704456] I-pipe: head domain Xenomai registered.
[ 1.704499] Xenomai: hal/x86_64 started.
[ 1.704517] Xenomai: scheduling class idle registered.
[ 1.704519] Xenomai: scheduling class rt registered.
[ 1.706145] Xenomai: real-time nucleus v2.6.1 (Light Years Away) loaded.
[ 1.706147] Xenomai: debug mode enabled.
[ 1.706319] Xenomai: starting native API services.
[ 1.706322] Xenomai: starting POSIX services.
[ 1.706356] Xenomai: starting RTDM services.
i cross compiled the userspace tools with
./configure --enable-x86-sep --host=i686-linux --enable-smp
CFLAGS='-m32 -O2' LDFLAGS='-m32'
after installing the tools on the target machine, i tried to link a
simple test program which actually does nothing against the xenomai libs
gcc $(xeno-config --skin native --cflags ) $(xeno-config --skin native
--ldflags) -Wl,-rpath=/usr/xenomai/lib test.c
running ./a.out gives the following output:
Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_native?)
xeno_native is built into the kernel:
zcat /proc/config.gz | grep XENO_SKIN
CONFIG_XENO_SKIN_NATIVE=y
CONFIG_XENO_SKIN_POSIX=y
as well as CONFIG_XENO_OPT_PERVASIVE:
zcat /proc/config.gz | grep XENO_OPT_PERVASIVE CONFIG_XENO_OPT_PERVASIVE=y
what am i missing?
Thanks,
M. Meier
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai] Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
2012-08-15 14:32 [Xenomai] Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled Marco Meier
@ 2012-08-15 15:47 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2012-08-15 15:47 UTC (permalink / raw)
To: Marco Meier; +Cc: xenomai
On 08/15/2012 04:32 PM, Marco Meier wrote:
> Hi,
>
> i tried to install xenomai-2.6.1 with a linux-3.2.21 kernel. patching
> and installing the kernel was successful according to the following
> dmesg output:
>
> [ 1.704456] I-pipe: head domain Xenomai registered.
> [ 1.704499] Xenomai: hal/x86_64 started.
> [ 1.704517] Xenomai: scheduling class idle registered.
> [ 1.704519] Xenomai: scheduling class rt registered.
> [ 1.706145] Xenomai: real-time nucleus v2.6.1 (Light Years Away) loaded.
> [ 1.706147] Xenomai: debug mode enabled.
> [ 1.706319] Xenomai: starting native API services.
> [ 1.706322] Xenomai: starting POSIX services.
> [ 1.706356] Xenomai: starting RTDM services.
>
> i cross compiled the userspace tools with
> ./configure --enable-x86-sep --host=i686-linux --enable-smp
> CFLAGS='-m32 -O2' LDFLAGS='-m32'
>
> after installing the tools on the target machine, i tried to link a
> simple test program which actually does nothing against the xenomai libs
>
> gcc $(xeno-config --skin native --cflags ) $(xeno-config --skin native
> --ldflags) -Wl,-rpath=/usr/xenomai/lib test.c
>
> running ./a.out gives the following output:
> Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
> (modprobe xeno_native?)
>
> xeno_native is built into the kernel:
>
> zcat /proc/config.gz | grep XENO_SKIN
> CONFIG_XENO_SKIN_NATIVE=y
> CONFIG_XENO_SKIN_POSIX=y
>
> as well as CONFIG_XENO_OPT_PERVASIVE:
>
> zcat /proc/config.gz | grep XENO_OPT_PERVASIVE CONFIG_XENO_OPT_PERVASIVE=y
>
> what am i missing?
>
You can't run 32bit Xenomai apps over a 64bit kernel, we don't support
dual mode for x86.
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-08-15 15:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-15 14:32 [Xenomai] Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled Marco Meier
2012-08-15 15:47 ` Philippe Gerum
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.