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] [xl] a fault happens on pv domain reboot

To: Sergey Tovpeko <tsv.devel@xxxxxxxxx>
Subject: Re: [Xen-devel] [xl] a fault happens on pv domain reboot
From: Gihan Munasinghe <GMunasinghe@xxxxxxxxxxxx>
Date: Tue, 01 Jun 2010 15:53:52 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 01 Jun 2010 07:54:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C051C43.20806@xxxxxxxxx>
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: <4C051C43.20806@xxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.24 (Macintosh/20100228)
Sergey Tovpeko wrote:
Hello!

After doing reboot from the pv domain, the domain finishes his work.
xl destroys it, but then cann't create the new one. It seems a sort of race happens here between domain destroying and creation, but i'm not sure.

I came across with the same problem I put a sleep(2) in the code, I haven't had a chance to fully investigate the the root cause of this
See the following patch

This is trying to implement xl reboot and xl shutdown.

http://lists.xensource.com/archives/html/xen-devel/2010-05/msg01616.html


/var/log/xen/xl-debian-pv.log shows this:


Waiting for domain debian-pv (domid 6) to die [pid 5219]
Domain 6 is dead
Domain 6 needs to be clean: destroying the domain
Done. Rebooting now
libxl: error: libxl_dom.c:389:userdata_path unable to find domain info for domain 7: Resource temporarily unavailable
cannot save config file: Resource temporarily unavailable
libxl: error: libxl.c:747:libxl_domain_destroy xc_domain_pause failed for 7

I use the latest xen-unstable.hg.

Thank you for your attention.
Sergey Tovpeko

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




--
Gihan Munasinghe
R&D Team Leader
Flexiant Ltd.
www.flexiant.com


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