All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andrey Borzenkov <arvidjaar@gmail.com>
To: grub-devel@gnu.org
Subject: Re: grub_efi_finish_boot_services not spec-compliant
Date: Sun, 24 Feb 2013 09:13:20 +0400	[thread overview]
Message-ID: <20130224091320.470adfd1@opensuse.site> (raw)
In-Reply-To: <B60BAA2E-E206-4FDC-B3EC-6365535B78AA@ORACLE.COM>

В Sat, 23 Feb 2013 20:35:17 -0800
Seth Goldberg <SETH.GOLDBERG@ORACLE.COM> пишет:

> Hi there,
> 
>   On some systems, ExitBootServices() will fail due to a change in the memory map during execution of the boot services call.   The UEFI spec says that in that event, GetMemoryMap() should be repeated, then the new key passed to another call to ExitBootServices().  Note that the spec doesn't give an upper bound on the number of times to do this dance.  The logic in grub_efi_finish_boot_services() just tries once, leading to a failure to properly shut down boot services and various issue booting UEFI-compliant operating systems.
> 

I have seen reports about ELILO failing due to changed memory map too,
but ELILO does retry GetMemoryMap() and still fails
(https://bugzilla.novell.com/show_bug.cgi?id=800035). Did you test if
increasing number of attempts to get memory map fixes it in your case?
What hardware is it?


  reply	other threads:[~2013-02-24  5:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-24  4:35 grub_efi_finish_boot_services not spec-compliant Seth Goldberg
2013-02-24  5:13 ` Andrey Borzenkov [this message]
2013-02-24 23:46   ` Seth Goldberg

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=20130224091320.470adfd1@opensuse.site \
    --to=arvidjaar@gmail.com \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.