From: Philippe Gerum <rpm@xenomai.org>
To: Kris Ellis <drfrankencopter@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Segfault error 4 when running latency test (and all userspace tests)
Date: Fri, 15 Feb 2013 09:52:20 +0100 [thread overview]
Message-ID: <511DF744.7090402@xenomai.org> (raw)
In-Reply-To: <CAA+HEu=As3DV+adh9SzHaGj7aVDPttGxHMvf_Wpib53zOA2Ppw@mail.gmail.com>
On 02/14/2013 08:32 PM, Kris Ellis wrote:
> Thanks, I'll look into your buldroot generator.
>
Well, actually this was a wrong advice, at least with respect to using
buildroot: that generator does not use BR2, only the one I'm using
locally does. But I had to hack the Xenomai support in BR2's 2010.02
release, which you do have built-in now in the latest one.
> I have not tried using gdb yet, so I have no backtrace that I can provide.
>
This would help.
> As far as the --enable-x86-sep flag is concerned, is there a place in
> buildroot to turn this on, or do I have to go and manually modify the
> xenomai.mk file?
>
You need to fix up XENOMAI_CONF_OPT manually. I suspect that you might
have a kernel compiled for a CPU which does not provide SEP, with the
userland code configured by default with --enable-x86-sep.
So I would try check this first, prior to pulling more hairs:
First, log in your target box, and check whether /proc/cpuinfo mentions
"sep" as an available feature for your processor. If not, then either:
- fix your i386 CPU configuration for the kernel and rebuild it,
assuming your CPU does have sep actually (this is the most likely
option), leaving userland as it is.
- Fix up XENOMAI_CONF_OPT to add --disable-x86-sep and rebuild userland,
leaving the kernel config as it is.
To speed up things, I would suggest to try out these tests with no BR2
in the picture for now, using a plain configure+build sequence for Xenomai.
--
Philippe.
prev parent reply other threads:[~2013-02-15 8:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-13 14:26 [Xenomai] Segfault error 4 when running latency test (and all userspace tests) Kris Ellis
2013-02-13 19:34 ` Gilles Chanteperdrix
2013-02-14 18:32 ` Kris Ellis
2013-02-14 18:56 ` Philippe Gerum
2013-02-14 19:32 ` Kris Ellis
2013-02-15 8:52 ` 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=511DF744.7090402@xenomai.org \
--to=rpm@xenomai.org \
--cc=drfrankencopter@gmail.com \
--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.