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: James Harper <james.harper@xxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] domain id number on xen unstable
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Mon, 9 Mar 2009 10:49:53 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 09 Mar 2009 03:50:16 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=ZIvJAvyJVmBTkjMBO3E0hYGsOTuZ0A8ghpWludkjevY=; b=V4OR/Sdm/L55OJ45Sb2kze1oF71E6FISg1fTXIMTxScG+2cd7XNOG+dn4C07wEznPp d9Q8ZCXSJfP5wEsHvEfHIjf+siJB75PQc0MKxw6PEsPf5ajD6qCugTNdGWXIwtLEAvZu UEhd5slLiU0UZFrDIuvoei3zkh+QcGj1VnjrE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=B7q6Gx7/+lJlOXubrD55WpjZeh+qMzXrmHgz+t2O9D0OqodYfpIuHukL8eYjUz5F1l lgboDd6ZzSCGg0KbWgr+r2sjG6c3LeE+xAPtpI0s8/5j8OwI2nY4LK3ygj6cmA79dKJH YDdhX0r8uRrHLP3egPpxRS7NaTO0AcirdhkXE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AEC6C66638C05B468B556EA548C1A77D0162CB33@trantor>
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> <AEC6C66638C05B468B556EA548C1A77D0162CB33@trantor>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Mon, Mar 9, 2009 at 10:35 AM, James Harper
<james.harper@xxxxxxxxxxxxxxxx> wrote:
>> > 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 latest from http://xenbits.xensource.com/ext/linux-2.6.27-xen.hg


> 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