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>, "'James Harper'" <james.harper@xxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] domain id number on xen unstable
From: "Venefax" <venefax@xxxxxxxxx>
Date: Mon, 9 Mar 2009 06:57:46 -0400
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, 'Keir Fraser' <keir.fraser@xxxxxxxxxxxxx>
Delivery-date: Mon, 09 Mar 2009 03:58:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:references :in-reply-to:subject:date:message-id:mime-version:content-type :content-transfer-encoding:x-mailer:thread-index:content-language; bh=8NNFlKzi5GQ/uUbz+eGsCHmH4efbKSdpB56Lc6LPN2Y=; b=Nw9zLfvk0ZCcauTK7pWlA0Igr4xqvms525bjrNgXJCae/SIWqW1w1Y1vSjpV1BZSfa fE6O2uFcU5jEw8/S+YV0+DXdH/AHYTFgrhs/b1HiwrG7yuWghO4Ti+7fWdKJ7UulnS/E laoLkDQIZV4AHhDvkpyeekXyT1TKmJiswZfa0=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :thread-index:content-language; b=bOfgPVCriDQCxTw5DKheQffz1CymghBH7I/ikZh33Jx89ezEYf8ja45HOu8oxDtEaa VLby4PIE7JHK6oU9S4BGXHyicd102zU7vFYjWyjTd7o8EaGPITNvRP3R8Pyqn5+aIA26 S7lm/BhY8ec1xqtwlZLAmaKx+hZTam8fmCcw8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <f4527be0903090349k504fbcd2r7a102dcff20da0d4@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> <AEC6C66638C05B468B556EA548C1A77D0162CB33@trantor> <f4527be0903090349k504fbcd2r7a102dcff20da0d4@xxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcmgpNJLALpDJppPR1Gs1t2IU0guTQAAO3TQ
I had the same bug and Suse support determined that you need at least two
processors assigned to dom0, otherwise you get that odd behavior.
Federico

-----Original Message-----
From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Andrew Lyon
Sent: Monday, March 09, 2009 6:50 AM
To: James Harper
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Keir Fraser
Subject: Re: [Xen-devel] domain id number on xen unstable

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


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