From: Philippe Gerum <rpm@xenomai.org>
To: Cristian Axenie <cristian.axenie@domain.hid>
Cc: xenomai-help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] SegFault on all demo apps!!
Date: Mon, 10 Nov 2008 15:12:39 +0100 [thread overview]
Message-ID: <49184157.5010603@domain.hid> (raw)
In-Reply-To: <9c789a000811100152m68bf3cc5o74df47c2e5066df0@domain.hid>
Cristian Axenie wrote:
>
>
>
>
> I understand that. The point is that you don't need Comedi for
> validating the
> environment, since you are stuck in the very early stages it seems.
> What you
> need is to get the plain latency test running, first of all. Therefore,
> downgrading to 2.4.5 for the purpose of testing is the way to
> determine whether
> this is a Xenomai trunk/ vs stable/ issue, or a bad interaction
> between any
> Xenomai version and the standard libraries used on your board.
>
>
> I tested the demo apps on the kernel-2.6.24 and Xenomai 2.4.5 and I get
> the same results .
> So is it possible to be an incompatibility between the standard libs
> (glibc..) on the target and the standard libs from the host where I
> build my kernel and installed Xenomai ?
> Would be a good solution to create a new filesystem using the same
> libraries (on the host), should this approach eliminate the possibility
> of incompatibility that generates the SegFault?
>
Normally, you should be using the same libs on both sides, either for linking
your apps or running your target. The cross-compiler will use the proper target
libs to link your app against as available with the same ELDK it is part of, and
I assume you booted your target over the ELDK root fs suitable for your arch as
well. If this is not the case, e.g. if you have populated your target root fs
with your own recipe using buildroot or other means, then you may have
introduced the issue.
First of all, I would try booting the board on the NFS-mounted root fs the ELDK
provides for your arch, and run the Xenomai testsuite from there.
Please keep the list CCed; this conversation may help other people.
>
> Best,
>
> Cristian
>
>
>
--
Philippe.
prev parent reply other threads:[~2008-11-10 14:12 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-08 16:03 [Xenomai-help] SegFault on all demo apps!! Cristian Axenie
2008-11-08 17:41 ` Gilles Chanteperdrix
2008-11-09 10:33 ` Philippe Gerum
[not found] ` <9c789a000811090446l5d172120mc6791c220373b118@domain.hid>
[not found] ` <49171204.705@domain.hid>
[not found] ` <9c789a000811100152m68bf3cc5o74df47c2e5066df0@domain.hid>
2008-11-10 14:12 ` 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=49184157.5010603@domain.hid \
--to=rpm@xenomai.org \
--cc=cristian.axenie@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.