[LITMUS^RT] Tutorial's demo scheduling plug-in conplications

Björn Brandenburg bbb at mpi-sws.org
Tue Mar 28 08:26:32 CEST 2017


> On 27 Mar 2017, at 22:23, Brittany Subialdea <bsubialdea at gmail.com> wrote:
> 
> I have installed litmus rt and liblitmus. I continued with the tutorial and included the demo file with the other plugins. I added it to the Makefile but when I run 'setsched DEMO' the result is:
>           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 used sudo su so I should have permissions to the files. 
> Similarly, when running 'setsched' alone the demo plugin is not included in the list. My adviser and I have both run through reinstalling but with the same results.  I was wondering if you might know what is causing this. ​

No, not based on the information that you provided. 
What’s the output of ‘uname -a’? 
What’s the output of ‘cat /proc/litmus/plugins/loaded’?
How did you install the kernel? Did you reboot?
Did you encounter any compilation errors?

- Björn




More information about the litmus-dev mailing list