WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

RE: [Xen-devel] domain id number on xen unstable

To: "Andrew Lyon" <andrew.lyon@xxxxxxxxx>, "Keir Fraser" <keir.fraser@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] domain id number on xen unstable
From: "James Harper" <james.harper@xxxxxxxxxxxxxxxx>
Date: Mon, 9 Mar 2009 21:35:40 +1100
Cc:
Delivery-date: Mon, 09 Mar 2009 03:36:19 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0903090316o18ba671v6b9079cfd4535bd@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <f4527be0903080732l58b62959tec8c4eaca8bd4653@xxxxxxxxxxxxxx><C5D99843.4775%keir.fraser@xxxxxxxxxxxxx> <f4527be0903090316o18ba671v6b9079cfd4535bd@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmgoDUpS27C9x3rToK5EZpg3S0g3AAAg+gQ
Thread-topic: [Xen-devel] domain id number on xen unstable
> > Monday -- you could try reverting it (hg revert 19250), re-install dom0
> > tools, and see if that helps.
> >
> >  -- Keir
> 
> Keir,
> 
> I tried that but it didn't help, however I noticed that there were
> several xen-hotplug-cleanup scripts running, and that script has
> changed between 3.3.1 and unstable, on my 3.3.1 system I can run the
> script and it exits very quickly, but on my unstable system the script
> can only be run once, after that it hangs trying to get the lock, I
> added a couple of echo's to the script as you can see below, only the
> first one is executed, the second is not and as the rest of the script
> is not run the lock is never released.
> 
> So the offending line is vm=$(xenstore-read
> "/local/domain/${path_array[2]}/vm")
> 
> Andy
> 

Andy,

What Dom0 kernel are you actually running? I spent ages tracking down a problem 
that didn't seem to be affecting anyone else but it turned out to be a bug in 
the linux Dom0 kernel.

The symptoms were (IIRC) that 'xm reboot' would shut the domain down but it 
would still be there in a cleaning up state. If I executed 'xm create' it would 
complete the reboot, but bits and pieces were also left running in xen and dom0 
so you could only get dom id up to about 70 or so before the whole system ran 
out of resources.

The bug would only come about if you limited Dom0 to a single CPU via 
'(dom0-cpus 1)' in xend-config.sxp.

If you are running a kernel that roughly matches your version of unstable then 
this won't be your problem.

James


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel