All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-help] rt_task_create killed in user space
@ 2007-05-08 13:44 Bernhard Michael
  2007-05-08 13:48 ` Gilles Chanteperdrix
  0 siblings, 1 reply; 3+ messages in thread
From: Bernhard Michael @ 2007-05-08 13:44 UTC (permalink / raw)
  To: xenomai

Hello

I've build a xenomai test application which consists of a kernel module
and a user space application. My target platform is a ARM XScale processor.

The kernel module is running fine but the user space application gets
always killed when calling rt_task_create. The use of the same
functionality in the kernel module is no problem.

Running the latency test is no problem however.

Did somebody experience the same problem? Help is much appreciated.

Michael


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] rt_task_create killed in user space
  2007-05-08 13:44 [Xenomai-help] rt_task_create killed in user space Bernhard Michael
@ 2007-05-08 13:48 ` Gilles Chanteperdrix
  2007-05-08 14:12   ` Bernhard Michael
  0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2007-05-08 13:48 UTC (permalink / raw)
  To: Bernhard Michael; +Cc: xenomai

Bernhard Michael wrote:
 > Hello
 > 
 > I've build a xenomai test application which consists of a kernel module
 > and a user space application. My target platform is a ARM XScale processor.
 > 
 > The kernel module is running fine but the user space application gets
 > always killed when calling rt_task_create. The use of the same
 > functionality in the kernel module is no problem.
 > 
 > Running the latency test is no problem however.
 > 
 > Did somebody experience the same problem? Help is much appreciated.

Maybe you forgot to call mlockall, don't you get an error message saying
so ?

-- 


					    Gilles Chanteperdrix.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xenomai-help] rt_task_create killed in user space
  2007-05-08 13:48 ` Gilles Chanteperdrix
@ 2007-05-08 14:12   ` Bernhard Michael
  0 siblings, 0 replies; 3+ messages in thread
From: Bernhard Michael @ 2007-05-08 14:12 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

Gilles Chanteperdrix wrote:
> 
> Maybe you forgot to call mlockall, don't you get an error message saying
> so ?
> 

Calling mlockall before rt_task_create solved the problem! Thank you Gilles.

I didn't get an error message saying something like that. Just 'killed'.
Because I have no swap memory and I disabled this kernel feature, I
thought that the call of mlockall is not necessary.

Thanks again

Michael


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-05-08 14:12 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-08 13:44 [Xenomai-help] rt_task_create killed in user space Bernhard Michael
2007-05-08 13:48 ` Gilles Chanteperdrix
2007-05-08 14:12   ` Bernhard Michael

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.