<div dir="ltr"><div>for the following command u said, no.1, 2, 3, n 4, my result are : "no such file directory"<br></div><div>but i dont know where i'm miss the configuration, may i know if my step are wrong?<br><br></div><div>after finish install rt-xen 2.0 with xen 4.5 include, i create 2 guest dom0 with ubuntu linux 3.10.41, for this time, they all okay..<br></div><div>then i install LITMUS with the configuration preempt :<br><br>in root:uname -a<br>Linux vm1 3.10.41 #2 SMP PREEMPT Sun May 17 23:52:27 WIB 2015 x86_64 x86_64 x86_64 GNU/Linux<br><br></div><div>after finish instalation LITMUS, i install liblitmus and ft_tools, after finish, still in root, i check ls :<br><br></div><div>Desktop litmus-rtxen<br>ft_tools liblitmus<br><br><br></div><div>in directory litmus-rtxen, i check ls : <br>arch Documentation init lib net security<br>block drivers ipc litmus README sound<br>COPYING firmware Kbuild MAINTAINERS REPORTING-BUGS tools<br>CREDITS fs Kconfig Makefile samples usr<br>crypto include kernel mm scripts virt<br><br></div><div>in directory liblitmus, i check ls : <br>arch cycles locks.d release_ts.d showsched<br>base_mt_task cycles.d locks.o release_ts.o src<br>base_mt_task.d cycles.o Makefile rt_launch syscalls.d<br>base_mt_task.o Doxyfile measure_syscall rt_launch.d syscalls.o<br>base_task fdso.d migration.d rt_launch.o task.d<br>base_task.d fdso.o migration.o rtspin task.o<br>base_task.o inc nesting.d rtspin.d test_catalog.inc<br>bin include nesting.o rtspin.o tests<br>clocks.d INSTALL null_call.d runner.d uncache<br>clocks.o kernel_iface.d null_call.o runner.o uncache.d<br>common.d kernel_iface.o pcp.d runtests uncache.o<br>common.o liblitmus.a pcp.o sched.d<br>core_api.d litmus.d README sched.o<br>core_api.o litmus.o release_ts setsched<br><br></div><div>in directory ft_tools, i check ls :<br>ft2csv ftcat.o ftsort.d mapping.d st-global-exp-0.bin<br>ft2csv.d ftdump ftsort.o mapping.o st-global-exp-1.bin<br>ft2csv.o ftdump.d include src st_trace<br>ftcat ftdump.o LICENSE st--0.bin timestamp.d<br>ftcat.d ftsort Makefile st--1.bin timestamp.o<br><br></div><div>could u help me, if my instalation missing something?<br></div><div>any solution for this, very2 thank you, coz i'm newbie here,<br><br></div><div>thanks<br></div><div>regards..<br></div><div><br><br><br><br><br><br><br><br><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 28, 2015 at 11:43 AM, Björn Brandenburg <span dir="ltr"><<a href="mailto:bbb@mpi-sws.org" target="_blank">bbb@mpi-sws.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On 28 May 2015, at 04:34, Dhanny R <<a href="mailto:dhanker2626@gmail.com">dhanker2626@gmail.com</a>> wrote:<br>
><br>
> hello,<br>
> i just finish install LITMUS^RT n patch liblitmus n ft_tools too, and i want to starting my experiment.<br>
><br>
> using ubuntu 12.04LTS 64bit, Xen 4.5, kernel 3.10.41 pyGRUB V0.6<br>
><br>
> i'm following the instruction from :<br>
> <a href="https://wiki.litmus-rt.org/litmus/UserspaceTools" target="_blank">https://wiki.litmus-rt.org/litmus/UserspaceTools</a><br>
><br>
> 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 :<br>
><br>
> Error: Cannot write to /proc/litmus/active_plugin. Do you have root privileges?<br>
> Error: Setting new plugin failed.<br>
> Are there any active real-time tasks?<br>
><br>
> i'm in root,<br>
><br>
> my question are :<br>
><br>
> 1. did i missing something before using setched?<br>
<br>
</span>If you are running a LITMUS^RT kernel, the steps you mentioned should work.<br>
<span class=""><br>
> 2. what the 1st i must do or setting before this step?<br>
<br>
</span>Hard to say. It should work out of the box, and we’ve not seen any problems surrounding plugin activation in quite a while.<br>
<br>
What’s the output of the following commands?<br>
<br>
1) ls -lR /proc/litmus<br>
<br>
2) cat /proc/litmus/plugins/loaded<br>
<br>
3) echo PSN-EDF > /proc/litmus/active_plugin; cat /proc/litmus/active_plugin<br>
<br>
If step 3 fails, are there any debug messages in the kernel log?<br>
<br>
4) setsched Linux; setsched GSN-EDF; setsched Linux; setsched PSN-EDF<br>
<span class=""><br>
> 3. when i want to write my coding in base_mt_task, the message error are :<br>
><br>
> ~/liblitmus# ./base_mt_task<br>
> RT Thread 0 active.<br>
> init_rt_thread() ok.<br>
> set_rt_task_param(gettid(), ¶m) ok.<br>
> [ 387.033665] LITMUS^RT: Linux plugin rejects base_mt_task/1605.<br>
> task_mode(LITMUS_RT_TASK) failed: Invalid argument<br>
<br>
</span>That’s expected. It just means that you cannot run a real-time task until you’ve configured a valid real-time scheduling policy. The “Linux” plugin serves as a dummy plugin and simply rejects all tasks during admission control.<br>
<br>
- Björn<br>
<br>
<br>
_______________________________________________<br>
litmus-dev mailing list<br>
<a href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a><br>
<a href="https://lists.litmus-rt.org/listinfo/litmus-dev" target="_blank">https://lists.litmus-rt.org/listinfo/litmus-dev</a><br>
</blockquote></div><br></div>