From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: xenoka09@domain.hid
Cc: Xenomai GNA <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] blackfin kernel oops under heavy load
Date: Tue, 11 Jan 2011 17:10:36 +0100 [thread overview]
Message-ID: <4D2C80FC.7040903@domain.hid> (raw)
In-Reply-To: <alpine.DEB.1.10.1101111320530.16506@domain.hid>
Kolja Waschk wrote:
> Hi,
>
> I'd first like to report that I haven't yet been able
> to further examine the problems with gdb and pthread_cond_wait, which I asked
> about here some days ago. I found the bugs in my program which I was actually
> searching for with other tools, but will have another look when there's time.
>
> Now I experience kernel OOPS under heavy load. From the Hardware Trace, it
> looks like the problem is somehow Xenomai-related which is why I post about it here.
>
> Details about the situation: In /proc/xenomai/stat the two most busy tasks in my
> application consume each around 45 %CPU during stress tests. One of the threads
> receives data from a RTDM driver, and, because I have no RT driver for that
> channel yet, sometimes writes a few bytes to a non-RT serial port
> (/dev/ttyBF1). In other low prio tasks, IP network communication and stdio
> output takes place.
>
> The OOPS come as a "Illegal use of supervisor resource" or "NULL pointer
> access". In both cases, the Hardware Trace looks very similar - the oldest
> entries name _xnpod_schedule_deferred+0x26, followed by
> ___ipipe_sync_root+0x3a, _systen_call, __common_int_entry, and then either
> ___ipipe_trigger_irq (NULL pointer access) and _trap or __ipipe_sync_root
> (Illegal use of supervisor resource) and _trap.
>
> I use stock Blackfin 2.6.34-7 kernel (from dist 2010R1-RC5) with updated I-Pipe
> 1.14-02 and Xenomai 2.5.5.2 in kernel and userland on BF537.
Ok. Could you try with current xenomai-2.5 tip? We fixed a few things
which might, possibly, with some luck, be the cause of this issue.
To checkout current xenomai-2.5 tip, type:
git clone git://git.xenomai.org/xenomai-2.5.git
--
Gilles.
next prev parent reply other threads:[~2011-01-11 16:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-11 12:48 [Xenomai-help] blackfin kernel oops under heavy load Kolja Waschk
2011-01-11 16:10 ` Gilles Chanteperdrix [this message]
2011-01-11 18:02 ` Kolja Waschk
2011-01-11 18:07 ` Philippe Gerum
2011-01-11 18:18 ` Kolja Waschk
2011-01-11 18:27 ` Philippe Gerum
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=4D2C80FC.7040903@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=xenoka09@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.