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] Error: Device 0 (vkbd) is already connected.

To: "Alex Williamson" <alex.williamson@xxxxxx>
Subject: Re: [Xen-devel] Error: Device 0 (vkbd) is already connected.
From: "Cédric Schieli" <cschieli@xxxxxxxxx>
Date: Mon, 23 Apr 2007 21:51:28 +0200
Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 23 Apr 2007 12:50:08 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ahrOzrlCRgVw+aoDn7CFA9yWXPMgQnhFYk/UZ5qk3ao9BUIZB6sb3lco30Ehb4eOJ3ShHh4ZLB+vP0LhF0AeSxn8JRTdc66CJ9Ny1LhGGYv2tVq6lEjGHHsMakfav9+Re3VSYYk/Qe+T4WVOGy03GFsp/PrpF85DjRJE7TGVCRI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=nCKWBgcUXvdam1SY25G+kIqJIfYcsaFd6yJkUrBRnJFeW28k4l+iY3cytCHnSnV7u4yv1LVaYgbc8dbHB69/n4Svr2fk518c9eysX5ivCKYommv+A6L8C7YS3DrYVNfGKwp4K5itqfhfDVw5fw2H4NXOxrpzpd16uWOTCx3GJAg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <1176327139.6776.10.camel@lappy>
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>
References: <1176327139.6776.10.camel@lappy>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,


I can confirm this failure using 3.0.5-rc2 hypervisor and tools with a 3.0.4-1 2.6.16.38 Gentoo guest on i386.
After dom0 boot, the domU boots fine, vncfb runs fine.
If I halt the domU, I can't boot it again and get this error :
Device 0 (vkbd) is already connected.

All was running fine with 3.0.4-1 hypervisor and tools and same guest/config.


Regards,
Cédric

2007/4/11, Alex Williamson < alex.williamson@xxxxxx>:
Hi,

   Is vfb working well lately?  I thought I'd test it out on ia64 and it
works great, but only once per boot.  If I stop the domain and restart
it, I get the following:

Error: Device 0 (vkbd) is already connected.

To make sure this isn't an ia64 anomaly, I tried it on an x86_64 system.
Same thing, works the first time, reboot the domain and it's broken.  I
see someone reported a similar issue last month, but there was no
response:

http://lists.xensource.com/archives/html/xen-devel/2007-03/msg01141.html

The backtrace in xend.log looks like this:

[2007-04-11 15:23:07 2659] ERROR (__init__:1072) XendDomainInfo.initDomain: exce
ption occurred
Traceback (most recent call last):
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1518, in _initDomain
    self._createDevices()
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1316, in _createDevices
    devid = self._createDevice(devclass, config)
  File "//usr/lib/python/xen/xend/XendDomainInfo.py", line 1292, in _createDevice
    return self.getDeviceController(deviceClass).createDevice(devConfig)
  File "//usr/lib/python/xen/xend/server/DevController.py", line 111, in createDevice
    raise VmError("Device %s is already connected." % dev_str)
VmError: Device 0 (vkbd) is already connected.

My domain config file has the following options to enable vfb:

vfb = [ 'type=vnc, vnclisten=0.0.0.0, vncunused=1' ]
extra = "console=ttyS0 xencons=ttyS video=xenfb"

Is anyone able to make this work reliably more than once?  Thanks,

        Alex

--
Alex Williamson                             HP Open Source & Linux Org.


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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>