On 07/04/2013 01:20 PM, [email protected] wrote:
Von: Philippe Gerum [mailto:[email protected]]
Gesendet: Donnerstag, 4. Juli 2013 11:18

On 07/04/2013 11:04 AM, [email protected] wrote:
We are having trouble with "Illegal instruction" (illegal opcode) crashes 
(dumping core) of
two different Xenomai programs on different computers, occuring approximately 
once every few
days. Here are some perhaps relevant details...

Linux kernel version: 2.6.34

Which I-pipe release?

... sorry for forgetting to mention - Adeos-Patch : 
ksrc/arch/powerpc/patches/adeos-ipipe-2.6.34.4-powerpc-2.10-05.patch

So, the two cases look somewhat similar: The "Illegal instruction" is reported 
around
pthread_setcanceltype@plt; there are legal branch instructions there as well as 
at the branch
target locations; pthread_setcanceltype@plt is called from timed wait functions
(pthread_wait_np() and rt_task_sleep() resp.).

We would be grateful for suggestions how to analyze and cure the problem.

This looks like mm woes. Is CONFIG_XENO_HW_UNLOCKED_SWITCH enabled?

Yes, CONFIG_XENO_HW_UNLOCKED_SWITCH=y. Should we try with it disabled?

Yes please. Until recently, enabling this feature introduced random mm-related issues under load. This only got properly fixed in patches for 3.5.7 and above.

--
Philippe.

_______________________________________________
Xenomai mailing list
[email protected]
http://www.xenomai.org/mailman/listinfo/xenomai

Reply via email to