From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gihan Munasinghe Subject: Re: [xl] a fault happens on pv domain reboot Date: Tue, 01 Jun 2010 15:53:52 +0100 Message-ID: <4C051F00.5050603@flexiant.com> References: <4C051C43.20806@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C051C43.20806@gmail.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Sergey Tovpeko Cc: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org 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@lists.xensource.com > http://lists.xensource.com/xen-devel > > -- Gihan Munasinghe R&D Team Leader Flexiant Ltd. www.flexiant.com