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
_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help