From: Philippe Gerum <rpm@xenomai.org>
To: Peter Pan <pppeterpppan@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] cyclictest gives out segmentation fault with xenomai 2.5.2 in powerpc arch
Date: Thu, 29 Apr 2010 17:25:24 +0200 [thread overview]
Message-ID: <1272554724.28983.444.camel@domain.hid> (raw)
In-Reply-To: <p2y48abf2c21004290820g1dabc981y5a1dbd141f64059e@domain.hid>
On Thu, 2010-04-29 at 23:20 +0800, Peter Pan wrote:
> I searched through the archive, some one says that there is a git
> commit to sole the problem. I downloaded the latest xenomai-2.5 git,
> the problem is gone.
>
> But I found another problem. When I use the "latency" test, all the
> min latency time gives out a minus value. Is that normal?
Yes. Your board has better internal latency than the default calibration
expects (i.e. time to traverse the Xenomai stack from IRQ receipt to
activating the thread), so the timer shot is anticipated too much.
Try reducing the value stored in /proc/xenomai/latency, until your
system is calibrated. You can wire this value in your Kconfig
afterwards.
Which ppc hw are you running Xenomai on?
>
> 2010/4/29 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
> > Peter Pan wrote:
> >> I downloaded the ipipe-2.6 from git.denx.de, head is
> >> "ipipe-2.6.32-powerpc". Then I downloaded xenomai-2.5.2 and patch the
> >> kernel. Then I install the xenomai applications into our rootfs. I
> >> just run cyclictest in /usr/xenomai/share/xenomai/testsuit/cyclic/run,
> >> it gives out following line:
> >>
> >> *
> >> *
> >> * Type ^C to stop this application.
> >> *
> >> *
> >> 0.00 0.05 0.03 2/24 1010
> >>
> >> T: 0 ( 0) P:99 I: 1000000 C: 0 Min: 1000000 Act: 0 Avg:
> >> 0 Max:-1000000
> >> Segmentation fault
> >
> > Probably a stack overflow. Could you run the application inside gdb to
> > check that?
> >
> > --
> > Gilles.
> >
>
> _______________________________________________
> Xenomai-help mailing list
> Xenomai-help@domain.hid
> https://mail.gna.org/listinfo/xenomai-help
--
Philippe.
next prev parent reply other threads:[~2010-04-29 15:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-29 6:09 [Xenomai-help] cyclictest gives out segmentation fault with xenomai 2.5.2 in powerpc arch Peter Pan
2010-04-29 15:02 ` Gilles Chanteperdrix
2010-04-29 15:20 ` Peter Pan
2010-04-29 15:25 ` Philippe Gerum [this message]
2010-04-30 0:16 ` Peter Pan
2010-04-30 8:29 ` Philippe Gerum
[not found] ` <s2g48abf2c21004300217q31bce099g588cb0bdc4bf380f@domain.hid>
[not found] ` <1272619558.24705.40.camel@domain.hid>
2010-04-30 12:03 ` Peter Pan
2010-04-30 12:41 ` Philippe Gerum
2010-04-30 13:18 ` Peter Pan
2010-05-04 1:41 ` Peter Pan
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=1272554724.28983.444.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=pppeterpppan@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.