All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] "inconsistent lock state" on boot-up
Date: Mon, 17 Nov 2014 14:33:01 +0100	[thread overview]
Message-ID: <5469F90D.4030101@xenomai.org> (raw)
In-Reply-To: <20141117131004.GA26613@sisyphus.hd.free.fr>

On 11/17/2014 02:10 PM, Gilles Chanteperdrix wrote:
> On Mon, Nov 17, 2014 at 12:49:01PM +0100, Philippe Gerum wrote:
>> On 11/17/2014 11:01 AM, Stoidner, Christoph wrote:
>>>
>>> Hi,
>>>
>>>> you are completely right, we have implemented our own skin. Using
>>>> the debugging functionality mentioned above we have identified a
>>>> function-call that leads to exact the behaviour as described in your post.
>>>>
>>>> Hopefully solving that issue solves our application crash.
>>>
>>> Now the problem "scheduling while atomic" does not occur anymore within API calls of our own skin. However, after some run-time (about 5 minutes or more) it seems to appear in gatekeeper-thread (see below). 
>>>
>>> What is not clear to me is the ipipe_raise_irq() call in backtrace below. I could not identify any according call from within gatekeeper_thread(). Do I overlook something?
>>>
>>
>> You could match the closest routine to the calling PC value (c00aac84)
>> using add2line on your kernel image.
>>
>> e.g. arm-linux-gnueabihf-addr2line -e vmlinux -a c00aac84
> 
> That would rather be:
> arm-none-linux-gnueabi-addr2line
> 
> imx28 is an armv5 (who said that armv4 and armv5 were no longer in
> circulation ?).
> 
> :-)
> just nitpicking.
> 
> If you have a the multiarch binutils version installed, the default
> addr2line should work as well.
> 

"e.g." precisely stands for this, "to be replaced by the command that
fits". I'm not building for v4/5 these days.

-- 
Philippe.


      reply	other threads:[~2014-11-17 13:33 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-09 10:07 [Xenomai] "inconsistent lock state" on boot-up Stoidner, Christoph
2014-11-09 15:53 ` Gilles Chanteperdrix
2014-11-10  9:08   ` Stoidner, Christoph
2014-11-10 12:33     ` Stoidner, Christoph
2014-11-10 12:44       ` Gilles Chanteperdrix
2014-11-10 12:43     ` Gilles Chanteperdrix
2014-11-10 14:52       ` Jan Kiszka
2014-11-10 15:56         ` Gilles Chanteperdrix
2014-11-10 18:29           ` Jan Kiszka
2014-11-10 19:46             ` Gilles Chanteperdrix
2014-11-10 19:51               ` Gilles Chanteperdrix
2014-11-10 19:55               ` Jan Kiszka
2014-11-10 20:00                 ` Gilles Chanteperdrix
2014-11-10 20:02                   ` Jan Kiszka
2014-11-10 20:06                     ` Gilles Chanteperdrix
2014-11-10 20:10                       ` Jan Kiszka
2014-11-10 20:14                         ` Gilles Chanteperdrix
2014-11-10 20:17                           ` Jan Kiszka
2014-11-10 20:18                             ` Gilles Chanteperdrix
2014-11-10 20:22                               ` Jan Kiszka
2014-11-10 20:23                             ` Gilles Chanteperdrix
2014-11-10 20:28                               ` Jan Kiszka
2014-11-10 20:37                                 ` Gilles Chanteperdrix
2014-11-10 20:42                                   ` Jan Kiszka
2014-11-10 20:55                                     ` Gilles Chanteperdrix
2014-11-10 21:58                                       ` Gilles Chanteperdrix
2014-11-12 17:27                                         ` Gilles Chanteperdrix
2014-11-17 16:48                                           ` Jan Kiszka
2014-11-17 16:59                                             ` Gilles Chanteperdrix
2014-11-17 17:11                                               ` Jan Kiszka
2014-11-17 17:33                                                 ` Gilles Chanteperdrix
2014-11-17 19:07                                                   ` Jan Kiszka
2014-11-17 19:24                                                     ` Gilles Chanteperdrix
2014-11-18  6:19                                                       ` Jan Kiszka
2014-11-18  6:28                                                         ` Gilles Chanteperdrix
2014-11-11 17:33       ` Stoidner, Christoph
2014-11-11 17:46         ` Gilles Chanteperdrix
2014-11-11 18:04           ` Philippe Gerum
2014-11-17 10:01           ` Stoidner, Christoph
2014-11-17 10:22             ` Gilles Chanteperdrix
2014-11-17 11:13               ` Stoidner, Christoph
2014-11-17 11:30                 ` Philippe Gerum
2014-11-17 13:16                   ` Gilles Chanteperdrix
2014-11-17 11:49             ` Philippe Gerum
2014-11-17 11:51               ` Philippe Gerum
2014-11-17 13:10               ` Gilles Chanteperdrix
2014-11-17 13:33                 ` 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=5469F90D.4030101@xenomai.org \
    --to=rpm@xenomai.org \
    --cc=gilles.chanteperdrix@xenomai.org \
    --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.