From owner-freebsd-emulation@FreeBSD.ORG Sat Mar 28 18:30:51 2009 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E3A9106566C for ; Sat, 28 Mar 2009 18:30:51 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id E4FF38FC1B for ; Sat, 28 Mar 2009 18:30:50 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 2E5A91E005A2; Sat, 28 Mar 2009 19:30:49 +0100 (CET) Received: from saturn.kn-bremen.de (noident@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id n2SITABV090895; Sat, 28 Mar 2009 19:29:10 +0100 (CET) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id n2SIT9oh090894; Sat, 28 Mar 2009 19:29:09 +0100 (CET) (envelope-from nox) From: Juergen Lock Date: Sat, 28 Mar 2009 19:29:09 +0100 To: Andriy Gapon Message-ID: <20090328182909.GA90582@saturn.kn-bremen.de> Mail-Followup-To: Andriy Gapon , Chagin Dmitry , freebsd-emulation@freebsd.org References: <49CCBE43.5080309@icyb.net.ua> <20090327125852.GA6042@dchagin.static.corbina.ru> <49CCD1E9.2060307@icyb.net.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49CCD1E9.2060307@icyb.net.ua> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: qemu+kqemu: hard lockup with windows guest (32-bit on 64-bit) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2009 18:30:51 -0000 On Fri, Mar 27, 2009 at 03:17:29PM +0200, Andriy Gapon wrote: > on 27/03/2009 14:58 Chagin Dmitry said the following: > > On Fri, Mar 27, 2009 at 01:53:39PM +0200, Andriy Gapon wrote: > >> System: > >> stable/7 amd64 r190321 > >> qemu-0.10.0_1 > >> kqemu-kmod-devel-1.4.0.p1_1 > >> > >> I experience rare complete system lockups while running windows (98, win2k) guests > >> with kqemu enabled. The guests are obviously 32-bit. > >> I can't provide any diagnostics because it's a total freeze and there is no useful > >> info after rebooting. > >> > > > > SW_WATCHDOG can help you with debugging of similar bugs. > > It's an interesting idea. > Now that you mentioned it I realized something else - I have a hardware watchdog > and it is tested to work, but this time it didn't fire. So either watchdogd > process was able to keep running or even chipset for so screwed so badly that it > could not reset system. I have hard time believing in the second case, but the > first one is also under suspicion - system didn't respond to any input (even power > button press), it couldn't be pinged, etc. Is that an smp box and do the hangs happen soon after starting up qemu? If yes there's a remote chance your box doesn't like the ltr that the remnants of the kqemu amd64 tss fixup code still do once on cpu 0 - I've just updated the kqemu ports to only add that code on OSVERSIONs where its actually needed, so you could try updating your kqemu. (I wanted to do that soon after 7.1 went out already but somehow forgot about it again until I saw this thread...) HTH, Juergen