From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Abhijit Majumdar <abhijit.majumdar@domain.hid>
Cc: xenomai@xenomai.org, Steve Deiters <SteveDeiters@domain.hid>
Subject: Re: [Xenomai-help] rt_task_sleep causing crashes on PowerPC
Date: Wed, 16 Jun 2010 20:50:47 +0200 [thread overview]
Message-ID: <4C191D07.4050203@domain.hid> (raw)
In-Reply-To: <2319761F7FA0D1479BA77EC2E0A8E7BCEDCE09@domain.hid>
Abhijit Majumdar wrote:
> Hi Philippe
>
> I have attached a standalone test program which crashes my system. It
> uses poxis skin to create a simple task which sleeps for 10 micro sec
> and wakes up and continues to do so until the user kills the process.
>
> Interesting things note --
>
> 1. If I uncomment the printf statement at the beginning of the
> while loop the program does not crash any more.
> 2. OR if I use rt_task_sleep instead of clock_nanosleep it does
> not crash.
>
> I am using xenomai 2.5.2 and the arm platform has kernel 2.6.28.
That is a not vague. In any case, 10us on an ARM is much too short. As I
think I already told someone at pivotal systems, ARM latencies are
larger than 50 us, and most of the time larger than 100us. So, asking
for a 10us sleep is preposterous.
However, if you want your report to be useful:
- please try the latest version (that would be Xenomai 2.5.3)
- send us the full log of the serial console, not the part you think is
relevant (the error comes here while xnpod_schedule is trying to print a
message, the interesting part is not the failure of add_preempt_count,
but probably more the error message which xnpod_schedule wants to print).
- sens us your kernel configuration.
--
Gilles.
next prev parent reply other threads:[~2010-06-16 18:50 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-15 0:18 [Xenomai-help] rt_task_sleep causing crashes on PowerPC Steve Deiters
2010-05-16 21:57 ` Philippe Gerum
2010-05-17 21:32 ` Philippe Gerum
2010-05-26 21:03 ` Abhijit Majumdar
2010-05-28 8:05 ` Philippe Gerum
2010-06-16 18:34 ` Abhijit Majumdar
2010-06-16 18:37 ` Travis Stratman
2010-06-16 18:50 ` Gilles Chanteperdrix [this message]
2010-06-16 18:53 ` Gilles Chanteperdrix
2010-06-16 23:55 ` Abhijit Majumdar
2010-06-17 8:50 ` Gilles Chanteperdrix
2010-06-17 16:26 ` Travis Stratman
2010-06-17 16:32 ` Gilles Chanteperdrix
2010-06-16 23:50 ` Abhijit Majumdar
2010-06-17 8:47 ` Gilles Chanteperdrix
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=4C191D07.4050203@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=SteveDeiters@domain.hid \
--cc=abhijit.majumdar@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.