Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBe88-00019n-JC for qemu-devel@nongnu.org; Fri, 20 Nov 2009 19:47:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBe84-00012g-OY for qemu-devel@nongnu.org; Fri, 20 Nov 2009 19:47:12 -0500 Received: from [199.232.76.173] (port=39435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBe84-00012Z-Ie for qemu-devel@nongnu.org; Fri, 20 Nov 2009 19:47:08 -0500 Received: from imta-38.everyone.net ([216.200.145.38]:33444 helo=omta0105.mta.everyone.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBe83-0006dg-SM for qemu-devel@nongnu.org; Fri, 20 Nov 2009 19:47:08 -0500 Date: Fri, 20 Nov 2009 19:47:02 -0500 From: Kevin O'Connor Subject: Re: [Qemu-devel] Stack corruption problem with SeaBIOS/gPXE under QEMU Message-ID: <20091121004702.GA25435@morn.localdomain> References: <4AFBEF9A.5010802@redhat.com> <20091114194745.GA12007@morn.localdomain> <4B01555B.1030109@redhat.com> <4B015B6C.4090000@redhat.com> <20091117022620.GA25962@morn.localdomain> <4B02A3E2.8010009@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B02A3E2.8010009@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: qemu-devel@nongnu.org On Tue, Nov 17, 2009 at 03:23:46PM +0200, Avi Kivity wrote: > On 11/17/2009 04:26 AM, Kevin O'Connor wrote: >> On Mon, Nov 16, 2009 at 04:02:20PM +0200, Avi Kivity wrote: >>>> Something that is likely related, I am seeing reboot failures in >>>> seabios's pmm_free. Immediately after loading gpxe, seabios is in an >>>> endless loop there, likely due to memory corruption. >>>> >>>> This is with -smp 2, rebooting Fedora 9 after installation. >>>> >>> With gpxe disabled, rebooting works as expected. >>> >>> Note the tests were performed with the stack at 64K to avoid triggering >>> the known issue. >>> >> Hi Avi, >> >> Can you send the full qemu command line that you used? I can't seem >> to reproduce this on my setup. Hi Avi, I'm still unable to reproduce this Fedora reboot failure. > Example command line is That command looks like the vista cdrom scenario. To try and reproduce the fedora reboot issue, I checked out 51a8ac6f of qemu-kvm and ran: qemu-img create -f qcow2 test-fc9 10G qemu-system-x86_64 -hda test-fc9 -cdrom ../../iso/Fedora-9-i386-DVD/Fedora-9-i386-DVD.iso -m 512 -smp 2 This was with the bios.bin that came with 51a8ac6f. I selected all default options (except I disabled "Software productivity tools" to make the install go faster). The machine rebooted okay after the install. Can you retry this with the latest seabios git. If you are able to reproduce, can you set CONFIG_DEBUG_LEVEL to 8 and post the log? Maybe something in the log will help. Thanks, -Kevin