From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Michael Galea <michaelgalea@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Xenomai kernel user-space problem running testsuite
Date: Fri, 08 Aug 2008 22:38:37 +0200 [thread overview]
Message-ID: <489CAECD.6080703@domain.hid> (raw)
In-Reply-To: <489C96FA.7050400@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1243 bytes --]
Michael Galea wrote:
> I'm just starting with xenomai and am having troubles getting xenomai
> user space to talk to my kernel.
>
> I build the kernel and user-space xenomai code and try to run `latency`
> from the test suite and get
> mpc8360mds:# /usr/local/xenomai/bin/latency
> Xenomai: incompatible feature set
> (required="fastsem", present="nofastsem", missing="fastsem").
>
>
> I have built xenomai from svn into my 2.6.26 powerpc kernel and it looks
> good on the next boot, i.e. `dmesg |grep xeno -i` returns:
> I-pipe: Domain Xenomai registered.
> Xenomai: hal/powerpc started.
> Xenomai: real-time nucleus v2.5-devel (Flying In A Blue Dream) loaded.
> Xenomai: starting native API services.
> Xenomai: starting POSIX services.
> Xenomai: starting RTDM services.
>
> The user-space builds and installs over NFS just fine:
>
> ./configure --host=ppc-unknown-linux-gnu --prefix=/usr/local/xenomai \
> CC=ppc_6xx-gcc CXX=ppc_6xx-g++ LD=ppc_6xx-ld
> make
> make DESTDIR=/opt/ppcrootmds/ install
>
>
> I can't see any fastsem options in the kernel. Does anyone have any
> advice?
It is supposed to be set by the Kconfig, but it looks like I forgot to
add it, so, you may try the attached patch.
--
Gilles.
[-- Attachment #2: xeno-powerpc-enable-kernel-fastsem.diff --]
[-- Type: text/x-diff, Size: 361 bytes --]
Index: ksrc/arch/powerpc/Kconfig
===================================================================
--- ksrc/arch/powerpc/Kconfig (revision 4080)
+++ ksrc/arch/powerpc/Kconfig (working copy)
@@ -2,6 +2,10 @@ config XENO_GENERIC_STACKPOOL
bool
default y
+config XENO_FASTSEM
+ bool
+ default y
+
source "kernel/xenomai/nucleus/Kconfig"
menu "Machine"
next prev parent reply other threads:[~2008-08-08 20:38 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-08 18:56 [Xenomai-help] Xenomai kernel user-space problem running testsuite Michael Galea
2008-08-08 19:46 ` Philippe Gerum
2008-08-08 20:58 ` Michael Galea
2008-08-08 21:17 ` Philippe Gerum
2008-08-08 20:38 ` Gilles Chanteperdrix [this message]
2008-08-09 13:37 ` Wolfgang Grandegger
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=489CAECD.6080703@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=michaelgalea@domain.hid \
--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.