rt_task_create killed in user space
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
Quoted 5 lines · Bernhard Michael
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.
Quoted 7 lines
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 ?
Signature · 1 line
Gilles Chanteperdrix.
Quoted 4 lines · Gilles Chanteperdrix
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