From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Roberto Bielli <roberto.bielli@axelsw.it>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] rt_task_set_priority hangs/loops sometimes on boot
Date: Fri, 20 Dec 2013 09:37:48 +0100 [thread overview]
Message-ID: <52B401DC.6080002@xenomai.org> (raw)
In-Reply-To: <52B3FE46.3010202@axelsw.it>
On 12/20/2013 09:22 AM, Roberto Bielli wrote:
> Hi Gilles,
>
> i attached an image with the stall. (Excuse me for the image but it's
> impossibile in a fast way to convert into text ).
> The old backtrace is invalid. The system cannot be updated.
Why is that, you do not have the root password on your test system? The
root filesystem is read-only?
I am just asking you to upgrade your test system, to see if you can
reproduce the bug with the latest version, as a first step, not to
upgrade the systems you have installed in the field. A lot of things
happened since 2.5.6 and whatever linux version you are using, which is
why I would like you to test xenomai 2.6.3 with linux 3.8.13. I do not
have time to spare on an issue which has already been fixed.
> The new backtrace says that the system loop in __ipipe_walk_pipeline.
> It seems that irqpend_imask = 2 and irqpend_lowmask = (0,
> 4194304,......) are the problem.
> In a good start there arent that values.
Using a symbolic debugguer shows you the things by the wrong end of the
problem. It is a bit like looking at the sun with a microscope.
ipipe_walk_pipeline is a function which is called all the time in the
I-pipe patched kernel.
If you feel like debugging the issue you have yourself, instead of
answering my request of upgrading before retesting, my advice would be
that there is no subtitute to really understanding what the code does,
on a macroscopic view, rather than on a miscroscopic view of "variable x
has value y".
The first thing I would try, is to add a printk in the interrupt
controller masking function, and the gpio demux function, if there is
one, to see if either one is not called in a loop.
--
Gilles.
prev parent reply other threads:[~2013-12-20 8:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-06 8:03 [Xenomai] rt_task_set_priority hangs/loops sometimes on boot Roberto Bielli
2013-12-06 9:12 ` Philippe Gerum
2013-12-06 12:20 ` Gilles Chanteperdrix
2013-12-20 8:22 ` Roberto Bielli
2013-12-20 8:37 ` Gilles Chanteperdrix [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=52B401DC.6080002@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=roberto.bielli@axelsw.it \
--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.