From: Jan Kiszka <jan.kiszka@domain.hid>
To: "Michael Löffler" <ml+xenomai@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-core] Bug in rt_task_sleep() ?
Date: Sat, 28 Nov 2009 09:25:05 +0100 [thread overview]
Message-ID: <4B10DE61.60005@domain.hid> (raw)
In-Reply-To: <4B104F96.5090200@domain.hid>
[-- Attachment #1: Type: text/plain, Size: 1015 bytes --]
Michael Löffler wrote:
> Hello List!
>
> I have an application running rt_task_sleep() in a loop. After a more or
> less random number of loops, something up to 5000 cycles, the system
> reboots with the following error message:
>
> Kernel panic - not syncing:
> BUG!
> <4>BUG: failure at kernel/ipipe/core.c:319/__ipipe_restore_root()!
>
> For me it's not a bigger issue, as I can replace it with usleep() and
usleep means that your RT task leaves real-time space for the execution
of this Linux service. So you effectively avoid the permanent switch
between primary and secondary mode that your demo currently triggers due
to rt_task_sleep vs. printf.
> everything works fine, but maybe it's something, someone could have a
> closer look at. On my system (blackfin537-stamp, uclinux2008, xenomai
> 2.4.0) it can be reproduced with the following code:
Already tried with a non-outdated Xenomai release, namely 2.4.10 or 2.5
git? It makes no sense hunting already fixed bugs.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
prev parent reply other threads:[~2009-11-28 8:25 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-27 22:15 [Xenomai-core] Bug in rt_task_sleep() ? Michael Löffler
2009-11-28 8:25 ` Jan Kiszka [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=4B10DE61.60005@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=ml+xenomai@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.