<div dir="ltr">Yes this appears to be the issue, thank you for the response.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Aug 5, 2013 at 12:48 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="im"><br>
On Aug 2, 2013, at 8:19 PM, Kevin Burns <<a href="mailto:kevinpb@vt.edu">kevinpb@vt.edu</a>> wrote:<br>
><br>
> I am currently trying to run the base_mt_task and base_task example programs with each scheduler. I have the most recent version of the litmus patch and litmus_rt kernel. I have compiled the kernel with all the schedulers enabled in the config.<br>

><br>
> The issue is that with a select few schedulers the task_mode(LITMUS_RT_TASK) fails with error: Invalid Argument. The select schedulers are Linux, PSN-EDF and P-FP. The others are successful.<br>
><br>
> Any thoughts on why this error is selective would be much appretiated. Thanks in advance.<br>
<br>
</div>base_mt_task and base_task are intended as templates for writing your own apps. To just run some dummy RT tasks, use rtspin (or rt_launch) instead.<br>
<br>
The error that you describe is likely due to the fact that the task resides on the wrong core. Under partitioned / clustered schedulers, the task must migrate to its assigned partition / cluster *before* it attempts to become a real-time task. Check out the -p option in rtspin.<br>

<br>
Linux is a dummy plugin that does not support LITMUS^RT tasks. Its primary purpose is to disable LITMUS^RT functionality during boot.<br>
<br>
Regards,<br>
Björn<br>
<br>
PS: In the future, please contact the mailing list for LITMUS^RT support issues. You'll get more timely answers from the list as many people other than me may be able to help you.<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><span><font color="#888888">Kevin Burns<br>Systems Software Research Group (SSRG)<br>Bradley Department of Electrical and Computer Engineering<br>Virginia Tech</font></span></div>

</div>