Problems running a UVM vxWorks application (missing mlockall?)
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
Signature · 1 line
Niklaus Giger
Quoted 17 lines · Niklaus Giger
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_uvmunder 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.)
Quoted 4 lines
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?
Signature · 1 line
Philippe.