From: Pankaj Parakh Subject: Re: Adding new scheduler in XEN 3.4.0 Date: Sat, 24 Oct 2009 19:23:30 +0530 Message-ID: <27a8ee1b0910240653r41911cd1la30f12fd06cb2edb@mail.gmail.com> References: <27a8ee1b0910240248v555b33b1m40a4b21fb1b10ceb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <27a8ee1b0910240248v555b33b1m40a4b21fb1b10ceb@mail.gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org I found the problem, I was not updating schedulers struct of schedule.c fil= e, there is no problem with procedure. the problem is with my rr sched..!!!! err.. On Sat, Oct 24, 2009 at 3:18 PM, Pankaj Parakh wrote: > > Hi, > > I was trying to add scheduler in Xen 3.4.0, and there is some problem wit= h the procedure I added, I know that because I have created a copy of credi= t scheduler named it as credit_2 (file attached), changed the functions and= struct declarations name (as there was conflict with existing credit sched= uler), and then did the following: > > 1. Added a entry for the same in schedule.c file. > 2. Added an entry for it in /xen/common/Makefile > > I am able to compile and install XEN after that using 'make xen' & 'make = install-xen' command but when I boot with the copy of credit scheduler i.e.= credit_2. the screen blacks out and system hangs. > I faced same problem while adding my round robin scheduler, till now I ha= d thought that there is a problem in the rr scheduler but now I am sure the= re is a problem with the procedure. > > Please help me in this regard. > -- Pankaj Parakh