linux-efi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Felix Braun <Felix.Braun-JmyM9gIJlGotq+zhY6Lx4A@public.gmane.org>
To: Matt Fleming <matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
Cc: linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	Ben Hutchings <ben-/+tVBieCtBitmTQ+vhA3Yw@public.gmane.org>,
	Matthew Garrett <mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org>,
	"H. Peter Anvin" <hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org>
Subject: Re: Unable to set efi boot variables on 3.10-rc3
Date: Thu, 30 May 2013 12:22:14 +0200	[thread overview]
Message-ID: <1369909334.3183.7.camel@eressea> (raw)
In-Reply-To: <20130529094325.GA2004-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 1376 bytes --]

Hello Matt,

> On Tue, 28 May, at 08:40:32PM, Felix Braun wrote:
> > When I try to write something to the efi boot variables, I get an kernel
> > error
> > 
> > # efibootmgr
> > BootCurrent: 0000
> > Timeout: 1 seconds
> > BootOrder: 0000,0002,0003
> > Boot0000* Linux
> > Boot0002* Hard Drive
> > Boot0003* CD/DVD Drive
> > # efibootmgr -n2
> > # tail /var/log/messages
> >  [Firmware Bug]: Broken EFI implementation is returning
> > MaxVariableSize=0

> It sounds like your machine isn't initiating garbage collection. Try
> adding the efi_no_storage_paranoia kernel parameter to your kernel
> cmdline. 

That seems to have worked. With that parameter added, things work again.
Thank you! How can I prevent the efi storage from filling up? Is there a
way to initiate garbage collection manually?

> > On boot up, I get a number of the following error messages:
> > 
> > e820: too many entries; ignoring [mem 0x01d8a000-0x01d8ffff]
> > e820: too many entries; ignoring [mem 0x01d90000-0x01d91fff]
> > ...

> I doubt that's related but it's certainly not good. Could you paste your
> full dmesg? What boot loader are you using?

It does seem to be related as these error messages go away with
efi_no_storage_paranoia. I'm using EFISTUB to boot linux directly from
the EFI shell.

I'm attaching gzipped dmesg output (with efi_no_storage_paranoia).
Thanks again!

Regards
Felix

[-- Attachment #2: dmesg.gz --]
[-- Type: application/gzip, Size: 17091 bytes --]

      parent reply	other threads:[~2013-05-30 10:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-28 18:40 Unable to set efi boot variables on 3.10-rc3 Felix Braun
2013-05-29  9:43 ` Matt Fleming
     [not found]   ` <20130529094325.GA2004-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org>
2013-05-30 10:22     ` Felix Braun [this message]

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=1369909334.3183.7.camel@eressea \
    --to=felix.braun-jmym9gijlgotq+zhy6lx4a@public.gmane.org \
    --cc=ben-/+tVBieCtBitmTQ+vhA3Yw@public.gmane.org \
    --cc=hpa-YMNOUZJC4hwAvxtiuMwx3w@public.gmane.org \
    --cc=linux-efi-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=matt-HNK1S37rvNbeXh+fF434Mdi2O/JbrIOy@public.gmane.org \
    --cc=mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.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).