From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 18 05:00:07 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C0516A418 for ; Tue, 18 Sep 2007 05:00:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id BFCF113C474 for ; Tue, 18 Sep 2007 05:00:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l8I506se018452 for ; Tue, 18 Sep 2007 05:00:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l8I506bq018448; Tue, 18 Sep 2007 05:00:06 GMT (envelope-from gnats) Resent-Date: Tue, 18 Sep 2007 05:00:06 GMT Resent-Message-Id: <200709180500.l8I506bq018448@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BA9316A419 for ; Tue, 18 Sep 2007 04:58:01 +0000 (UTC) (envelope-from root@soralx.cydem.org) Received: from soralx.cydem.org (S0106000103ce4c9c.vc.shawcable.net [24.87.3.133]) by mx1.freebsd.org (Postfix) with ESMTP id 2053913C494 for ; Tue, 18 Sep 2007 04:57:58 +0000 (UTC) (envelope-from root@soralx.cydem.org) Received: from soralx.cydem.org (localhost [127.0.0.1]) by soralx.cydem.org (8.14.1/8.14.1) with ESMTP id l8I4vrMp001475 for ; Mon, 17 Sep 2007 21:57:54 -0700 (PDT) (envelope-from root@soralx.cydem.org) Received: (from root@localhost) by soralx.cydem.org (8.14.1/8.14.1/Submit) id l8I4vqd7001474; Mon, 17 Sep 2007 21:57:53 -0700 (PDT) (envelope-from root) Message-Id: <200709180457.l8I4vqd7001474@soralx.cydem.org> Date: Mon, 17 Sep 2007 21:57:53 -0700 (PDT) From: To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/116431: qemu halts and doesn't die with kqemu loaded when booting windows-xp X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Sep 2007 05:00:07 -0000 >Number: 116431 >Category: ports >Synopsis: qemu halts and doesn't die with kqemu loaded when booting windows-xp >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 18 05:00:05 GMT 2007 >Closed-Date: >Last-Modified: >Originator: >Release: FreeBSD 6.2-STABLE i386 >Organization: >Environment: System: FreeBSD soralx.cydem.org 6.2-STABLE FreeBSD 6.2-STABLE #0: Sat Sep 15 20:20:15 PDT 2007 root@soralx.cydem.org:/usr/obj/usr/src/sys/SORALX i386 Port: qemu-0.9.0_3 Sysetm (kernel+world) and ports (`portupgrade -a`) as of ~2007-09-15. >Description: Once upon a time, I decided to try and install windoze-xp under qemu to see how it goes -- in order to launch some proprietary apps ('wine' halts on 70% of programs anyway). The install process was successful (albeit painfully slow), and the "OS" seemes to boot fine, until I load kqemu. When trying to boot Win with the module loaded, qemu posts, the "Boot Windows normally", in "safe mode", etc, screen show, and then no matter what I select, it always halts. Just sits there, doesn't eat the CPU cycles, the screen is blank (I suspect is shows the logo screen with boot progress bar, but the screen doesn't redraw), but the nasty thing is I can't kill it. ps says: root 1199 0.0 4.4 569600 90452 p4 WX+ 9:21PM 0:06.39 qemu -hda /ad16s1d/qemu0.raw -m 512 If I try to attach gdb to it, the debugger outputs the usual stuff, "Attaching to program: /usr/local/bin/qemu, process 1199", then halts and also cannot be killed: root 1224 0.0 0.2 4616 3912 p3 I+ 9:22PM 0:00.01 gdb /usr/local/bin/qemu 1199 top: 1199 root 1 76 0 556M 90452K WAIT 0 0:06 0.00% qemu (notice that 'WAIT' in all capitals -- what's than mean?) When I exit to single-user mode, qemu process is sill there. Only reboot kills it. >How-To-Repeat: See description. Can upload qemu0.raw.gz (600meg) if needed. >Fix: Any idea where to start debugging? I could try some othe OS, I know, but I maybe someone has an idea of what is going on, plus I need that specific OS... >Release-Note: >Audit-Trail: >Unformatted: