[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Error: Device 0 not connected


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: "Code Monkey" <have.an.email@xxxxxxxxx>
  • Date: Fri, 1 Feb 2008 18:16:31 +0100
  • Delivery-date: Fri, 01 Feb 2008 09:17:18 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=bABlgPc3DkDpRgNur1T9tLRcFV4piiDvmnYvjGF57rguhSC6Rmw+KMfrdCICcQJ+ZztsAgbar5KRLtAHTI8r6Pc02QqCvp7imo+HYhLK/EAkaHHR7PnPmOu4OUOLIUqJMMk4z5pD8nYZf8FAj7VOabG3Dc+61DgGR2FLGOVoGVM=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Hi,

I'm new to Xen and I've set up a few domUs using Debian (I suspect
there may be a problem there, see at end).

To begin with everything worked OK, I rebooted domUs without any
problems, but twice now when I try when I try to restart or shutdown a
domain, the xm command locks up.

# xm list
Error: Device 0 not connected
Usage: xm list [options] [Domain, ...]

List information about all/some domains.
  -l, --long                     Output all VM details in SXP
  --label                        Include security labels

First time this happened was when I shutdown -r from inside a domU,
the domU never restarted, I rebooted the dom0, everything came up OK.
Then I created a new domU for testing and did an xm shutdown without
ever logging in, it happened again.

The domUs I did not shut down continue to work, and xentop continues
to work, though it displays

Found interface vif4.0 but domain 4 does not exist.
Found interface vbd-4-2050 but domain 4 does not exist.
Found interface vbd-4-2049 but domain 4 does not exist.
vbd-4-2050 is VBD.
vbd-4-2049 is VBD.
vbd-3-2050 is VBD.
vbd-3-2049 is VBD.
vbd-2-2050 is VBD.
vbd-2-2049 is VBD.
vbd-1-2050 is VBD.
vbd-1-2049 is VBD.

where 4 references the domU I shut down.

Since the domU I shut down had disappeared drom xentop, I tried
starting it again with xm create. When I tried with more memory
allotted in the cfg file (my original problem was that I wanted more
than 128MB RAM) I got

Error: The privileged domain did not balloon!

(logs saying

[2008-02-01 16:56:00 xend 2254] DEBUG (balloon:133) Balloon: 131852
KiB free; 0 to scrub; need 262144; retries: 20.
[2008-02-01 16:56:00 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1372 MiB.
[2008-02-01 16:56:00 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1372 MiB.
[2008-02-01 16:56:00 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1372 MiB.
[2008-02-01 16:56:00 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1372 MiB.
[2008-02-01 16:56:06 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1373 MiB.
[2008-02-01 16:56:06 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1373 MiB.
[2008-02-01 16:56:10 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1372 MiB.
[2008-02-01 16:56:10 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1372 MiB.
[2008-02-01 16:56:15 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1372 MiB.
[2008-02-01 16:56:15 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1372 MiB.
[2008-02-01 16:56:19 xend 2254] DEBUG (balloon:148) Balloon: setting
dom0 target to 1373 MiB.
[2008-02-01 16:56:19 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1014) Setting memory target of domain Domain-0 (0) to
1373 MiB.
[2008-02-01 16:56:21 xend.XendDomainInfo 2254] ERROR
(XendDomainInfo:202) Domain construction failed
)

When I tried with the same amount RAM as previously, I got

Error: Device 0 (vif) could not be connected. Hotplug scripts not working.

(logs saying
[2008-02-01 18:00:23 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:933) XendDomainInfo.handleShutdownWatch
[2008-02-01 18:00:23 xend 2254] DEBUG (DevController:143) Waiting for
devices vif.
[2008-02-01 18:00:23 xend 2254] DEBUG (DevController:149) Waiting for 0.
[2008-02-01 18:00:23 xend 2254] DEBUG (DevController:464)
hotplugStatusCallback /local/domain/0/backend/vif/6/0/hotplug-status.
[2008-02-01 18:02:03 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1449) XendDomainInfo.destroy: domid=6
[2008-02-01 18:02:03 xend.XendDomainInfo 2254] DEBUG
(XendDomainInfo:1457) XendDomainInfo.destroyDomain(6)
)


I had previously upgraded the dom0 from the original etch to lenny,
which did not go so well because the tls library reappeared, and I got
scared because I couldn't find the xen kernels for lenny, so I'm still
running the etch kernels. It is possible that the xen-tools come from
lenny. Could this be the problem? If so should I try pushing forward
to lenny (does Xen even work on default lenny without recompiling Xen
from scratch?) or should I start over with a clean etch ? If that
version mismatch isn't it, then I'm at a loss how to debug further,
perl debug isn't my forte.

Thanks for any help.

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.