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] can't start domU

To: Ewan Mellor <ewan@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] can't start domU
From: Hien Nguyen <hien1@xxxxxxxxxx>
Date: Thu, 17 Nov 2005 10:39:50 -0600
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 17 Nov 2005 16:39:34 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20051116233937.GC7281@xxxxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
It still happend with 7826:

changeset:   7826:9bf6f907b3ff
tag:         tip
user:        kaf24@xxxxxxxxxxxxxxxxxxxx
date:        Wed Nov 16 04:29:52 2005 +0100
summary:     Trivial coding style fix.

[root@x335-hien1 xen]# xm create -c x335-hien1-vm4.cfg.switch
Using config file "x335-hien1-vm4.cfg.switch".
Error: Device 0 (vif) could not be connected. Hotplug scripts not working
[root@x335-hien1 xen]# tail -30 /var/log/xend.log
[2005-11-17 10:25:32 xend] DEBUG (image:174) cmdline        = 
root=/dev/sde1 ro
ro selinux=0 3
[2005-11-17 10:25:32 xend] DEBUG (image:175) ramdisk        =
[2005-11-17 10:25:32 xend] DEBUG (image:176) vcpus          = 1
[2005-11-17 10:25:32 xend] DEBUG (blkif:24) exception looking up device 
number for /dev/sde1: [Errno 2] No such file or directory: '/dev/sde1'
[2005-11-17 10:25:32 xend] DEBUG (DevController:302) DevController: 
writing {'virtual-device': '2113', 'backend-id': '0', 'state': '1', 
'backend': '/local/domain/0/backend/vbd/23/2113'} to 
/local/domain/23/device/vbd/2113.
[2005-11-17 10:25:32 xend] DEBUG (DevController:304) DevController: 
writing {'domain': 'x335-rhel4-vm3', 'params': 
'/FC4-FILEVBD4/FC4-32-filevbd4', 'frontend-id': '23', 'type': 'file', 
'state': '1', 'dev': '/dev/sde1', 'frontend': 
'/local/domain/23/device/vbd/2113'} to 
/local/domain/0/backend/vbd/23/2113.
[2005-11-17 10:25:32 xend] DEBUG (DevController:302) DevController: 
writing {'virtual-device': '2096', 'backend-id': '0', 'state': '1', 
'backend': '/local/domain/0/backend/vbd/23/2096'} to 
/local/domain/23/device/vbd/2096.
[2005-11-17 10:25:32 xend] DEBUG (DevController:304) DevController: 
writing {'domain': 'x335-rhel4-vm3', 'params': 'sdd', 'frontend-id': '23', 
'type': 'phy', 'state': '1', 'dev': 'sdd', 'frontend': 
'/local/domain/23/device/vbd/2096'} to 
/local/domain/0/backend/vbd/23/2096.
[2005-11-17 10:25:32 xend] DEBUG (DevController:302) DevController: 
writing {'backend-id': '0', 'mac': 'AA:00:00:17:12:6D', 'handle': '0', 
'state': '1', 'backend': '/local/domain/0/backend/vif/23/0'} to 
/local/domain/23/device/vif/0.
[2005-11-17 10:25:32 xend] DEBUG (DevController:304) DevController: 
writing {'domain': 'x335-rhel4-vm3', 'handle': '0', 'script': 
'/etc/xen/scripts/vif-route', 'ip': '9.3.189.251', 'state': '1', 
'frontend': '/local/domain/23/device/vif/0', 'mac': 'AA:00:00:17:12:6D', 
'frontend-id': '23'} to /local/domain/0/backend/vif/23/0.
[2005-11-17 10:25:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:557) 
Storing VM details: {'ssidref': '0', 'uuid': 
'358df4d7-27f6-cc69-21e1-11a97b441f46', 'on_reboot': 'restart', 'image': 
"(linux (kernel /boot/vmlinuz-2.6-xenU) (root '/dev/sde1 ro') (args 'ro 
selinux=0 3') (vcpus 1) (vcpus 1) (boot c) (display localhost:10.0))", 
'on_poweroff': 'destroy', 'name': 'x335-rhel4-vm3', 'vcpus': '1', 
'vcpu_avail': '1', 'memory': '512', 'on_crash': 'restart', 'maxmem': 
'512'}
[2005-11-17 10:25:32 xend.XendDomainInfo] DEBUG (XendDomainInfo:582) 
Storing domain details: {'console/ring-ref': '122612', 'console/port': 
'2', 'name': 'x335-rhel4-vm3', 'console/limit': '1048576', 'vm': 
'/vm/358df4d7-27f6-cc69-21e1-11a97b441f46', 'domid': '23', 
'cpu/0/availability': 'online', 'memory/target': '524288', 
'store/ring-ref': '122613', 'store/port': '1'}
[2005-11-17 10:25:32 xend] DEBUG (DevController:88) Waiting for devices 
vif.
[2005-11-17 10:25:32 xend] DEBUG (DevController:94) Waiting for 0.
[2005-11-17 10:25:32 xend] DEBUG (DevController:361) hotplugStatusCallback 
/local/domain/0/backend/vif/23/0/hotplug-status.
[2005-11-17 10:25:37 xend] ERROR (SrvBase:87) Request wait_for_devices 
failed.
Traceback (most recent call last):
  File "/usr/lib/python/xen/web/SrvBase.py", line 85, in perform
    return op_method(op, req)
  File "/usr/lib/python/xen/xend/server/SrvDomain.py", line 68, in 
op_wait_for_devices
    return self.dom.waitForDevices()
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 1205, in 
waitForDevices    self.waitForDevices_(c)
  File "/usr/lib/python/xen/xend/XendDomainInfo.py", line 864, in 
waitForDevices_    return 
self.getDeviceController(deviceClass).waitForDevices()
  File "/usr/lib/python/xen/xend/server/DevController.py", line 90, in 
waitForDevices
    return map(self.waitForDevice, self.deviceIDs())
  File "/usr/lib/python/xen/xend/server/DevController.py", line 100, in 
waitForDevice
    raise VmError("Device %s (%s) could not be connected. "
VmError: Device 0 (vif) could not be connected. Hotplug scripts not 
working



Regards,

 Hien Nguyen
 Linux Technology Center             AUSTIN
 Phone: (512) 838-4140            Tie Line: 678-4140
 e-mail: hien1@xxxxxxxxxx




Ewan Mellor <ewan@xxxxxxxxxxxxx> 
11/16/2005 05:39 PM

To
Hien Nguyen/Austin/IBM@IBMUS
cc
xen-devel@xxxxxxxxxxxxxxxxxxx
Subject
Re: [Xen-devel] can't start domU






On Wed, Nov 16, 2005 at 01:23:22PM -0700, Hien Nguyen wrote:

> The problem occurred when configured xend-config.sxp with route. See
> detalies in the bug #392:
> [1]http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=392
> 
> changeset: 7793:090e44133d40
> tag: tip
> user: kaf24@xxxxxxxxxxxxxxxxxxxx
> date: Mon Nov 14 11:13:38 2005 +0100
> summary: Use make_lowmem_page_readonly/writable() in preference to the

This is fixed in changeset 7814:a064c5804eae.

Ewan.



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

<Prev in Thread] Current Thread [Next in Thread>