From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Heikki Lindholm <holindho@domain.hid>
Cc: Jan Kiszka <jan.kiszka@domain.hid>, xenomai@xenomai.org
Subject: Re: [Xenomai-core] latency kernel part crashes on ppc64
Date: Sun, 8 Jan 2006 20:23:16 +0100 [thread overview]
Message-ID: <17345.26276.110671.822369@domain.hid> (raw)
In-Reply-To: <43C14453.3040907@domain.hid>
Heikki Lindholm wrote:
> > o When and how does it crash? At start-up immediately? Or after a
> > while?
>
> I inserted some serial debug prints and it gets two passes to
> eval_outer_loop done (enter/exit function). After that it freezes.
> Without the debug printing it dies with kernel access of illegal memory
> at xnpod_schedule, which btw. has been quite a common place to die.
A way to know a bit more about this error would be to have a look at the
exact address given by the kernel oops in the disassembly of
xnpod_schedule and try and find which pointer is invalid. This is not
very subtle, but sometimes works.
One reason why there used to be some invalid pointers accesses in
xnpod_schedule was when the context switch routine (on x86) forgot to
declare a few output or clobbered registers. In this case, the compiler
may assume that the contents of the registers are correct, whereas the
context switch clobbered them.
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2006-01-08 19:23 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-08 14:34 [Xenomai-core] latency kernel part crashes on ppc64 Heikki Lindholm
2006-01-08 15:17 ` Jan Kiszka
2006-01-08 16:56 ` Heikki Lindholm
2006-01-08 18:03 ` Jan Kiszka
2006-01-08 18:31 ` Heikki Lindholm
2006-01-08 18:55 ` Jan Kiszka
2006-01-08 18:43 ` Heikki Lindholm
2006-01-08 19:23 ` Gilles Chanteperdrix [this message]
2006-01-08 21:02 ` Stelian Pop
2006-01-08 22:06 ` Jan Kiszka
2006-01-09 2:51 ` Philippe Gerum
2006-01-09 8:15 ` Jan Kiszka
2006-01-09 8:38 ` Philippe Gerum
2006-01-09 22:23 ` Gilles Chanteperdrix
2006-01-10 9:06 ` Philippe Gerum
2006-01-11 22:11 ` Gilles Chanteperdrix
2006-01-11 22:35 ` Jan Kiszka
2006-01-11 23:07 ` [Xenomai-core] latency kernel part fixed Philippe Gerum
2006-01-12 9:15 ` Wolfgang Grandegger
2006-01-12 12:52 ` [Xenomai-core] latency kernel part crashes on ppc64 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=17345.26276.110671.822369@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=holindho@domain.hid \
--cc=jan.kiszka@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.