From: spam collector <spamcollector@cableone.net>
To: Laszlo Ersek <lersek@redhat.com>
Cc: edk2-devel@ml01.01.org
Subject: Re: OVMF.fd and placement of EfiBootServicesData
Date: Thu, 6 Oct 2016 23:11:17 -0400 (EDT) [thread overview]
Message-ID: <1869302771.105095744.1475809877677.JavaMail.zimbra@cableone.net> (raw)
In-Reply-To: <3d3c1cb5-ca15-c030-4216-f115116c8da4@redhat.com>
----- Original Message -----
> From: "Laszlo Ersek" <lersek@redhat.com>
> To: "spam collector" <spamcollector@cableone.net>
> Cc: edk2-devel@ml01.01.org
> Sent: Thursday, October 6, 2016 12:39:39 AM
> Subject: Re: [edk2] OVMF.fd and placement of EfiBootServicesData
>
> > Remember that I am running this in WinXPSP3.
>
> First, I can't "remember" it, because this is the first time you state
> that. :)
I apologize for that. I thought I had mentioned it.
> Second, WinXPSP3 as host machine, really?... :)
What do you mean, "really?" In my opinion, WinXP was the last usable,
worth having OS from Microsoft. As soon as they went to the platform
they have now, they lost all hope of ever getting anything back.
I haven't had to reboot this WinXP machine due to the OS for years.
It is less resource hungry, and much faster than the modern computers
I have around. I would rather sit at this 10 year old machine running
WinXP any day of the week including Sunday over any of the more modern
Windows machine I have or seen. Just my opinion though. I, by no means,
intend to start a war over which Windows OS is better, nor do I want
to start a war over, "You should move to a Linux based machine."
If it isn't broke, I am not fixing it.
For that matter, I am not expecting a reply to that. :-)
> > Also, the version of
> > OVMF.fd is from http://www.tianocore.org/ovmf/ and I just noticed
> > that that page has been recently changed.
>
> That's a coincidence, but not a random one. Users have been repeatedly
> confused by the r15214 binary, which at this point was more than 2.5
> years old. Just before your query, I noticed
> <https://bugs.launchpad.net/qemu/+bug/1622582> (and marked it invalid);
> the reporter of that issue was also tripped up by the ancient r15214
> build. So I asked Jordan to please update the page you reference, with a
> link to Gerd's RPMs, which are bleeding edge builds.
Noted.
> >>
> >> usr/share/edk2.git/ovmf-*/OVMF_CODE-pure-efi.fd
> >> usr/share/edk2.git/ovmf-*/OVMF_VARS-pure-efi.fd
> >> usr/share/edk2.git/ovmf-*/UefiShell.iso
As per another message in this thread, I changed the Subsystem value
from the 0x0B to 0x0A and it now boots as expected. There is still
OVMF stuff in the way :-), but boots as expected to that point.
> > Also, please note that the hard drive image is a VHD image, a
> > raw image with a single sector at the end for the VHD info so that
> > Oracles VM Box will boot it. This means that the backup GPT header
> > is *not* the last sector of the disk.
>
> As far as I know, QEMU supports VHDX. However, you pass a VHD image to
> -drive with format=raw. That looks very broken. I guess I'd suggest
> matching the actual image format with the format=... property. If you
> pass format=raw, the VHD metadata at the end of the image will be
> visible to the guest (as garbage).
The latest version of the Windows port of QEMU and OVMF as listed
above, boot and treat the drive as expected, ignoring the last sector.
i.e.: OVMF uses the value in the GPT header to find the backup instead
of finding the last sector. It doesn't complain that it isn't the
last sector.
This image is just a test image that I can use with both QEMU and
Oracle's VMBox so I don't have to have two separate images.
I believe I have all of the information and the new/correct files
and can boot my code with these new files.
Thank you so much for your help and advice. I appreciate the
effort you placed on my behalf.
Thanks,
Ben
next prev parent reply other threads:[~2016-10-07 3:11 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1063482308.87469389.1475464272414.JavaMail.zimbra@cableone.net>
2016-10-03 3:16 ` OVMF.fd and placement of EfiBootServicesData spam collector
2016-10-03 9:42 ` Laszlo Ersek
2016-10-04 2:45 ` spam collector
2016-10-04 7:52 ` Laszlo Ersek
2016-10-04 16:39 ` spam collector
2016-10-04 17:22 ` Laszlo Ersek
2016-10-05 2:47 ` spam collector
2016-10-05 15:28 ` Laszlo Ersek
2016-10-06 3:05 ` spam collector
2016-10-06 7:39 ` Laszlo Ersek
2016-10-07 3:11 ` spam collector [this message]
2016-10-07 15:08 ` Laszlo Ersek
2016-10-06 5:45 ` spam collector
2016-10-06 7:47 ` Laszlo Ersek
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-list 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=1869302771.105095744.1475809877677.JavaMail.zimbra@cableone.net \
--to=devel@edk2.groups.io \
/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