From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA6Cm-0000dQ-UV for qemu-devel@nongnu.org; Mon, 16 Nov 2009 13:21:37 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA6Ch-0000c1-LE for qemu-devel@nongnu.org; Mon, 16 Nov 2009 13:21:35 -0500 Received: from [199.232.76.173] (port=53708 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA6Ch-0000bw-E5 for qemu-devel@nongnu.org; Mon, 16 Nov 2009 13:21:31 -0500 Received: from moutng.kundenserver.de ([212.227.126.188]:53051) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NA6Cg-0007I3-Ti for qemu-devel@nongnu.org; Mon, 16 Nov 2009 13:21:31 -0500 Message-ID: <4B019827.4010007@mail.berlios.de> Date: Mon, 16 Nov 2009 19:21:27 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] Standard vga breakage References: <20091115152858.GH7392@redhat.com> <4B0061B2.2070207@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: Blue Swirl , qemu-devel , Gleb Natapov malc schrieb: > On Sun, 15 Nov 2009, Stefan Weil wrote: > > >> malc schrieb: >> >>> On Sun, 15 Nov 2009, Gleb Natapov wrote: >>> > > [..snip..] > > >> Here is a summary of my analysis of this problem: >> >> Graphics mode memory (ram 0xe0000000 ...) is not mapped >> in QEMU address space (which results in unassigned >> memory writes) for standard pci vga (-vga std), so users >> don't get vga display output with grub (in graphical mode), >> debian installer (in graphical mode) or similar boot software. >> >> This happens for PC system emulation using SeaBIOS. >> It won't happen when using Bochs BIOS. >> >> Other system emulations which can run standard pci vga >> seem to suffer from the same problem: when I run mips >> malta using -vga std, it won't display anything on the vga >> screen (it works with cirrus pci vga). >> >> Malta has no vga bios, so the error might be in QEMU's >> vga code (hw/vga-pci.c). Maybe wrong initial PCI mappings? >> Maybe this has always be wrong (which would explain why >> git bisect does not work). >> > > git bisect doesn't work because most of the time: > > a. Compilation fails > b. Compilation succeeds but qemu segfaults before even trying to > execute any guest code > I did git bisect: even very early versions (from 2006) of std vga had the same kind of problem (no access to frame buffer at 0xe0000000) when booted with SeaBIOS). It was not really a bisection, because I never reached status "good".