From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5K5M-0004PY-Ky for qemu-devel@nongnu.org; Tue, 03 Nov 2009 09:10:12 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5K5G-0004NR-7D for qemu-devel@nongnu.org; Tue, 03 Nov 2009 09:10:11 -0500 Received: from [199.232.76.173] (port=32910 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5K5E-0004NB-QV for qemu-devel@nongnu.org; Tue, 03 Nov 2009 09:10:05 -0500 Received: from e32.co.us.ibm.com ([32.97.110.150]:58686) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N5K5E-0005fQ-Av for qemu-devel@nongnu.org; Tue, 03 Nov 2009 09:10:04 -0500 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e32.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id nA3E4mDU018067 for ; Tue, 3 Nov 2009 07:04:48 -0700 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id nA3E9f4G058322 for ; Tue, 3 Nov 2009 07:09:48 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.3/8.13.1/NCO v10.0 AVout) with ESMTP id nA3E9elF015530 for ; Tue, 3 Nov 2009 07:09:40 -0700 Message-ID: <4AF03A1C.804@us.ibm.com> Date: Tue, 03 Nov 2009 09:11:40 -0500 From: Beth Kon MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: PC machine types switched to SeaBIOS/gPXE References: <4AEAFE39.1030302@us.ibm.com> <4AEB408F.9060205@web.de> <4AEB426A.5080305@us.ibm.com> <4AEC30A6.6020600@mail.berlios.de> <4AEC375E.50701@web.de> <4AEF66BE.3070203@us.ibm.com> <4AEF6998.80103@codemonkey.ws> <20091103041654.GB9856@morn.localdomain> In-Reply-To: <20091103041654.GB9856@morn.localdomain> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kevin O'Connor Cc: Gleb Natapov , Jan Kiszka , "qemu-devel@nongnu.org" , Avi Kivity Kevin O'Connor wrote: > On Mon, Nov 02, 2009 at 05:22:00PM -0600, Anthony Liguori wrote: > >> Beth Kon wrote: >> >>> Serendipity allowed us to find this really easily, thanks to some old >>> builds lying around... >>> >>> The following Seabios commit breaks gpxe boot with e1000: >>> > [...] > >> Any thoughts Kevin? >> >> Before this commit, the gPXE e1000 rom was able to successfully netboot >> when selected as a boot device. With this commit, we get a "device not >> found" error within gPXE when launched as a boot device but when run >> from the gPXE command line, it launches successfully. >> > > The easist way to debug this is to enable debugging output. It's > possible to modify qemu's hw/pc.c and enable DEBUG_BIOS, but it's > probably simpler to recompile SeaBIOS and set CONFIG_DEBUG_SERIAL in > src/config.h (and possibly increase CONFIG_DEBUG_LEVEL). > > With the later, one can then run: > > qemu -net nic,model=e1000 -boot n -serial stdio > > and what comes out is: > > Scan for option roms > Running option rom at c900:0003 > pnp call arg1=60 > pmm call arg1=0 > Found option rom with bad checksum: loc=0x000c9000 len=72192 sum=37 > > So, the e1000 option rom is modifying itself and not properly updating > its checksum - thefore SeaBIOS doesn't consider it in its BEV list. > The fact that it changed in the commit highlighted above was probably > just random. > > When was this gpxe rom built? I know gpxe used to have an issue with > the checksum not being updated, but I thought that was fixed about six > months ago. > The rom was built about 2 weeks ago. But I don't follow what you're saying. The same rom works when the Seabios tree is reset to the commit just prior to this one. That would suggest to me that the rom isn't the problem. But I agree that there is no obvious connection between that commit and a bad checksum. What am I missing? > -Kevin >