From: Philippe Gerum <rpm@xenomai.org>
To: roderik.wildenburg@domain.hid
Cc: xenomai@xenomai.org, wg@domain.hid
Subject: Re: [Xenomai-help] Floating Point Exceptions in RT-Tasks
Date: Fri, 06 Mar 2009 15:26:28 +0100 [thread overview]
Message-ID: <49B13294.4010903@domain.hid> (raw)
In-Reply-To: <5D63919D95F87E4D9D34FF7748CE2C2A0187317D@ARVMAIL1.mra.roland-man.biz>
roderik.wildenburg@domain.hid wrote:
>> Unfortunately, I'm not able to reproduce this bug on my side,
>> even using the
>> latest linuxppc_devel tree. I have attached my test code to
>> make sure we are
>> testing the same thing. This test code does raise the FPU
>> exception properly.
>
> This program produces a core here too (Xeno 2.4.6).
> May I remember that Thomas got a core too, when he forced a switch to secondary mode.
> Probably your task_suspend is something similar.
>
rt_task_suspend() is a conforming call; on behalf of a Xenomai task, it will
switch to (or remain in) _primary_ mode, this is precisely why this test is
using it. As a matter of fact, fetest.c does trigger the exception as well with
my setup, albeit it does not on yours, so the explanation must be elsewhere.
>
> Thomas´ original post from 13.2.09
> ===================================
> I successfully managed to enable FP Exceptions on our MPC5200 board for
> plain linux applications (via fesetenv). When I put the same trigger
> code (DivByZero) into a (native) RT task no exception is triggered until
> I force a mode switch to secondary mode (e.g. printf). How can I get
> them without performing the mode switch?
>
> --------------------------------------------------------
> manroland AG
> Vorsitzender des Aufsichtsrates: Hanno C. Fiedler
> Vorstand: Gerd Finkbeiner (Vorsitzender), Dr. Ingo Koch, Dr. Markus Rall, Paul Steidle
> Sitz der Gesellschaft: Offenbach am Main, Registergericht: Amtsgericht Offenbach HRB-Nr. 42592
> USt-Ident-Nr. DE 250200933
>
next prev parent reply other threads:[~2009-03-06 14:26 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-13 12:58 [Xenomai-help] Floating Point Exceptions in RT-Tasks thomas.debes
2009-02-13 13:16 ` Gilles Chanteperdrix
2009-02-13 14:01 ` Gilles Chanteperdrix
2009-02-16 6:19 ` thomas.debes
2009-02-18 14:07 ` thomas.debes
2009-02-18 14:12 ` Gilles Chanteperdrix
2009-02-18 14:16 ` thomas.debes
2009-02-18 14:31 ` Wolfgang Grandegger
2009-02-18 18:58 ` Wolfgang Grandegger
2009-02-18 19:04 ` Philippe Gerum
2009-02-18 19:10 ` Philippe Gerum
2009-02-19 9:25 ` thomas.debes
2009-02-19 15:14 ` Philippe Gerum
2009-02-19 15:19 ` Philippe Gerum
2009-02-19 17:21 ` thomas.debes
2009-02-20 8:44 ` roderik.wildenburg
2009-02-20 9:35 ` Philippe Gerum
2009-02-20 10:35 ` roderik.wildenburg
2009-03-03 14:04 ` thomas.debes
[not found] ` <49AE4264.6070506@domain.hid>
2009-03-05 8:01 ` thomas.debes
2009-03-05 8:17 ` thomas.debes
2009-03-05 9:18 ` Philippe Gerum
2009-03-05 14:13 ` roderik.wildenburg
2009-03-05 14:43 ` Philippe Gerum
2009-03-05 21:05 ` Wolfgang Grandegger
2009-03-05 21:20 ` Philippe Gerum
2009-03-06 18:27 ` Philippe Gerum
2009-03-23 14:25 ` roderik.wildenburg
2009-03-24 9:22 ` Philippe Gerum
2009-03-06 7:17 ` roderik.wildenburg
2009-03-06 10:44 ` Philippe Gerum
[not found] ` <49B10464.8010703@domain.hid>
2009-03-06 11:38 ` Philippe Gerum
2009-03-06 12:06 ` roderik.wildenburg
2009-03-06 14:26 ` Philippe Gerum [this message]
2009-02-13 14:40 ` Philippe Gerum
2009-02-16 6:00 ` thomas.debes
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=49B13294.4010903@domain.hid \
--to=rpm@xenomai.org \
--cc=roderik.wildenburg@domain.hid \
--cc=wg@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.