From: Paul Menzel <pmenzel@molgen.mpg.de>
To: Ard Biesheuvel <ard.biesheuvel@linaro.org>,
Matthew Garrett <matthew.garrett@nebula.com>,
Jeremy Kerr <jk@ozlabs.org>
Cc: linux-efi@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: efivarfs fails with `No such device` when EFI runtime is missing
Date: Tue, 11 May 2021 22:58:07 +0200 [thread overview]
Message-ID: <706be699-7f79-391c-bbac-a4b3820511d8@molgen.mpg.de> (raw)
In-Reply-To: <b075e45e-365a-dafb-503c-615c41168b0d@molgen.mpg.de>
[Use Ard’s current email, and add other maintainers]
Am 11.05.21 um 22:55 schrieb Paul Menzel:
> Dear Linux folks,
>
>
> I migrated a 32-bit GNU/Linux installation from BIOS to EFI. Trying to
> edit the entries in UEFI’s Boot Manager with `efibootmgr`, I got the error:
>
> EFI variables are not supported on this system
>
> `sudo modprobe efivarfs` fails with
>
> No such device
>
> After several tries, I found
>
> [ 0.000000] efi: No EFI runtime due to 32/64-bit mismatch with
> kernel
>
> logged by Linux, and then I found the Stack Overflow thread *How could
> 32bit kernel read efivars from 64bit UEFI?* [1].
>
> I would have thought, setting EFI variables is just directly writing to
> some storage. But probably not.
>
> Could the error message for the efivarfs load failure be improved, that
> *device* means the runtime service (if I am not mistaken)?
>
>
> Kind regards,
>
> Paul
>
>
> [1]: https://stackoverflow.com/questions/46610442/how-could-32bit-kernel-read-efivars-from-64bit-uefi
next prev parent reply other threads:[~2021-05-11 20:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-11 20:55 Paul Menzel
2021-05-11 20:58 ` Paul Menzel [this message]
2021-05-11 22:06 ` Ard Biesheuvel
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=706be699-7f79-391c-bbac-a4b3820511d8@molgen.mpg.de \
--to=pmenzel@molgen.mpg.de \
--cc=ard.biesheuvel@linaro.org \
--cc=jk@ozlabs.org \
--cc=linux-efi@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matthew.garrett@nebula.com \
/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
all inboxes | Powered by JetHome®