From: Philippe Gerum <rpm@xenomai.org>
To: "Hans Jørgen Olsen" <HansJoergen.Olsen@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Run-time problem with xenomai
Date: Wed, 29 Mar 2006 15:45:40 +0200 [thread overview]
Message-ID: <442A8F84.8060506@domain.hid> (raw)
In-Reply-To: <7C4B97D3898FED44BC087D25490A44A1B6BB67@domain.hid>
Hans Jørgen Olsen wrote:
> Hi.
>
>
>
> First: I’m new to Xenomai and slowly becoming a not_so_new linux user.
>
>
>
> I have successfully installed Xenomai 2.1 following Hannes Mayer’s
> excellent guide.
>
>
>
> Everything looks fine until testing using the programs in testsuite.
> Then the process stops with the message:
>
> Xenomai: incompatible feature set
>
> (required=”sep tsc”, present=”sep”, missing=”tsc”).
>
Everything is explained in the README.INSTALL file.
Basically, you seem to have compiled your kernel for an x86 architecture
which does not have TSC support (pre-Pentium classic or oldish x86
compatibles?), but you told the user-space programs configuration script
the opposite, i.e. --enable-x86-tsc. This is a problem, since whether
your CPU actually has a TSC, and the user-space support is going to use
it directly without resorting to Xenomai syscalls for getting
timestamps, or your CPU doesn't have any TSC - like your current kernel
setup asserts - and as such, emitting TSC-related instructions on a
TSC-unware hw would lead to "unexpected results".
I'd suggest that you double-check your kernel setup first, and choose a
processor support which actually matches your hw. If the latter has a
TSC, it's better to use it performance-wise, otherwise Xeno would
emulate a TSC, which would be fairly sub-optimal in your case. If you do
have one, then keep on passing --enable-x86-tsc to the configure script,
after rebuilding the kernel with the proper processor selection.
If you need to keep on with a processor selection which does not support
any TSC, then remove the --enable-x86-tsc switch when configuring the
user-space support, then rebuild it fully.
>
>
> A simple program of my own compile fine but stops running with the same
> error.
>
>
>
> I have configured Xenomai with options:
>
> --enable-x86-sep --enable-x86-tsc
>
>
>
> Using cat /proc/cpuinfo shows that both sep and tsc flags are present.
>
>
>
> Linux: Debian with kernel 2.6.14.7
>
> CPU: Pentium 4/Celeron
>
>
>
> Grateful for a suggestion to solve the problem.
>
>
>
> Hans Jørgen
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2006-03-29 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-29 13:15 [Xenomai-help] Run-time problem with xenomai Hans Jørgen Olsen
2006-03-29 13:45 ` Philippe Gerum [this message]
2006-03-29 14:01 ` Jan Kiszka
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=442A8F84.8060506@domain.hid \
--to=rpm@xenomai.org \
--cc=HansJoergen.Olsen@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.