* [Xenomai-help] Problems running a UVM vxWorks application (missing mlockall?)
@ 2006-04-26 19:23 Niklaus Giger
2006-04-27 6:58 ` Philippe Gerum
0 siblings, 1 reply; 2+ messages in thread
From: Niklaus Giger @ 2006-04-26 19:23 UTC (permalink / raw)
To: xenomai
Hi
I get the following problem running my vxWorks based application
Xenomai/uvm: real-time nucleus v2.2-dev (Engines Of Creation) loaded.
Xenomai: process memory not locked (missing mlockall?)
Compiling and running koan_uvm under ksrc/skins/vxworks/demos is no problem,
e.g. I get
ng:/home/hcu/kernel/xenomai-head/ksrc/skins/vxworks/demos# ./koan_uvm
Xenomai/uvm: real-time nucleus v2.2-dev (Engines Of Creation) loaded.
starting VxWorks services.
START ktest
Entering TaskTest
Time = 0 ms. (0 ns.)
STOP ktest
Time = 47 ms. (47121744 ns.)
Time = 49 ms. (49999782 ns.)
Time = 50 ms. (50001464 ns.)
If I start my application after running koan_uvm, it starts up without
problem.
Has anybody an explanation for this problem here?
Best regards
--
Niklaus Giger
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Problems running a UVM vxWorks application (missing mlockall?)
2006-04-26 19:23 [Xenomai-help] Problems running a UVM vxWorks application (missing mlockall?) Niklaus Giger
@ 2006-04-27 6:58 ` Philippe Gerum
0 siblings, 0 replies; 2+ messages in thread
From: Philippe Gerum @ 2006-04-27 6:58 UTC (permalink / raw)
To: niklaus.giger; +Cc: xenomai
Niklaus Giger wrote:
> Hi
>
> I get the following problem running my vxWorks based application
> Xenomai/uvm: real-time nucleus v2.2-dev (Engines Of Creation) loaded.
> Xenomai: process memory not locked (missing mlockall?)
>
> Compiling and running koan_uvm under ksrc/skins/vxworks/demos is no problem,
> e.g. I get
> ng:/home/hcu/kernel/xenomai-head/ksrc/skins/vxworks/demos# ./koan_uvm
> Xenomai/uvm: real-time nucleus v2.2-dev (Engines Of Creation) loaded.
> starting VxWorks services.
> START ktest
> Entering TaskTest
> Time = 0 ms. (0 ns.)
> STOP ktest
> Time = 47 ms. (47121744 ns.)
> Time = 49 ms. (49999782 ns.)
> Time = 50 ms. (50001464 ns.)
>
> If I start my application after running koan_uvm, it starts up without
> problem.
>
> Has anybody an explanation for this problem here?
>
Could you load your app over GDB, put a breakpoint in mlockall, and see
whether the breakpoint is hit before the error is raised?
--
Philippe.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-27 6:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-26 19:23 [Xenomai-help] Problems running a UVM vxWorks application (missing mlockall?) Niklaus Giger
2006-04-27 6:58 ` Philippe Gerum
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.