All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jeff Webb <jeff.webb@domain.hid>
To: Xenomai help <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] invalid use of FPU in Xenomai context
Date: Fri, 15 Sep 2006 15:33:08 -0500	[thread overview]
Message-ID: <450B0E04.3070506@domain.hid> (raw)
In-Reply-To: <17674.48814.824895.814925@domain.hid>

Gilles Chanteperdrix wrote:
> Jeff Webb wrote:
>  > Gilles Chanteperdrix wrote:
>  > > Jeff Webb wrote:
>  > >  > Does anyone have any ideas of what could trigger this besides not setting the fp attribute for the thread?
>  > > 
>  > > What version of Xenomai do you use ? I have updated the FPU support very
>  > > recently, so it would be interesting to know if you also get the error
>  > > when applying or reverting this change.
>  > 
>  > I am using Xenomai-2.2.2 with the two RTAI FIFO patches posted by Philippe a few days ago.  Do you have a patch that undoes the changes?  I could probably figure out how to generate one from subversion, if you know the revision of the change.  I do need the recent FIFO patches for the rest of my application to work properly, or I would just try an old version.  
>  > 
>  > I am using the 2.4 x86 UP kernel, if that makes any difference.
> 
> Sorry, sent the wrong patch. Try this one.

Unfortunately, I get the same results with this patch applied.  I haven't been able to isolate the problem yet.  I did discover that putting in a clock_nanosleep call at certain points in my simulation loop allowed the loop to execute to completion without any FPU errors.  Maybe this is a clue...  I do still get an FPU error message at some point after the main simulation loop is done, though.

Any more ideas regarding the source of my problem?  In my main loop, I am doing a few floating point calculations, stuffing some data to an RTAI FIFO, and then calling clock_nanosleep to wait for the next cycle.

Thanks,

Jeff




  parent reply	other threads:[~2006-09-15 20:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-14 22:47 [Xenomai-help] invalid use of FPU in Xenomai context Jeff Webb
2006-09-15  8:25 ` Philippe Gerum
2006-09-15 14:39   ` Jeff Webb
2006-09-15  9:12 ` Gilles Chanteperdrix
2006-09-15 14:43   ` Jeff Webb
     [not found]     ` <17674.48814.824895.814925@domain.hid>
2006-09-15 20:33       ` Jeff Webb [this message]
     [not found] <450B2BE1.1050105@domain.hid>
2006-09-16  4:38 ` Fw: [Fwd: Re: [Xenomai-help] invalid use of FPU in Xenomai context] Jeff Webb
2006-09-18 20:40   ` [Xenomai-help] invalid use of FPU in Xenomai context Jeff Webb
2006-09-18 21:23     ` Philippe Gerum
2006-10-25 20:00       ` Jeff Webb
2006-10-25 20:24         ` Jan Kiszka
2006-10-25 20:43           ` Jeff Webb
2006-10-25 23:37           ` Jeff Webb
2006-10-27 16:30             ` Jeff Webb

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=450B0E04.3070506@domain.hid \
    --to=jeff.webb@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.