From: Andy Lee Subject: Re: Status of sedf? Date: Fri, 19 Aug 2005 00:31:39 -0700 Message-ID: <6.1.2.0.2.20050819002409.06ce8d60@secure.hitx.net> References: <6.1.2.0.2.20050806131339.054a8e40@secure.hitx.net> <6.1.2.0.2.20050817125001.0468f220@secure.hitx.net> <6.1.2.0.2.20050817193518.03091c30@secure.hitx.net> <200508181533.36009.sd386@cam.ac.uk> <6.1.2.0.2.20050818101008.083586e0@secure.hitx.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Return-path: In-Reply-To: <6.1.2.0.2.20050818101008.083586e0@secure.hitx.net> References: <6.1.2.0.2.20050806131339.054a8e40@secure.hitx.net> <6.1.2.0.2.20050817125001.0468f220@secure.hitx.net> <6.1.2.0.2.20050817193518.03091c30@secure.hitx.net> <200508181533.36009.sd386@cam.ac.uk> <6.1.2.0.2.20050818101008.083586e0@secure.hitx.net> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Stephan Diestelhorst Cc: xen-devel List-Id: xen-devel@lists.xenproject.org At 10:50 AM 8/18/2005, Andy Lee wrote: >> > >Sorry to report that the patch didn't work. I applied the patch to my >> > >Xen-2.0-testing tree and copied xen/common/sched_sedf.c from >> > >Xen-unstable. When compiling xen, sched_sedf.c generated these types of >> > >errors: >> >>Outch. Now I see... For some reason (forgot to do 'hg add' ) sched_sedf.c >>wasn't included. You can't use the unstable one, as it has a different naming >>scheme. >> >>Attached is the patch, this time WITH sched_sedf.c > >Also missing is xen-2.0-testing.hg/tools/libxc/xc_sedf.c - but this time, >I was able to use the xc_sedf.c from the unstable tree!!! :-) > >It compiles, but I encountered this problem: > >(Xen-2.0-testing) ># xm list >Name Id Mem(MB) CPU State Time(s) Console >Domain-0 0 251 0 r---- 14.1 >Sarge 1 127 0 -b--- 3.1 9601 > ># xm sedf 1 0 0 0 1 128 >Error: (22, 'Invalid argument') Oops, I placed "sched=sedf" on the wrong line in /boot/grub/menu.lst. Once I fixed it, the above xm command ("xm sedf Sarge 0 0 0 1 128") worked!!! Thank you! Thank you! Thank you! :-) >(Xen-unstable) ># xm sedf 1 0 0 0 1 128 >Unexpected error: exceptions.TypeError Ross McIlroy pointed out the fix. Thank you also!