Skip to contentSkip to conversation

Xenomai suspends my kernel thread

Xenomai-help Philippe Gerum 1 participant 1 message Apr 13, 2007 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Branko

Hi Philippe!

Thanks for the reply.

Quoted 1 line
Quoted 1 line

Which kernel version, which Adeos patch revision are you using?

Kernel -> MPC8xx 2.4.25 (Denx based on Yellow Dog) Patch -> adeos-ipipe-2.4.25-ppc-CVS-20060707-1.2-01.patch

I'm afraid you are out of luck with 2.4/ppc kernels if PTE misses are suspected to occur. IIRC, they have only been fixed by recent Adeos patches for the Adeos 2.6/arm and 2.6/x86[_64] series. There would be no straightforward solution to your problem then, fixing the issue for 2.6/ppc too would be required.

Quoted 64 lines

Best regards,
Branko

-----Original Message-----
From: Philippe Gerum [mailto:[email protected]] On Behalf Of Philippe Gerum
Sent: Friday, April 13, 2007 11:43
To: Gilles Chanteperdrix
Cc: Branko; [email protected]
Subject: Re: [Xenomai-help] Xenomai suspends my kernel thread

Quoted 30 lines · Gilles Chanteperdrix
Quoted 29 lines · Branko
Quoted 29 lines

-----Original Message-----
From: Gilles Chanteperdrix [mailto:[email protected]]
Sent: Thursday, April 12, 2007 11:16
To: Branko
Cc: [email protected]
Subject: Re: [Xenomai-help] Xenomai suspends my kernel thread

Quoted 20 lines · Branko

Hello all!

I would be most grateful for your help.

I ported my PowerPC GNU/Linux C/C++ application to Xenomai.

When I ran the application everything looked fine.

However, with more intense data exchange, one of my interrupt handler threads did not react any longer.

I looked at the /var/log/messages file and I saw that Xenomai suspended my thread due to the exception 768.

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines

According to
https://mail.gna.org/public/xenomai-help/2006-11/msg00233.html I disabled CONFIG_XENO_OPT_DEBUG

from my kernel configuration, but the behaviour of my application did not change.

What version of Xenomai do you use ? Does your application use fork ?

If

Quoted 6 lines
Quoted 3 lines
Quoted 2 lines

yes, then you should switch to Xenomai 2.3.1.

I use Xenomai 2.3.1. I don't use fork in my application.

Philippe, Wolfgang, any idea ?

A lot of different situations may lead to a 0x300 exception code (including application errors), not necessarily related to the PTE misses issue we recently fixed for 2.6.

Which kernel version, which Adeos patch revision are you using?

Signature · 1 line
Philippe.