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] More Xen troubles (with xend this time)

To: Jérôme Petazzoni <jp@xxxxxxxx>
Subject: Re: [Xen-devel] More Xen troubles (with xend this time)
From: Mike Wray <mike.wray@xxxxxxxxxx>
Date: Wed, 01 Dec 2004 10:19:23 +0000
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 01 Dec 2004 10:25:47 +0000
Envelope-to: xen+James.Bulpin@xxxxxxxxxxxx
In-reply-to: <41ACA972.2090200@xxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
References: <E1CZ8h0-0007Wq-00@xxxxxxxxxxxxxxxxx> <41ACA3A9.20305@xxxxxxxx> <20041130165753.GE22112@xxxxxxxxxxxx> <41ACA972.2090200@xxxxxxxx>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8a5) Gecko/20041122
Jérôme Petazzoni wrote:

Okay, and once we "lost" xend, there is no way to do anything ? (create, destroy, shutdown, get a console...)
You could try removing xend's database in /var/xen/xend-db -- you will
lose your domain's names but I've found that sometimes this allows
restarting xend when it's in the state where it doesn't want to start
anymore.
Interesting ! I did that, and then :

# xm list
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0 0 59 0 r---- 5915.7 Domain-16 16 63 0 -b--- 328.7 Domain-17 17 127 0 -b--- 699.8 Domain-21 21 0 0 ----c 0.0 Domain-22 22 0 0 ----c 0.0 I could successfully create a new domain attached to a console, and stop it ; but other stuff didn't work :

# xm console 16
Error: No console information

The problem is that if you remove xend-db xend no longer knows anything about
the running domains (like what inter-domain ports their consoles are on,
what their names are, what devices they have). So xend can no longer shut
them down properly because it doesn't know what devices to release.
This is why you get all the errors.

And xm shutdown didn't do anything, it seems. Destroying crashed domains didn't work either. It keeps spitting those messages every couple of seconds in xend.log :

[2004-11-30 18:06:44 xend] DEBUG (XendDomain:244) XendDomain>reap> domain died name=Domain-21 id=21 [2004-11-30 18:06:44 xend] INFO (XendDomain:564) Destroying domain: name=Domain-21 [2004-11-30 18:06:44 xend] DEBUG (XendDomain:244) XendDomain>reap> domain died name=Domain-22 id=22 [2004-11-30 18:06:44 xend] INFO (XendDomain:564) Destroying domain: name=Domain-22 [2004-11-30 18:06:44 xend] INFO (XendRoot:91) EVENT> xend.domain.exit ['Domain-21', '21', 'crash'] [2004-11-30 18:06:44 xend] INFO (XendRoot:91) EVENT> xend.domain.destroy ['Domain-21', '21'] [2004-11-30 18:06:44 xend] INFO (XendRoot:91) EVENT> xend.domain.exit ['Domain-22', '22', 'crash'] [2004-11-30 18:06:44 xend] INFO (XendRoot:91) EVENT> xend.domain.destroy ['Domain-22', '22']

Xend is trying to get rid of the domains, but because their devices aren't
freed (because you removed the info about them) the domains won't go away.
So xend keeps detecting crashed domains and trying to get rid of them.

Not the nicest behaviour - crashes don't happen very much so this path
is not well-explored.

xend-debug.log and xm dmesg are silent.

Anything useful I can try to get more information about this before I reboot the beast ? :-)

At this point you're pretty stuck. Time for a reboot.

Mike


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [Xen-devel] More Xen troubles (with xend this time), Mike Wray <=