<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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.<br>
    <br>
    Matteo<br>
    <br>
    <div class="moz-cite-prefix">On 02.04.2017 18:10, Namhoon Kim wrote:<br>
    </div>
    <blockquote
cite="mid:CADUEEURBn9EVYWdquLT83yOWAefCOLd0eJRRRKXRbRwzWR5x-A@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi Matteo,<br>
            <br>
          </div>
          If you have successfully added DEMO plugin, you should see
          DEMO plugin in /proc/litmus/plugins/loaded. Can you check the
          loaded plugins? <br>
          <br>
        </div>
        Namhoon<br>
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>
                      <div class="gmail_extra"><br>
                        <div class="gmail_quote">On Sun, Apr 2, 2017 at
                          11:50 AM, Matteo <span dir="ltr"><<a
                              moz-do-not-send="true"
                              href="mailto:matteo.locatelli1993@gmail.com"
                              target="_blank">matteo.locatelli1993@gmail.<wbr>com</a>></span>
                          wrote:<br>
                          <blockquote class="gmail_quote"
                            style="margin:0 0 0 .8ex;border-left:1px
                            #ccc solid;padding-left:1ex">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:<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>
                            Can you tell me what I am doing wrong?
                            Thanks.<br>
                            Matteo Locatelli<br>
                            <br>
                            ______________________________<wbr>_________________<br>
                            litmus-dev mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:litmus-dev@lists.litmus-rt.org"
                              target="_blank">litmus-dev@lists.litmus-rt.org</a><br>
                            <a moz-do-not-send="true"
                              href="https://lists.litmus-rt.org/listinfo/litmus-dev"
                              rel="noreferrer" target="_blank">https://lists.litmus-rt.org/li<wbr>stinfo/litmus-dev</a><br>
                          </blockquote>
                        </div>
                        <br>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
litmus-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:litmus-dev@lists.litmus-rt.org">litmus-dev@lists.litmus-rt.org</a>
<a class="moz-txt-link-freetext" href="https://lists.litmus-rt.org/listinfo/litmus-dev">https://lists.litmus-rt.org/listinfo/litmus-dev</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>