From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Kiszka Subject: Re: -smp >=2 + -no-kvm-irqchip broken Date: Thu, 04 Feb 2010 01:42:38 +0100 Message-ID: <4B6A17FE.4090203@web.de> References: <4B685301.8070302@siemens.com> <20100202163919.GF18094@redhat.com> <4B68559F.4010501@siemens.com> <20100202164755.GG18094@redhat.com> <4B68747E.2090808@siemens.com> <4B68756A.10300@siemens.com> <20100203125659.GM739@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2F455CCCACEC7DB7F6BA0911" Cc: kvm To: Gleb Natapov Return-path: Received: from fmmailgate01.web.de ([217.72.192.221]:50253 "EHLO fmmailgate01.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932183Ab0BDAmj (ORCPT ); Wed, 3 Feb 2010 19:42:39 -0500 In-Reply-To: <20100203125659.GM739@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2F455CCCACEC7DB7F6BA0911 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Gleb Natapov wrote: > On Tue, Feb 02, 2010 at 07:56:42PM +0100, Jan Kiszka wrote: >> Jan Kiszka wrote: >>> Gleb Natapov wrote: >>>> On Tue, Feb 02, 2010 at 05:41:03PM +0100, Jan Kiszka wrote: >>>>> Gleb Natapov wrote: >>>>>> On Tue, Feb 02, 2010 at 05:29:53PM +0100, Jan Kiszka wrote: >>>>>>> Hi, >>>>>>> >>>>>>> notice while testing v2 of my vcpu state series: Starting SMP gue= sts >>>>>>> like Linux or Vista without in-kernel irqchip and with more than = one CPU >>>>>>> make them lock up during boot (Vista) or spit out messages like >>>>>>> >>>>>>> udevd[112] trap invalid opcode ip:7fc434630950 sp:7fff3cd3fcb8 er= ror:0 >>>>>>> in libc-2.9.so[7fc4345b2000+14f000] >>>>>>> >>>>>> Looks like interrupt is injected as exception. Can you try to bise= ct? >>>>> Already started (as low prio background task), first looking for a = good >>>>> version. If you know a recent one, I'm a taker. >>>>> >>>> Nope, didn't try no kernel irqchip for a long time. >>> Kernel plays the key role here, either kvm-kmod or actually the kvm >>> module: kvm-kmod-2.6.31.6 works, the 2.6.32 series and later do not. >>> Digging deeper... >> I take this back: It works for Linux guests, but Vista crashes also wi= th >> old kvm-kmod. So there is no way around real debugging. >> > Upstream qemu-kvm/kvm works for me. Boot linux with -smp 2 and > windows2008-32 with -smp 4. We seem to have two issues: - kvm.git master breaks 64-bit linux guests under -no-kvm-irqchip + smp (#UD pop up in guest user space). 2.6.33 kvm is fine. Will try to bisect this the next days. - My Vista x64 image apparently suffer from a race (I suspect in user space) that lets it deadlock on a spinlock, independent of the underlying kernel kvm version. Jan --------------enig2F455CCCACEC7DB7F6BA0911 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAktqF/4ACgkQitSsb3rl5xT8YgCcD6DLVeMk6WcdZTZlYrTPA4M9 BG8An0I29qqUR2VpY4Zc2+MSPMOivMtR =hNvM -----END PGP SIGNATURE----- --------------enig2F455CCCACEC7DB7F6BA0911--