From mboxrd@z Thu Jan 1 00:00:00 1970 From: Beth Kon Subject: Re: Need help with windows debug tools - HPET problems on win2k864 Date: Sun, 14 Sep 2008 15:00:42 -0400 Message-ID: <1221418843.7529.9.camel@beth-ubuntu> References: <1221182870.29525.25.camel@beth-ubuntu> <48CB4681.9060403@qumranet.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Avi Kivity Return-path: Received: from e32.co.us.ibm.com ([32.97.110.150]:42331 "EHLO e32.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753622AbYINTAy (ORCPT ); Sun, 14 Sep 2008 15:00:54 -0400 Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e32.co.us.ibm.com (8.13.8/8.13.8) with ESMTP id m8EIrC7R003609 for ; Sun, 14 Sep 2008 14:53:12 -0400 Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id m8EJ0q4N029136 for ; Sun, 14 Sep 2008 13:00:52 -0600 Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m8F10qfO011041 for ; Sun, 14 Sep 2008 19:00:52 -0600 In-Reply-To: <48CB4681.9060403@qumranet.com> Sender: kvm-owner@vger.kernel.org List-ID: On Sat, 2008-09-13 at 07:50 +0300, Avi Kivity wrote: > Beth Kon wrote: > > I ran into trouble trying to get the hpet working with win2k864. It > > hangs very early on (black screen with "Windows is loading Files" at the > > bottom). My guess is there are problems with our acpi/bios changes, > > since they introduce some ACPI 2.0 structures and QEMU/KVM supports ACPI > > 1.0. We may not have enough 2.0 infrastructure to get it working right > > for 64 bit. Win2k832 does work with the hpet, but 64 doesn't. > > > > So! I need to figure out how to debug Windows and Anthony suggested that > > there may be some people with experience here. > > > > Something that's worked for me is to enable memory dump triggered by > ctrl-ctrl-scroll-lock. There's some registry key you set, and on the > next hang you can generate a memory dump, which you can then analyze > with windbg. > > Of course, your hang might well occur earlier than disk driver > initialization, so this is not bulletproof. > The problem is, I've been told (and confirmed with a test) I can't add the hpet after windows is installed. It needs to be present for installation, and I'm getting the black screen at the start of the install. So there is no registry to play with yet. My guess is this is just too early to get useful debug, though I was hoping a checked build would provide information over the serial port even during install. I'll keep trying to see if there's a way to make that happen. Did you need a host and target for the kind of memory dump analysis you did? Or just use windbg on a local dump file? I ask because I'm trying to figure out if the "-serial pty" and "-serial /dev/pts/0" is the right way to set up the null modem cable between 2 guests. -- Elizabeth Kon (Beth) IBM Linux Technology Center Open Hypervisor Team email: eak@us.ibm.com