From: Kip Macy <kip.macy@gmail.com>
To: Nils Toedtmann <xen-devel@nils.toedtmann.net>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: Zombie VM?
Date: Tue, 12 Apr 2005 10:15:16 -0700 [thread overview]
Message-ID: <b1fa29170504121015536a6514@mail.gmail.com> (raw)
In-Reply-To: <1113300503.5869.10.camel@crusher.takatukaland.de>
I've seen this before. More frequently, when domain creation fails
mid-way the tools are frequently not smart enough to clean up after
themselves and you are left with "Domain-<domain id>" in a paused
state.
I'm not sure how you'd get both a running and a paused domain with the same id.
-Kip
On Apr 12, 2005 3:08 AM, Nils Toedtmann <xen-devel@nils.toedtmann.net> wrote:
> I did a "xm create freebsd" and got this:
>
> [root@ripley ~]# xm list
> Name Id Mem(MB) CPU State Time(s) Console
> Domain-0 0 92 0 r---- 3018.1
> Domain-20 20 64 1 --p-- 0.0
> freebsd 20 63 1 r---- 31491.5 9620
> [...]
>
> I have no "Domain-20" configured! I'm pretty sure i did not type in "xm
> create freebsd" twice, but even if, and even if the freebsd kernel is
> very buggy - there should never be two VMs with the same id, right?
> Looks like a bug in xend? I booted the freebsd VM several times before,
> and i cannot remember this effect, but maybe i just didn't notice it.
>
> The machine is still in this state because you may want me to run some
> tests (unpausing Domain-20?). All other VMs run fine (except freebsd
> going beserk again, but that's probably not xen's fault).
>
> Here is /var/log/xend.log:
>
> [2005-04-12 00:35:39 xend] DEBUG (XendDomainInfo:720) init_domain>
> Created domain=20 name=freebsd memory=64
> [2005-04-12 00:35:39 xend] INFO (console:94) Created console id=26
> domain=20 port=9620
> [2005-04-12 00:35:39 xend] DEBUG (XendDomainInfo:1130) Creating vbd
> dom=20 uname=file:/home/xen/images/freebsd-5.3-xendemo-2.0.5.test.slice
> [2005-04-12 00:35:39 xend] DEBUG (blkif:63) exception looking up
> device number for hda1: [Errno 2] No such file or directory: '/dev/hda1'
> [2005-04-12 00:35:39 xend] DEBUG (blkif:155) Connecting blkif
> <BlkifBackendInterface 20 0>
> [2005-04-12 00:35:39 xend] DEBUG (XendDomainInfo:1130) Creating vbd
> dom=20 uname=file:/home/xen/images/freebsd-hda2.fs
> [2005-04-12 00:35:39 xend] DEBUG (blkif:63) exception looking up
> device number for hda2: [Errno 2] No such file or directory: '/dev/hda2'
> [2005-04-12 00:35:39 xend] DEBUG (blkif:155) Connecting blkif
> <BlkifBackendInterface 20 0>
> [2005-04-12 00:35:39 xend] DEBUG (XendDomainInfo:1107) Creating vif
> dom=20 vif=0 mac=FE:FD:00:DE:AD:11
> [2005-04-12 00:35:39 xend] INFO (XendRoot:112) EVENT>
> xend.console.create [26, 20, 9620]
> [2005-04-12 00:35:39 xend] INFO (XendRoot:112) EVENT>
> xend.domain.create ['Domain-20', '20']
> [2005-04-12 00:35:39 xend] INFO (XendRoot:112) EVENT>
> xend.domain.create ['freebsd', '20']
> [2005-04-12 00:35:40 xend] INFO (XendRoot:112) EVENT>
> xend.domain.unpause ['freebsd', '20']
> [2005-04-12 00:35:41 xend] DEBUG (blkif:203) Connecting blkif to event
> channel <BlkifBackendInterface 20 0> ports=28:4
>
> Where does that "EVENT> xend.domain.create ['Domain-20', '20']" suddenly
> come from?
>
> The "exception looking up device number for hda" is not critical, that's
> normal with udev on dom0.
>
> /nils.
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel
>
prev parent reply other threads:[~2005-04-12 17:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-12 10:08 Zombie VM? Nils Toedtmann
2005-04-12 17:15 ` Kip Macy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b1fa29170504121015536a6514@mail.gmail.com \
--to=kip.macy@gmail.com \
--cc=xen-devel@lists.xensource.com \
--cc=xen-devel@nils.toedtmann.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.