linux-rt-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alec Ari <neotheuser@gmail.com>
To: linux-rt-users@vger.kernel.org
Subject: EFI_STUB doesn't work if PREEMPT_RT
Date: Mon, 10 Jun 2019 15:46:04 -0500	[thread overview]
Message-ID: <CAM5Ud7P2U2F8eTmm8geKomo2XEOP0MwDsdvp9Zxq-Xk3VhwZxw@mail.gmail.com> (raw)

Hi,

I'm running Debian on a test system, CSM has been disabled. if I boot
the stock non-RT Debian kernel, I can use efibootmgr. When I try
booting the PREEMPT_RT package (linux-image-rt-amd64) or a custom
PREEMPT_RT kernel with the following config options enabled:

CONFIG_EFI=y
CONFIG_EFI_STUB=y
# CONFIG_EFI_MIXED is not set
# EFI (Extensible Firmware Interface) Support
CONFIG_EFI_VARS=y
CONFIG_EFI_ESRT=y
CONFIG_EFI_FAKE_MEMMAP=y
CONFIG_EFI_MAX_FAKE_MEM=8
CONFIG_EFI_RUNTIME_WRAPPERS=y
CONFIG_EFI_BOOTLOADER_CONTROL=y
# CONFIG_EFI_CAPSULE_LOADER is not set
# CONFIG_EFI_TEST is not set
CONFIG_EFI_PARTITION=y
CONFIG_FB_EFI=y
CONFIG_EFIVAR_FS=y
# CONFIG_EFI_PGT_DUMP is not set
CONFIG_FAT_FS=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_CODEPAGE=437
CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1"
CONFIG_FAT_DEFAULT_UTF8=y

I get this message:

EFI variables are not supported on this system.

Mount and everything looks the same as it does in the non-RT kernel:

/dev/sda2 on /boot/efi type vfat
(rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro)

Adding `add_efi_memmap` to kernel params doesn't fix this either. When
using a non-PREEMPT_RT kernel, everything with EFI works.

Any idea? Is this a known issue with PREEMPT_RT?

Alec

             reply	other threads:[~2019-06-10 20:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-10 20:46 Alec Ari [this message]
2019-06-10 20:52 ` EFI_STUB doesn't work if PREEMPT_RT Alec Ari
2019-06-10 21:02   ` Alec Ari
2019-06-10 23:37 ` Scott Wood
2019-06-11  2:47   ` Alec Ari
2019-06-12 17:01     ` Alec Ari
2019-06-14 19:36       ` Sebastian Andrzej Siewior
2019-06-14 23:19         ` Alec Ari

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=CAM5Ud7P2U2F8eTmm8geKomo2XEOP0MwDsdvp9Zxq-Xk3VhwZxw@mail.gmail.com \
    --to=neotheuser@gmail.com \
    --cc=linux-rt-users@vger.kernel.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).