From: Beth Kon <eak@us.ibm.com>
To: Kevin O'Connor <kevin@koconnor.net>
Cc: Gleb Natapov <gleb@redhat.com>, Jan Kiszka <jan.kiszka@web.de>,
"qemu-devel@nongnu.org" <qemu-devel@nongnu.org>,
Avi Kivity <avi@redhat.com>
Subject: Re: [Qemu-devel] Re: PC machine types switched to SeaBIOS/gPXE
Date: Tue, 03 Nov 2009 09:11:40 -0500 [thread overview]
Message-ID: <4AF03A1C.804@us.ibm.com> (raw)
In-Reply-To: <20091103041654.GB9856@morn.localdomain>
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
>
next prev parent reply other threads:[~2009-11-03 14:10 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-30 14:54 [Qemu-devel] PC machine types switched to SeaBIOS/gPXE Anthony Liguori
2009-10-30 19:37 ` [Qemu-devel] " Jan Kiszka
2009-10-30 19:45 ` Anthony Liguori
2009-10-31 12:42 ` Stefan Weil
2009-10-31 13:10 ` Jan Kiszka
2009-11-02 23:09 ` Beth Kon
2009-11-02 23:22 ` Anthony Liguori
2009-11-03 4:16 ` Kevin O'Connor
2009-11-03 14:11 ` Beth Kon [this message]
2009-11-04 1:38 ` Kevin O'Connor
2009-11-04 1:55 ` Anthony Liguori
2009-10-31 11:07 ` [Qemu-devel] " Stefan Weil
2009-10-31 12:02 ` [Qemu-devel] " Jan Kiszka
2009-11-02 12:51 ` [Qemu-devel] " Alexander Graf
2009-11-02 13:08 ` Avi Kivity
2009-11-02 13:15 ` Alexander Graf
2009-11-02 13:32 ` Avi Kivity
2009-11-02 13:51 ` Kevin O'Connor
2009-11-02 13:56 ` Avi Kivity
2009-11-02 14:06 ` Alexander Graf
2009-11-02 14:39 ` Avi Kivity
2009-11-09 18:41 ` Glauber Costa
2009-11-10 13:02 ` Avi Kivity
2009-11-10 13:03 ` Alexander Graf
2009-11-10 13:07 ` Avi Kivity
2009-11-10 13:09 ` Alexander Graf
2009-11-03 4:50 ` Kevin O'Connor
2009-11-03 4:57 ` Alexander Graf
2009-11-03 5:01 ` Avi Kivity
2009-11-03 6:02 ` Kevin O'Connor
2009-11-03 6:08 ` Avi Kivity
2009-11-03 13:42 ` Kevin O'Connor
2009-11-03 4:58 ` Avi Kivity
2009-11-02 14:51 ` Gleb Natapov
2009-11-02 14:54 ` Gleb Natapov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4AF03A1C.804@us.ibm.com \
--to=eak@us.ibm.com \
--cc=avi@redhat.com \
--cc=gleb@redhat.com \
--cc=jan.kiszka@web.de \
--cc=kevin@koconnor.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).