[LITMUS^RT] Creating a new plugin problem

Matteo matteo.locatelli1993 at gmail.com
Sun Apr 2 19:25:57 CEST 2017


The DEMO plugin isn't in the loaded file, but I can't understand why, 
it's the first time I'm trying to do something like that. Can you tell 
me a way to add the plugin? Thanks.

Matteo

On 02.04.2017 18:10, Namhoon Kim wrote:
> Hi Matteo,
>
> If you have successfully added DEMO plugin, you should see DEMO plugin 
> in /proc/litmus/plugins/loaded. Can you check the loaded plugins?
>
> Namhoon
>
> On Sun, Apr 2, 2017 at 11:50 AM, Matteo 
> <matteo.locatelli1993 at gmail.com 
> <mailto:matteo.locatelli1993 at gmail.com>> wrote:
>
>     Hi everyone, I want to develop a new plugin for LITMUS^RT, so I
>     downloaded the virtual image found on the website and I started to
>     follow the tutorial that I found on the wiki. I'm currently stuck
>     on step 2: I created the sched_demo.c file (copying the code from
>     the tutorial), added sched_demo.o to the obj-y list in the
>     Makefile located in the litmus folder and compiled the kernel
>     using make in the litmus-rt folder. When I try to run the
>     instruction setsched DEMO, it returns me this error:
>
>     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?
>
>     Can you tell me what I am doing wrong? Thanks.
>     Matteo Locatelli
>
>     _______________________________________________
>     litmus-dev mailing list
>     litmus-dev at lists.litmus-rt.org <mailto:litmus-dev at lists.litmus-rt.org>
>     https://lists.litmus-rt.org/listinfo/litmus-dev
>     <https://lists.litmus-rt.org/listinfo/litmus-dev>
>
>
>
>
> _______________________________________________
> 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/20170402/02c453c8/attachment-0001.html>


More information about the litmus-dev mailing list