From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BE7F3-0008Uo-7P for qemu-devel@nongnu.org; Thu, 15 Apr 2004 09:49:21 -0400 Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BE7EO-0008GV-63 for qemu-devel@nongnu.org; Thu, 15 Apr 2004 09:49:11 -0400 Received: from [81.228.11.108] (helo=av1-2-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BE7EN-0008Fp-4l for qemu-devel@nongnu.org; Thu, 15 Apr 2004 09:48:39 -0400 Message-ID: <001c01c422f0$64ae5aa0$0401a8c0@putte2k> From: "Mike Nordell" References: <002801c42260$67c56110$0401a8c0@putte2k> <200404151052.55500.jm@poure.com> <20040415113738.B19597@bbland> Subject: Re: [Qemu-devel] Win2k mouse Date: Thu, 15 Apr 2004 15:44:31 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Lionel Ulmer wrote: > In my case, I still have QEMU segfaulting on me during the second > stage installation. I believe the fix is in the pipe. But to get some more input on something related; could you first make sure you have target-i386/helper.c from CVS. Then test searching for "XXX: explain me why W2K hangs" and replace "#if 1" with "#if 0". There is reason to believe the fixed eip when returning to v86 mode has taken care of the problem that cludge was for. In addition I can report that doing just that, resetting the segment cache, allows the ToolStar*Test demo floppy to run as expected. Previously it had... should we say some problems. There are still bugs in the VGA code that will totally hang for which I've mailed Fabrice the patches. Should you want to preempt CVS to see if they make a difference (they stop QEMU from SEGV), at the beginning of vga_update_display add the following: if (!(s->ar_index & 0x20)) { /* output is disabled */ printf("VGA: vga_update_display not updating due to display disabled\n"); return; } Then in vga_draw_text (sorry, no line numbers since my vga.c doesn't match yours in that respect), around 90 lines into it just before the cy loop starts, try the following: if (height * width >= CH_ATTR_SIZE) { printf("TMN: Saving VGA from crashing in vga_draw_text()\n"); return; } /Mike