<div dir="ltr"><div><div>Dear Concern,<br><br></div>Thank you for your reply. Finally I am able to sort out the problem. It was a problem with my grub configuration. It was not loading the right kernel package. <br><br><br>
</div><div>Now I am advancing with the DEMO plug in tutorial.<br></div><div>I have another question. Do I have to compile the whole kernel package each time I make any change in the demo plug in code.<br></div><div>I am asking this question cause it takes a huge time to make bzImage and install it each time.<br>
</div><div>So any suggestion to reduce the whole plug in implementation will be helpful more than I can say.<br><br></div><div>Thanks in advance <br><br></div><div>Sanjib <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Dec 28, 2013 at 3:06 PM, 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">
<div class="HOEnZb"><div class="h5"><br>
On 27.12.2013, at 01:33, Sanjib Das <<a href="mailto:cnt.sanjib@googlemail.com">cnt.sanjib@googlemail.com</a>> wrote:<br>
<br>
> Dear Concern,<br>
> First of all Wish you all a Happy New Year,<br>
> I am still trying to solve the problem registering DEMO plug in a single boot Ubuntu PC but I am running out of ideas. As its one part of my education part a soon possible reply will help a lot.<br>
><br>
> Another information about KVM. I am trying to load an kvm image of ubuntu which already included  with litmust patch. But it requires  an user name and password. So, this information is also required .<br>
><br>
> Thanks in advance<br>
><br>
> Sanjib<br>
><br>
><br>
> On Thu, Dec 19, 2013 at 11:04 PM, Sanjib Das <<a href="mailto:cnt.sanjib@googlemail.com">cnt.sanjib@googlemail.com</a>> wrote:<br>
> Hi,<br>
> If I am not mistaken I have followed the steps from litmus-rt wiki. Codes are just copy pest.<br>
> I have attached my sched_demo.c.<br>
><br>
> Thanks in advance<br>
><br>
> Sanjib<br>
><br>
><br>
> On Thu, Dec 19, 2013 at 9:00 PM, Björn Brandenburg <<a href="mailto:bbb@mpi-sws.org">bbb@mpi-sws.org</a>> wrote:<br>
><br>
> On 19 Dec 2013, at 00:55, Sanjib Das <<a href="mailto:cnt.sanjib@googlemail.com">cnt.sanjib@googlemail.com</a>> wrote:<br>
> > I have added sched_demo.o in the Makefile, and compile kernel using 'make bzImage' then make modules following make module_install and make install. then update grub for the new kernel version.<br>
> > After reboot your given command gives the following output::<br>
> > sdas@sd-lab:~$ dmesg | grep 'Registering'<br>
> > [    0.427574] PM: Registering ACPI NVS region [mem 0x77758000-0x777befff] (421888 bytes)<br>
> > [    3.448036] Registering LITMUS^RT plugin Linux.<br>
> > [    3.448188] Registering LITMUS^RT plugin GSN-EDF.<br>
> > [    3.448192] Registering LITMUS^RT plugin PSN-EDF.<br>
> > [    3.448205] Registering LITMUS^RT plugin P-FP.<br>
> > [    3.448206] Registering LITMUS^RT plugin C-EDF.<br>
> > sdas@sd-lab:~$<br>
> ><br>
><br>
> Weird. Can you please post your sched_demo.c?<br>
><br>
> Thanks,<br>
> Björn<br>
<br>
<br>
</div></div>Dear Sanjib,<br>
<br>
somehow your plugin file is not properly hooked up to the build system. The kernel should definitely print "Registering LITMUS^RT plugin DEMO” during the boot process, regardless of whether the plugin is correctly implemented or not. You can verify this yourself by inspecting the implementation of register_sched_plugin() in litmus/sched_plugin.c. You’ll need to figure out why demo file is not being linked into the kernel image. As a start, you should verify that it is being compiled (e.g., by introducing a syntax error and verifying that the build fails).<br>

<br>
Regards,<br>
<div class="HOEnZb"><div class="h5">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>
</div></div></blockquote></div><br></div>