From: Jan Kiszka <jan.kiszka@domain.hid>
To: Patrick <kpa_info@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Xenomai on Xscale (Linux 2.6.20)
Date: Mon, 22 Oct 2007 19:07:41 +0200 [thread overview]
Message-ID: <471CD8DD.2050601@domain.hid> (raw)
In-Reply-To: <200710221653.l9MGrFEt012760@domain.hid>
Patrick wrote:
> Please ignore my first wrong mail ;-)
>
>
>
> Hi,
>
>
>
> I am trying to found the bug in xenomai for PXA270 machine (xenomai 2.3.4,
> ipipe 1.7-06 and kernel 2.6.20).
>
>
>
> I have localised that the problem is coming when rt_task_create call
> __ipipe_restore_pipeline_head (called by xnlock_put_irq_restore) in
> ipipe/core.c.
>
> I think that the problem is the call to __clear_bit(IPIPE_STALL_FLAG,
> &head->cpudata[cpuid].status);
Is it the operation itself or the effect on cpudata.status? I mean, can
you safely do a __clear_bit followed by a __set_bit, which would rule
out an invalid memory access?
>
> If I don't execute this function on the rt_task_create the system doesn't
> freeze (but my application doesn't work correctly).
>
>
>
> I don't know what the problem is. Do you have an idea or a suggestion?
At least /me is lacking a full picture. So I would suggest, in order to
ease the understanding of your scenario for everyone, to
a) post your modification in form of a patch (diff -up).
b) catch the problematic execution path with the ipipe tracer - now
that it no longer fails lethally. Just put an ipipe_trace_freeze at
a point that is unique and close to the hot spot (e.g. after
rt_task_create.
Jan
--
Siemens AG, Corporate Technology, CT SE 2
Corporate Competence Center Embedded Linux
next prev parent reply other threads:[~2007-10-22 17:07 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-22 16:53 [Xenomai-core] Xenomai on Xscale (Linux 2.6.20) Patrick
2007-10-22 17:07 ` Jan Kiszka [this message]
2007-10-22 19:36 ` Gilles Chanteperdrix
-- strict thread matches above, loose matches on Subject: below --
2007-10-24 14:55 ROSSIER Daniel
2007-10-24 15:30 ` Philippe Gerum
2007-10-24 16:25 ` Gilles Chanteperdrix
2007-10-24 16:45 ` Philippe Gerum
2007-12-03 11:56 ` linux
2007-12-03 13:09 ` Gilles Chanteperdrix
2007-12-03 14:36 ` Patrick
2007-10-24 15:56 ` Gilles Chanteperdrix
2007-10-11 16:35 ROSSIER Daniel
2007-10-11 17:00 ` Philippe Gerum
2007-10-12 12:28 ` Daniel Rossier
2007-10-12 12:43 ` Gilles Chanteperdrix
2007-10-11 17:02 ` Jan Kiszka
2007-10-12 11:48 ` Daniel Rossier
2007-10-12 12:34 ` Gilles Chanteperdrix
2007-10-12 12:46 ` Daniel Rossier
2007-10-12 13:14 ` Gilles Chanteperdrix
2007-10-13 15:34 ` ROSSIER Daniel
2007-10-13 17:06 ` Gilles Chanteperdrix
2007-10-22 16:38 ` Patrick
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=471CD8DD.2050601@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=kpa_info@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.