[LITMUS^RT] [starting LITMUS]

Dhanny R dhanker2626 at gmail.com
Thu May 28 04:34:02 CEST 2015


hello,
i just finish install LITMUS^RT n patch liblitmus n ft_tools too, and i
want to starting my experiment.

using ubuntu 12.04LTS 64bit, Xen 4.5, kernel 3.10.41 pyGRUB V0.6

i'm following the instruction from :
https://wiki.litmus-rt.org/litmus/UserspaceTools

when starting "setched" the dialog box show the choice of Plugin, and when
i choose one of them like "PSN-EDF" the command show error message :

Error: Cannot write to /proc/litmus/active_plugin. Do you have root
privileges?
Error: Setting new plugin failed.
Are there any active real-time tasks?

i'm in root,

my question are :

1. did i missing something before using setched?
2. what the 1st i must do or setting before this step?
3. when i want to write my coding in base_mt_task, the message error are :

~/liblitmus# ./base_mt_task
RT Thread 0 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.033665] LITMUS^RT: Linux plugin rejects base_mt_task/1605.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 1 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.046991] LITMUS^RT: Linux plugin rejects base_mt_task/1606.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 2 active.
RT Thread 3 active.
init_rt_thread() ok.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
set_rt_task_param(gettid(), &param) ok.
[  387.062049] LITMUS^RT: Linux plugin rejects base_mt_task/1608.
[  387.062049] LITMUS^RT: Linux plugin rejects base_mt_task/1607.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 4 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.068115] LITMUS^RT: Linux plugin rejects base_mt_task/1609.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 5 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.080245] LITMUS^RT: Linux plugin rejects base_mt_task/1610.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 6 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.130499] LITMUS^RT: Linux plugin rejects base_mt_task/1611.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 7 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.177754] LITMUS^RT: Linux plugin rejects base_mt_task/1612.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 8 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.222373] LITMUS^RT: Linux plugin rejects base_mt_task/1613.
task_mode(LITMUS_RT_TASK) failed: Invalid argument
RT Thread 9 active.
init_rt_thread() ok.
set_rt_task_param(gettid(), &param) ok.
[  387.236093] LITMUS^RT: Linux plugin rejects base_mt_task/1614.
task_mode(LITMUS_RT_TASK) failed: Invalid argument

may anybody explain to me what happen with this? and how to resolved that,
thanks for the fast response and for the help..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20150528/9e86aa1f/attachment.html>


More information about the litmus-dev mailing list