From: Philippe Gerum <rpm@xenomai.org>
To: Marco Meier <marco.meier@ifak.eu>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
Date: Wed, 15 Aug 2012 17:47:51 +0200 [thread overview]
Message-ID: <502BC4A7.9090205@xenomai.org> (raw)
In-Reply-To: <502BB311.6000303@ifak.eu>
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.
prev parent reply other threads:[~2012-08-15 15:47 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=502BC4A7.9090205@xenomai.org \
--to=rpm@xenomai.org \
--cc=marco.meier@ifak.eu \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.