ports/116431: qemu halts and doesn't die with kqemu loaded when booting windows-xp

soralx at cydem.org soralx at cydem.org
Tue Sep 18 05:00:07 UTC 2007


>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 at 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:



More information about the freebsd-ports-bugs mailing list