All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Yigal Goldberger <yigal_gold@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] xenomai exceptions tracing
Date: Wed, 22 Jul 2009 11:45:10 +0200	[thread overview]
Message-ID: <1248255910.3992.383.camel@domain.hid> (raw)
In-Reply-To: <450733.63606.qm@domain.hid>

On Wed, 2009-07-22 at 02:28 -0700, Yigal Goldberger wrote:
> Hi Philippe,
> Thanks for replying .
> Indeed it's a powerpc . it is a mpc8272 freescale powerpc family cpu.
> I printed the kmsg log and that's what I printed in this email below ,
> from the kmsg log I see that the next message after this exception is
> from where the application is being shut down .
> Could this be a response to this exception , or is it just by chance printed straight after ?

This kind of exception is handled internally between the linux kernel
and the Xenomai core, it would not stop the application. Xenomai would
only kill a kernel-based RT thread dereferencing a bad memory area (with
a non-ambiguous message in the klog), which is certainly not the case
here. Linux would kill a userland thread doing the same (RT / non-RT,
regardless) with a signal.

This is not what happens here. You may want to enable CONFIG_PRINTK_TIME
to have timestamps on your kernel messages, in order to confirm this.

> Thanks,
> Yigal. 
> 
> --- On Wed, 7/22/09, Philippe Gerum <rpm@xenomai.org> wrote:
> 
> > From: Philippe Gerum <rpm@xenomai.org>
> > Subject: Re: [Xenomai-help] xenomai exceptions tracing
> > To: "Yigal Goldberger" <yigal_gold@domain.hid>
> > Cc: xenomai@xenomai.org
> > Date: Wednesday, July 22, 2009, 12:07 PM
> > On Wed, 2009-07-22 at 01:28 -0700,
> > Yigal Goldberger wrote:
> > > Hi all,
> > > I'm using kernel 2.6.29.4 with xenomai .
> > > I'm getting an exception 769 . I'd like to know what
> > this exception means (or hints where to look for it ).
> > > 
> > 
> > It looks like you are running a ppc system. Those are minor
> > MMU faults,
> > due to PTE misses that happen on some platforms (83xx and
> > 85xx come to
> > mind). Those get reported because you turned the nucleus
> > debug switch
> > on. Nothing bad in your case.
> > 
> > > 6>MTD_open
> > > <6>MTD_ioctl
> > > <6>MTD_open
> > > <6>MTD_ioctl
> > > <6>Xenomai: Switching 802Rdr to secondary mode
> > after exception #769 from user-sp
> > > ace at 0x10017cec (pid 974)
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 3.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 4.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 5.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 7.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 8.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 9.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 10.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 11.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 12.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 14.
> > > <6>Xenomai: Posix: closing message queue
> > descriptor 15.
> > > 
> > > Thanks,
> > > Yigal Goldberger.
> > > 
> > > 
> > >       
> > > 
> > > _______________________________________________
> > > Xenomai-help mailing list
> > > Xenomai-help@domain.hid
> > > https://mail.gna.org/listinfo/xenomai-help
> > -- 
> > Philippe.
> > 
> > 
> > 
> 
> 
>       
-- 
Philippe.




  reply	other threads:[~2009-07-22  9:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22  8:28 [Xenomai-help] xenomai exceptions tracing Yigal Goldberger
2009-07-22  9:04 ` Gilles Chanteperdrix
2009-07-22  9:07 ` Philippe Gerum
2009-07-22  9:28   ` Yigal Goldberger
2009-07-22  9:45     ` Philippe Gerum [this message]
     [not found] <0B45E93C5FF65740AEAE690BF3848B7AD386A4@domain.hid>
2009-07-22  9:04 ` Yigal Goldberger

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=1248255910.3992.383.camel@domain.hid \
    --to=rpm@xenomai.org \
    --cc=xenomai@xenomai.org \
    --cc=yigal_gold@domain.hid \
    /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.