[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] ARINC653



On 12/3/2013 7:07 AM, Simon Martin wrote:
> Hi Robbie,
>  
> Nate said that I should contact you if I was having problems with the 
> scheduler,
> and unfortunately I have.

I am actually back, so I can field this one.

>  
> As far as I can see I have created a cpupool with 1 CPU running the arinc653
> scheduler. Here the output from xl.
>  
> root@smartin-xen <mailto:root@smartin-xen>:~# xl cpupool-list
> Name               CPUs   Sched     Active   Domain count
> Pool-0               3    credit       y          1
> pv400                1  arinc653       y          1
>  
> However the domU I load into the pv400 cpupool is never scheduled. I found a 
> few
> mails talking about this, and it looks like I need to run a program on dom0 to
> configure the scheduler. I wrote the program and as far as I can see it should
> work, however whatever I do it fails. I tried to put a few printk statements 
> in
> the corresponding arinc653_sched_set but I don't see any output in the xl 
> dmesg,
> or domU log either.
>  
> I attach the code I wrote to configure the scheduler. It accepts one 
> parameter,
> the UUID of the dom_handle I need to specify. The mail I found wasn't too 
> clear
> so I test this using the dom0 UUID (00000000-0000-0000-0000-000000000000) and
> with the domU UUID as well. Both fail the do_sysctl call in
> xc_sched_arinc653_schedule_set (xc_arinc653.c line 51).
>  
> Can you give me some idea of what I'm doing wrong here?

Did you apply the patches I posted to the list a couple weeks ago?  I noticed
that you are calling the xc_sched_arinc653_schedule_set function without a pool
id, so I think the answer is no.

http://lists.xenproject.org/archives/html/xen-devel/2013-11/msg02549.html

Without these patches, you can only load a schedule into Pool-0.

If you just want to wait a little bit, I should be addressing Andrew's comments
soon, in order to get them into unstable.

   Nate

>  
> Regards.
>  


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.