[LITMUS^RT] [starting LITMUS]
Dhanny R
dhanker2626 at gmail.com
Thu May 28 12:56:32 CEST 2015
for the following command u said, no.1, 2, 3, n 4, my result are : "no such
file directory"
but i dont know where i'm miss the configuration, may i know if my step are
wrong?
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..
then i install LITMUS with the configuration preempt :
in root:uname -a
Linux vm1 3.10.41 #2 SMP PREEMPT Sun May 17 23:52:27 WIB 2015 x86_64 x86_64
x86_64 GNU/Linux
after finish instalation LITMUS, i install liblitmus and ft_tools, after
finish, still in root, i check ls :
Desktop litmus-rtxen
ft_tools liblitmus
in directory litmus-rtxen, i check ls :
arch Documentation init lib net security
block drivers ipc litmus README sound
COPYING firmware Kbuild MAINTAINERS REPORTING-BUGS tools
CREDITS fs Kconfig Makefile samples usr
crypto include kernel mm scripts virt
in directory liblitmus, i check ls :
arch cycles locks.d release_ts.d showsched
base_mt_task cycles.d locks.o release_ts.o src
base_mt_task.d cycles.o Makefile rt_launch syscalls.d
base_mt_task.o Doxyfile measure_syscall rt_launch.d syscalls.o
base_task fdso.d migration.d rt_launch.o task.d
base_task.d fdso.o migration.o rtspin task.o
base_task.o inc nesting.d rtspin.d
test_catalog.inc
bin include nesting.o rtspin.o tests
clocks.d INSTALL null_call.d runner.d uncache
clocks.o kernel_iface.d null_call.o runner.o uncache.d
common.d kernel_iface.o pcp.d runtests uncache.o
common.o liblitmus.a pcp.o sched.d
core_api.d litmus.d README sched.o
core_api.o litmus.o release_ts setsched
in directory ft_tools, i check ls :
ft2csv ftcat.o ftsort.d mapping.d st-global-exp-0.bin
ft2csv.d ftdump ftsort.o mapping.o st-global-exp-1.bin
ft2csv.o ftdump.d include src st_trace
ftcat ftdump.o LICENSE st--0.bin timestamp.d
ftcat.d ftsort Makefile st--1.bin timestamp.o
could u help me, if my instalation missing something?
any solution for this, very2 thank you, coz i'm newbie here,
thanks
regards..
On Thu, May 28, 2015 at 11:43 AM, Björn Brandenburg <bbb at mpi-sws.org> wrote:
>
> > On 28 May 2015, at 04:34, Dhanny R <dhanker2626 at gmail.com> wrote:
> >
> > 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?
>
> If you are running a LITMUS^RT kernel, the steps you mentioned should work.
>
> > 2. what the 1st i must do or setting before this step?
>
> Hard to say. It should work out of the box, and we’ve not seen any
> problems surrounding plugin activation in quite a while.
>
> What’s the output of the following commands?
>
> 1) ls -lR /proc/litmus
>
> 2) cat /proc/litmus/plugins/loaded
>
> 3) echo PSN-EDF > /proc/litmus/active_plugin; cat
> /proc/litmus/active_plugin
>
> If step 3 fails, are there any debug messages in the kernel log?
>
> 4) setsched Linux; setsched GSN-EDF; setsched Linux; setsched PSN-EDF
>
> > 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(), ¶m) ok.
> > [ 387.033665] LITMUS^RT: Linux plugin rejects base_mt_task/1605.
> > task_mode(LITMUS_RT_TASK) failed: Invalid argument
>
> 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.
>
> - Björn
>
>
> _______________________________________________
> litmus-dev mailing list
> litmus-dev at lists.litmus-rt.org
> https://lists.litmus-rt.org/listinfo/litmus-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.litmus-rt.org/pipermail/litmus-dev/attachments/20150528/79d73353/attachment.html>
More information about the litmus-dev
mailing list