Wolfgang Grandegger wrote:
 > Hello,
 > I just realized the error message:
 >    Error after context switch from task 8(rtup-8) to task
 >    10(rtup_ufpp-10), FPU registers were set to 1000 (maybe task
 >    sleeper_ufps-0)
 > when running "switchtest" on an PPC under Linux 2.6.18 with Xenomai head 
 > of SVN. I have attached the full output log.

Are you sure you did ?

 >  Can some tell me what went 
 > exactly wrong and where I should start looking at?

It means that after a switch from task 8 to task 10, the FPU context is
the one of task 0. So, some context switches which should have switched
the FPU did not. If you are lucky, you should get this error

In order to investigate, you should try and reduce the number of tasks
created by switchtest. switchtest --help will tell you the list of tasks
created by switchtest by default, start from this list, and try removing
some tasks, keeping the failure. When you have the minimum set of tasks
that create the failure, try to trace the fpu switches, to see which one
does not do its job correctly.


                                            Gilles Chanteperdrix.

Xenomai-core mailing list

Reply via email to