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-users

[Xen-users] + xm create still fails +

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] + xm create still fails +
From: Shabs <shabswork@xxxxxxxxxxx>
Date: Mon, 24 Apr 2006 19:03:49 +0100 (BST)
Delivery-date: Tue, 25 Apr 2006 02:48:26 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=lq4OgAN1Vr6SdNcPb8nCUE7M8pMZ4ygr6lLtjIFNLJMUJmUwtknfYnUXO6CnUyyKO1+v86sZXa2jcH/N/xjsxHfisCerKp6Y6tZSwVraDblsEMENo0AW9bJ4UQq0DFsi1twRK1gPhA+ZM/Xv+45ZMDMZs+iwHEH1qZjn9Xy9RNc= ;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi

Can anyone explain why xm create is failing for me?

Thanks

[root@localhost log]# xm list
Name                              ID Mem(MiB) VCPUs State  Time(s)
Domain-0                           0      936     1 r-----   195.9
[root@localhost log]#

----------------

[root@localhost log]# xm create -c vmid=2 sr-config1
Using config file "/etc/xen/sr-config1".
Error: Device hda2 (770, vbd) is already connected.
[root@localhost log]#
 
----------------

[root@localhost log]# tail xend.log
[2006-04-24 18:27:49 xend] DEBUG (image:173) dom            = 1
[2006-04-24 18:27:49 xend] DEBUG (image:174) image          = /boot/vmlinuz-2.6.16-xen3_86.1_fc4
[2006-04-24 18:27:49 xend] DEBUG (image:175) store_evtchn   = 1
[2006-04-24 18:27:49 xend] DEBUG (image:176) console_evtchn = 2
[2006-04-24 18:27:49 xend] DEBUG (image:177) cmdline        =  root=/dev/hda2 ro 4 VMID=2 usr=/dev/hda2
[2006-04-24 18:27:49 xend] DEBUG (image:178) ramdisk        =
[2006-04-24 18:27:49 xend] DEBUG (image:179) vcpus          = 1
[2006-04-24 18:27:49 xend] DEBUG (image:180) features       =
[2006-04-24 18:27:49 xend] DEBUG (DevController:103) DevController: writing {'virtual-device': '770', 'backend-id': '0', 'state': '1', 'backend': '/local/domain/0/backend/vbd/1/770'} to /local/domain/1/device/vbd/770.
[2006-04-24 18:27:49 xend] DEBUG (DevController:105) DevController: writing {'domain': 'VM2', 'frontend': '/local/domain/1/device/vbd/770', 'dev': 'hda2', 'state': '1', 'params': 'hda9', 'mode': 'w', 'frontend-id': '1', 'type': 'phy'} to /local/domain/0/backend/vbd/1/770.
[2006-04-24 18:27:49 xend.XendDomainInfo] ERROR (XendDomainInfo:190) Domain construction failed
Traceback (most recent call last):
  File "/var/tmp/xen-3.0.2.2-86.1_fc4-root/usr/lib/python/xen/xend/XendDomainInfo.py", line 183, in create
  File "/var/tmp/xen-3.0.2.2-86.1_fc4-root/usr/lib/python/xen/xend/XendDomainInfo.py", line 1233, in initDomain
  File "/var/tmp/xen-3.0.2.2-86.1_fc4-root/usr/lib/python/xen/xend/XendDomainInfo.py", line 1393, in createDevices
  File "/var/tmp/xen-3.0.2.2-86.1_fc4-root/usr/lib/python/xen/xend/XendDomainInfo.py", line 1009, in createDevice
  File "/var/tmp/xen-3.0.2.2-86.1_fc4-root/usr/lib/python/xen/xend/server/DevController.py", line 99, in createDevice
VmError: Device hda2 (770, vbd) is already connected.
[2006-04-24 18:27:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1327) XendDomainInfo.destroy: domid=1
[2006-04-24 18:27:49 xend.XendDomainInfo] DEBUG (XendDomainInfo:1335) XendDomainInfo.destroyDomain(1)



Yahoo! Cars NEW - sell your car and browse thousands of new and used cars online search now
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] + xm create still fails +, Shabs <=