From: "=?ISO-8859-1?Q?C=E9dric_Schieli?=" Subject: Re: Error: Device 0 (vkbd) is already connected. Date: Mon, 23 Apr 2007 21:51:28 +0200 Message-ID: References: <1176327139.6776.10.camel@lappy> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1626311634==" Return-path: In-Reply-To: <1176327139.6776.10.camel@lappy> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alex Williamson Cc: xen-devel List-Id: xen-devel@lists.xenproject.org --===============1626311634== Content-Type: multipart/alternative; boundary="----=_Part_34092_26358479.1177357888151" ------=_Part_34092_26358479.1177357888151 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=E9dric 2007/4/11, Alex Williamson : > > 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.initDomai= n: > 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 =3D 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 =3D [ 'type=3Dvnc, vnclisten=3D0.0.0.0, vncunused=3D1' ] > extra =3D "console=3DttyS0 xencons=3DttyS video=3Dxenfb" > > 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@lists.xensource.com > http://lists.xensource.com/xen-devel > ------=_Part_34092_26358479.1177357888151 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,


I can confirm this failure using 3.0.5-rc2 hypervisor and to= ols 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=E9dric

2007/4/11, Alex Williamson= < alex.williamson@hp.com>:
Hi,

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

Error: Device 0 (vkbd) is alre= ady 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 ther= e 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:2= 3:07 2659] ERROR (__init__:1072) XendDomainInfo.initDomain: exce
ption o= ccurred
Traceback (most recent call last):
  File "//usr/lib/= python/xen/xend/XendDomainInfo.py", line 1518, in _initDomain
 = ;   self._createDevices()
  File "//usr/li= b/python/xen/xend/XendDomainInfo.py", line 1316, in _createDevices
    devid =3D self._createDevice(devclass, config)<= br>  File "//usr/lib/python/xen/xend/XendDomainInfo.py"= , line 1292, in _createDevice
    return self.getDev= iceController(deviceClass).createDevice(devConfig)
  File "//usr/lib/python/xen/xend/server/DevController.p= y", 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:
<= br>vfb =3D [ 'type=3Dvnc, vnclisten=3D
0.0.0.= 0, vncunused=3D1' ]
extra =3D "console=3DttyS0 xencons=3Dtt= yS video=3Dxenfb"

Is anyone able to make this work reliably more than once? &nbs= p;Thanks,

        Alex
--
Alex Williamson        &nbs= p;            &= nbsp;       HP Open Source & Linux Org.

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

------=_Part_34092_26358479.1177357888151-- --===============1626311634== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1626311634==--