> Von: Philippe Gerum [mailto:[email protected]] > Gesendet: Donnerstag, 4. Juli 2013 14:09 > > 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 > > ... - 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.
Systems are running now (with CONFIG_XENO_HW_UNLOCKED_SWITCH not defined) without crashes so far; it seems that the issue is thereby prevented. Thank you for your advice! -- Best regards, Dietmar ________________________________________ manroland web systems GmbH -- Managing Director: Eckhard Hoerner-Marass Registered Office: Augsburg -- Trade Register: AG Augsburg -- HRB-No. 26816 -- VAT: DE281389840 Confidentiality note: This eMail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use or dissemination of this communication is strictly prohibited. If you have received this eMail in error, then please delete this eMail. ! Please consider your environmental responsibility before printing this eMail ________________________________________ _______________________________________________ Xenomai mailing list [email protected] http://www.xenomai.org/mailman/listinfo/xenomai
