Subject: Re: Xen3 DomU spins 100% busy during console access
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: david l goodrich <dlg@dorkzilla.org>
List: port-xen
Date: 12/04/2006 10:37:28
--HlL+5n6rz5pIUxbD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Dec 04, 2006 at 04:46:25PM +0100, Manuel Bouyer wrote:
> On Mon, Dec 04, 2006 at 09:10:37PM +0900, Kazushi Marukawa wrote:
> >    On Dec 3, 16:45, Simon Truss wrote:
> >    > Subject: Xen3 DomU spins 100% busy during console access
> >    > I was in vim in insert mode and just pasted a large selection into=
 the=20
> >    > xenconsole - instant busy lockup. Once I figured out what caused i=
t I=20
> >    > was able to repeat this 5 out of 5 times.
> >=20
> > Check this thread and this bugzilla.  Maybe these are
> > related to your problem.
> >=20
> >   http://lists.xensource.com/archives/html/xen-devel/2006-03/msg01376.h=
tml
> >   http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=3D477
> >=20
> > Their usleep patch (listed in bugzilla page) is not applyed
> > to our pkgsrc/sysutils/xentools30.  Not sure why.
>=20
> The right fix is:
> http://xenbits.xensource.com/xen-unstable.hg?cs=3D7c994d80049c
>=20
> and it's part of xen-3.0.3, no patch needed.

Pasting a large amount of data into a console does not spin the
cpu up to 100% utilization.  That portion of the fix is, in fact,
correct.

However, none of the data appears, and i cannot ^] my way out of
the console.  any active ssh sessions become non-responsive.

When i 'xm destroy' the domu, the data i pasted appears on the
dom0's ssh session.  (i'm ssh'd into the dom0, and execute the
console from there)

xen-test# uname -a
NetBSD xen-test.dsrw.org 4.99.4 NetBSD 4.99.4 (XEN3_DOM0) #0: Mon
Nov 27 04:32:34 CST 2006
dlg@build-31.dsrw.org:/local/src/HEAD/src/sys/arch/i386/compile/obj/XEN3_DO=
M0
i386
xen-test# pkg_info | grep xen
xenkernel30-3.0.3   Xen3 Kernel
xentools30-3.0.3nb1 Userland Tools for Xen
xen-test#=20

  --david


>=20
> --=20
> Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
>      NetBSD: 26 ans d'experience feront toujours la difference
> --

--HlL+5n6rz5pIUxbD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (NetBSD)

iD8DBQFFdE7HHDmo5jqnP4QRAn94AJ0YQvntXxp4XdzsowZQ1u+ak6MTxgCdF2P/
TEWwa7hmO7FAml+NQPuJ0oc=
=jUcx
-----END PGP SIGNATURE-----

--HlL+5n6rz5pIUxbD--