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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] domain id number on xen unstable
From: Andrew Lyon <andrew.lyon@xxxxxxxxx>
Date: Sun, 8 Mar 2009 14:32:09 +0000
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Sun, 08 Mar 2009 07:32:34 -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=R7bUQgKs5G7GghReFOU99YO1NgvFDCpo684VAqVPmcw=; b=hNqapOpGmzU7HFD17P6HI1ouObQ0Z9MZrsyjLwSu3qIH3yNhQ52ZUW7Lq+JliA8EKT wcggff3y28+mjmeDimZKUlciGZpjsaeF88QqLoXXedBBLzhe9JvqyD/RlL6so1GaBYsC nOr2ILJFWYi1JbDHf4wySTayc4pgdhJcPmJNk=
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=aje0lJpuxBDa+6p4mE05bujJ5PJlwo5W0wDiCQ4W2EFMJHxxfh+HMYDMUqkPgMqJ+6 RWzj0aEG6kzs/gZL4ONuyMLHY4RGXARA61HBrD/danDkN3S/h6DEciOzoOoO+Cnx8je2 gu4kTW7QQ8deA02GJTMZTOBGv4WwKheOrRBt8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C5D72D3D.463C%keir.fraser@xxxxxxxxxxxxx>
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: <f4527be0903061120o73b6b925w319c2b63d1c88990@xxxxxxxxxxxxxx> <C5D72D3D.463C%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Fri, Mar 6, 2009 at 7:42 PM, Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:
> On 06/03/2009 19:20, "Andrew Lyon" <andrew.lyon@xxxxxxxxx> wrote:
>
>> Has anybody noticed that the domain id number seems to increment more
>> than usual on xen unstable? the first domU that I start gets id 2,
>> after a reboot its id 4, etc etc.
>>
>> I am also having some problems with "xm create" taking a very long
>> time and sometimes failing because devices are still in use or
>> "hotplug scripts are not responding", where I am using file backed
>> block devices the loop device is sometimes left connected after the
>> domain is shutdown, i have to losetup -d to remove it before i can
>> start the domain again.
>
> Allocation should still eb sequential. Maybe xend is taking two goes to
> start a domain.
>
>  -- Keir

The very first domain I create gets ID=2:

xm create win2008.cfg
Using config file "./win2008.cfg".
Started domain win2008 (id=2)

Should have id 1.

I've also noticed that if i shutdown the domain cleanly (ie from
inside windows) then I can start it again without any problems, but if
i have to use xm destroy then when I next try to start the domain the
xm process hangs, if I ctrl+c the xm process the domain is listed and
paused, I can unpause it and it seems to work ok.

xenstore-ls shows that some of the domain devices etc are not removed,
should they be when it is destroyed?

Andy



>
>
>

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