Jeff Webb wrote: > If I run the attached program, I get the following result: > > [root]# ./mqtest2 > CPU time limit exceeded > > The kernel log contains: > > Oct 25 14:13:03 kernel: invalid use of FPU in Xenomai context at 0x80492f6
Can you do a backtrace in gdb? > > If I change the WRITE_SIZE #define at the top of the program to 511 > instead of 512, I do not get an error message, and the program works as > expected. > > I have tried this under two versions of Xenomai with the same result: > 1) Xenomai 2.2.3 with the FPU patch posted here: > https://mail.gna.org/public/xenomai-help/2006-09/msg00157.html > (adeos-ipipe-2.6.17-i386-1.4-00.patch) > 2) Xenomai 2.2.4 (adeos-ipipe-2.6.17-i386-1.5-00.patch) > > Other details: > Linux version 2.6.17.13 > AMD Athlon(tm)64 X2 Dual Core Processor 4400+ > Fedora Core 5 > SMP kernel > > This is very similar to a problem I described last month that affected > my linux-2.4 system: > https://mail.gna.org/public/xenomai-help/2006-09/msg00143.html . > Perhaps these problems are related. > > Does anyone see a problem with what I'm doing here? If not, can you > reproduce the problem? > Could you also try if this patch changes anything: https://mail.gna.org/public/xenomai-core/2006-10/msg00069.html (Could be the case if you happen to use some FPU-touching Linux driver.) Jan
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
