Re: Regression in Linux 6.0.8 in Lenovo T14 Gen 3 when adding EFI boot entries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 12 Nov 2022 at 17:55, Ulrich Gemkow
<ulrich.gemkow@xxxxxxxxxxxxxxxxxxxx> wrote:
>
> Hello Ard,
>
> On Saturday 12 November 2022, you wrote:
> > On Sat, 12 Nov 2022 at 16:26, Ulrich Gemkow
> > <ulrich.gemkow@xxxxxxxxxxxxxxxxxxxx> wrote:
> > >
> > > Hello Ard,
> > >
> > > thanks for looking into this!
> > >
> > > On Saturday 12 November 2022, you wrote:
> > > > On Sat, 12 Nov 2022 at 14:42, Ulrich Gemkow
> > > > <ulrich.gemkow@xxxxxxxxxxxxxxxxxxxx> wrote:
> > > > >
> > > > > Hello,
> > > > >
> > > > > calling efibootmgr for adding EFI boot entries with Linux 6.0.8 does
> > > > > not work on our Lenovo T14 Gen 3 (intel). The error is "EFI variables
> > > > > are not supported on this system". The directory /sys/firmware/efi/efivars/
> > > > > exists but is empty.
> > > > >
> > > > > This worked fine with the latest 5.19 kernel. The config was transferred
> > > > > from 5.19 to 6.0 with "make oldconfig". All kernels are self-compiled
> > > > > and without changes from the kernel.org downloads.
> > > > >
> > > > > I saw earlier messages about bugs in this area, the fixes applied
> > > > > seem to be not complete.
> > > > >
> > > > > Please let me know when additional information would help to debug.
> > > > >
> > > >
> > > > Hello Ulrich,
> > > >
> > > > Can you please share the complete kernel boot log when booting with
> > > > efi=debug, and the .config used to build the kernel? Thanks.
> > > >
> > >
> > > please find attached the two files. Please do not get confused about
> > > the kernel uname, the used kernel is 6.0.8. I use my own automated
> > > setup and build environment which requires a different naming.
> > >
> >
> > Does it work if you enable CONFIG_EFI_STUB?
> >
>
> Enabling CONFIG_EFI_STUB does not help, the problem remains.
>
> I digged around and found that mounting the efivarfs solves the
> problem. This was not required with 5.19. Is this an expected
> or wanted change of behavior?
>

That is surprising. It is entirely up to user space whether and when
efivarfs gets mounted - the kernel just provides the facilities but
does not decide if they get used.

Which distro are you using?



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux