From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: Need help with windows debug tools - HPET problems on win2k864 Date: Sat, 13 Sep 2008 07:50:09 +0300 Message-ID: <48CB4681.9060403@qumranet.com> References: <1221182870.29525.25.camel@beth-ubuntu> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Beth Kon Return-path: Received: from il.qumranet.com ([212.179.150.194]:21702 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751173AbYIMEwg (ORCPT ); Sat, 13 Sep 2008 00:52:36 -0400 In-Reply-To: <1221182870.29525.25.camel@beth-ubuntu> Sender: kvm-owner@vger.kernel.org List-ID: 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. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.