Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O42EN-0004ao-9r for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:26:27 -0400 Received: from [140.186.70.92] (port=42143 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O42EL-0004af-SY for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:26:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O42EJ-0008OV-LI for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:26:25 -0400 Received: from mail-qy0-f188.google.com ([209.85.221.188]:55271) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O42EJ-0008O6-I8 for qemu-devel@nongnu.org; Mon, 19 Apr 2010 21:26:23 -0400 Received: by qyk26 with SMTP id 26so5779552qyk.19 for ; Mon, 19 Apr 2010 18:26:22 -0700 (PDT) Date: Mon, 19 Apr 2010 21:26:19 -0400 From: Kevin O'Connor Subject: Re: [SeaBIOS] [Qemu-devel] QEMU regression problems Message-ID: <20100420012619.GA16298@morn.localdomain> References: <20100414011646.GA28219@morn.localdomain> <4BCBF60B.50809@wiesinger.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4BCBF60B.50809@wiesinger.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Gerhard Wiesinger Cc: seabios@seabios.org, qemu-devel@nongnu.org, Roy Tam On Mon, Apr 19, 2010 at 08:19:55AM +0200, Gerhard Wiesinger wrote: > Kevin O'Connor wrote: > >The SeaBIOS log would really help. This can be done by adding: > > > >-chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios > > > >to the qemu command line. > OK, I made some research on the topic. Problem is that QEMM pushes > the Extended BIOS data area to High RAM on some machines (QEMU, > P733). Therefore 640k low memory is available and checkit reports > 640kB + 6kB=646kB EBIOS DATA AREA. Whats strange that on a physical > Pentium 733 machine this works correctly (details see below and > attached files), maybe someone can try to find the problem with > QEMM+Checkit 3.0 (maybe there is still some other BIOS function > incorrectly implemented). QEMM parameter NOXBDA avoids moving the > XBDA up to HI RAM and therefore checkit reports 640kB well. > > SeaBIOS seems to be correct (see below and attached patch files and > description below). > Total Memory: 256MB (262144kB), Base RAM: 637kB > Extended BIOS Data Area size: 3 kB, segment=9f40 > > SCSI option ROM: > After option ROMS, Total Memory: 256MB (262144kB), Base RAM: 634kB > Extended BIOS Data Area size: 6 kB, segment=9e80 Which scsi option rom? Can you forward the log using the command line above? Another thing that may help is increasing the debug level in seabios (set CONFIG_DEBUG_LEVEL to 8 in src/config.h and recompile). SeaBIOS will lock parts of ram from 0xc0000-0xfffff so that the option roms aren't writable. I wonder if that is confusing qemm when it tries to locate the ebda into that area. -Kevin