From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:54134) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlRh1-0002Hc-JX for qemu-devel@nongnu.org; Thu, 12 Jan 2012 15:56:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlRh0-0008UA-I3 for qemu-devel@nongnu.org; Thu, 12 Jan 2012 15:56:15 -0500 Received: from chello084112167138.7.11.vie.surfer.at ([84.112.167.138]:57258 helo=wiesinger.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlRh0-0008Ta-6l for qemu-devel@nongnu.org; Thu, 12 Jan 2012 15:56:14 -0500 Date: Thu, 12 Jan 2012 21:55:05 +0100 (CET) From: Gerhard Wiesinger In-Reply-To: <4F098D0C.1030705@redhat.com> Message-ID: References: <4F074444.1010008@weilnetz.de> <4F097A3A.3080100@redhat.com> <4F098D0C.1030705@redhat.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Qemu-devel] [Bug] System emulation with flash broken? List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Stefan Weil , QEMU Developers On Sun, 8 Jan 2012, Avi Kivity wrote: > On 01/08/2012 02:23 PM, Gerhard Wiesinger wrote: >> On Sun, 8 Jan 2012, Avi Kivity wrote: >> >>> On 01/07/2012 08:03 PM, Gerhard Wiesinger wrote: >>>> On Fri, 6 Jan 2012, Stefan Weil wrote: >>>> >>>>> Hello Avi, >>>>> >>>>> latest QEMU seems to be broken when a system emulation with flash is >>>>> started. >>>>> >>>>> I did not run git bisect, but it looks like the problem started with >>>>> this change: >>>>> >>>>> c5705a7728b4a6bc9e4f2d35911adbaf28042b25 >>>>> Author: Avi Kivity 2011-12-20 14:59:12 >>>>> vmstate, memory: decouple vmstate from memory API >>>>> >>>>> I first noticed the problem with my AR7 emulation (not part >>>>> of official QEMU), but also got it with MIPS Malta, so I assume >>>>> that all systems with flash are broken and fail with this assertion: >>>>> >>>>> /qemu/exec.c:2785: qemu_ram_set_idstr: Assertion `new_block' failed. >>>>> >>>>> The function is searching for address 0x10000009 which is 0x10000000 >>>>> plus an index. Without the index, the address would have been found. >>>> >>>> Hello Avi, >>>> >>>> I'm having also problems with this patch: >>>> # VGA bank switching problems under DOS >>>> git checkout 682a3c07f0e28d2532c911a44a9b6142d6299cc2 >>>> >>>> # OK >>>> git checkout aad3b517a1b83561f2755dc4451596a421399c19 >>>> >>>> And commit 682a3c07f0e28d2532c911a44a9b6142d6299cc2 is the Merge >>>> commit 'c5705a7728b4a6bc9e4f2d35911adbaf28042b25' into upstream-merge. >>>> >>> >>> A patch for this has already been posted; hopefully to be merged soon. >> >> To test: Which patch do you exactly mean? >> > > Original patch: > > http://article.gmane.org/gmane.comp.emulators.qemu/131082 > > My alternative: > > http://article.gmane.org/gmane.comp.emulators.qemu/131164 Helo Avi, Can NOT confirm that one of these or both changes work well. So something else is (still) wrong. Ciao, Gerhard -- http://www.wiesinger.com/