Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #233220 > unrolled thread
| Started by | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| First post | 2021-03-18 22:00 +0100 |
| Last post | 2021-05-07 04:30 +0200 |
| Articles | 7 — 3 participants |
Back to article view | Back to linux.debian.user
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [sid] efibootmgr not working Sven Joachim <svenjoac@gmx.de> - 2021-03-18 22:00 +0100
Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 Grzesiek <pld@sojka.co> - 2021-04-08 22:40 +0200
Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 Sven Joachim <svenjoac@gmx.de> - 2021-04-10 20:00 +0200
Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 Grzesiek <pld@sojka.co> - 2021-05-05 13:30 +0200
Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 Steve McIntyre <steve@einval.com> - 2021-05-06 13:20 +0200
Re: [sid] efibootmgr not working on linux 5.10.x [solved] Grzesiek <pld@sojka.co> - 2021-05-07 00:40 +0200
Re: [sid] efibootmgr not working on linux 5.10.x [solved] Steve McIntyre <steve@einval.com> - 2021-05-07 04:30 +0200
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Date | 2021-03-18 22:00 +0100 |
| Subject | Re: [sid] efibootmgr not working |
| Message-ID | <BU7Ul-1vc-3@gated-at.bofh.it> |
On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote:
> I noticed recently that efibootmgr stoped working. On all my Sid
> machines I get the following:
>
> # efibootmgr
> EFI variables are not supported on this system.
>
> But if I run Buster (the same hardware) then everything is ok. So this
> is definitely software problem. I also noticed that the
> /sys/firmware/efi/efivars
> directory is empty.
Not here, and efibootmgr works for me.
> Kernel problem? Missing modules?
Perhaps the efivarfs module is not loaded. I don not have to load it
manually, though.
Cheers,
Sven
[toc] | [next] | [standalone]
| From | Grzesiek <pld@sojka.co> |
|---|---|
| Date | 2021-04-08 22:40 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 |
| Message-ID | <C1JBv-6fr-3@gated-at.bofh.it> |
| In reply to | #233220 |
On 3/18/21 9:55 PM, Sven Joachim wrote: > On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote: > >> I noticed recently that efibootmgr stoped working. On all my Sid >> machines I get the following: >> >> # efibootmgr >> EFI variables are not supported on this system. >> >> But if I run Buster (the same hardware) then everything is ok. So this >> is definitely software problem. I also noticed that the >> /sys/firmware/efi/efivars >> directory is empty. > > Not here, and efibootmgr works for me. > >> Kernel problem? Missing modules? > > Perhaps the efivarfs module is not loaded. I don not have to load it > manually, though. The problem seems to be related to 5.10.x kernels & LGA1155 based systems. 1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions) 2. On systems based on LGA1155 socket (i5-2500k, i7-3770): - kernels 5.10.x: efibootmgr does not work, directory /sys/firmware/efi/efivars is empty - kernel 5.8.0-2: efibootmgr woks as expected On 5.8.0-2 i get: # lsmod | grep efi efivarfs 16384 0 efi_pstore 16384 0 efivars 20480 1 efi_pstore There is no efivars.ko in 5.10.x. Maybe that is the problem? -- Regards Greg
[toc] | [prev] | [next] | [standalone]
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Date | 2021-04-10 20:00 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 |
| Message-ID | <C2q3L-7iR-7@gated-at.bofh.it> |
| In reply to | #233997 |
On 2021-04-08 22:30 +0200, Grzesiek wrote:
> On 3/18/21 9:55 PM, Sven Joachim wrote:
>> On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote:
>>
>>> I noticed recently that efibootmgr stoped working. On all my Sid
>>> machines I get the following:
>>>
>>> # efibootmgr
>>> EFI variables are not supported on this system.
>>>
>>> But if I run Buster (the same hardware) then everything is ok. So this
>>> is definitely software problem. I also noticed that the
>>> /sys/firmware/efi/efivars
>>> directory is empty.
>> Not here, and efibootmgr works for me.
>>
>>> Kernel problem? Missing modules?
>> Perhaps the efivarfs module is not loaded. I don not have to load
>> it
>> manually, though.
>
> The problem seems to be related to 5.10.x kernels & LGA1155 based systems.
>
> 1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions)
>
> 2. On systems based on LGA1155 socket (i5-2500k, i7-3770):
> - kernels 5.10.x: efibootmgr does not work,
> directory /sys/firmware/efi/efivars is empty
> - kernel 5.8.0-2: efibootmgr woks as expected
>
> On 5.8.0-2 i get:
>
> # lsmod | grep efi
> efivarfs 16384 0
> efi_pstore 16384 0
> efivars 20480 1 efi_pstore
>
> There is no efivars.ko in 5.10.x. Maybe that is the problem?
The efivars module has indeed been removed from Debian's 5.10 kernels,
as it had been deprecated in favor of efivarfs for a while.
Which versions of efibootmgr and libefivar1 do you have installed?
Cheers,
Sven
[toc] | [prev] | [next] | [standalone]
| From | Grzesiek <pld@sojka.co> |
|---|---|
| Date | 2021-05-05 13:30 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 |
| Message-ID | <CbnT3-6Wz-5@gated-at.bofh.it> |
| In reply to | #234076 |
On 4/10/21 7:52 PM, Sven Joachim wrote: > On 2021-04-08 22:30 +0200, Grzesiek wrote: > >> On 3/18/21 9:55 PM, Sven Joachim wrote: >>> On 2021-03-18 21:03 +0100, Grzesiek Sójka wrote: >>> >>>> I noticed recently that efibootmgr stoped working. On all my Sid >>>> machines I get the following: >>>> >>>> # efibootmgr >>>> EFI variables are not supported on this system. >>>> >>>> But if I run Buster (the same hardware) then everything is ok. So this >>>> is definitely software problem. I also noticed that the >>>> /sys/firmware/efi/efivars >>>> directory is empty. >>> Not here, and efibootmgr works for me. >>> >>>> Kernel problem? Missing modules? >>> Perhaps the efivarfs module is not loaded. I don not have to load >>> it >>> manually, though. >> >> The problem seems to be related to 5.10.x kernels & LGA1155 based systems. >> >> 1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions) >> >> 2. On systems based on LGA1155 socket (i5-2500k, i7-3770): >> - kernels 5.10.x: efibootmgr does not work, >> directory /sys/firmware/efi/efivars is empty >> - kernel 5.8.0-2: efibootmgr woks as expected >> >> On 5.8.0-2 i get: >> >> # lsmod | grep efi >> efivarfs 16384 0 >> efi_pstore 16384 0 >> efivars 20480 1 efi_pstore >> >> There is no efivars.ko in 5.10.x. Maybe that is the problem? > > The efivars module has indeed been removed from Debian's 5.10 kernels, > as it had been deprecated in favor of efivarfs for a while. > > Which versions of efibootmgr and libefivar1 do you have installed? The problem persists since several months. Now I have: # apt-list | grep efi efibootmgr/unstable,now 17-1 amd64 [installed] libefiboot1/unstable,now 37-6 amd64 [installed,automatic] libefivar1/unstable,now 37-6 amd64 [installed,automatic]
[toc] | [prev] | [next] | [standalone]
| From | Steve McIntyre <steve@einval.com> |
|---|---|
| Date | 2021-05-06 13:20 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x & LGA1155 |
| Message-ID | <CbKcW-3Od-11@gated-at.bofh.it> |
| In reply to | #234862 |
Hi! pld@sojka.co wrote: >On 4/10/21 7:52 PM, Sven Joachim wrote: >> On 2021-04-08 22:30 +0200, Grzesiek wrote: >>> >>> The problem seems to be related to 5.10.x kernels & LGA1155 based systems. >>> >>> 1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions) >>> >>> 2. On systems based on LGA1155 socket (i5-2500k, i7-3770): >>> - kernels 5.10.x: efibootmgr does not work, >>> directory /sys/firmware/efi/efivars is empty >>> - kernel 5.8.0-2: efibootmgr woks as expected >>> >>> On 5.8.0-2 i get: >>> >>> # lsmod | grep efi >>> efivarfs 16384 0 >>> efi_pstore 16384 0 >>> efivars 20480 1 efi_pstore >>> >>> There is no efivars.ko in 5.10.x. Maybe that is the problem? >> >> The efivars module has indeed been removed from Debian's 5.10 kernels, >> as it had been deprecated in favor of efivarfs for a while. >> >> Which versions of efibootmgr and libefivar1 do you have installed? > >The problem persists since several months. Now I have: > ># apt-list | grep efi >efibootmgr/unstable,now 17-1 amd64 [installed] >libefiboot1/unstable,now 37-6 amd64 [installed,automatic] >libefivar1/unstable,now 37-6 amd64 [installed,automatic] This line: efivarfs 16384 0 suggests the cause of the problem for you. efibootmgr (and other tools using libefivar) will look into both: * /sys/firmware/efi/vars (the old, deprecated interface that was removed in 5.10) * /sys/firmware/efi/efivars (the new interface, provided by efivarfs) As you have efivarfs loaded but with use-count of 0, that suggests that you don't have the efivarfs pseudo-filesystem mounted. This should normally be automatically mounted on system boot, along with the other pseudo-filesystems like /sys and /proc. -- Steve McIntyre, Cambridge, UK. steve@einval.com "We're the technical experts. We were hired so that management could ignore our recommendations and tell us how to do our jobs." -- Mike Andrews
[toc] | [prev] | [next] | [standalone]
| From | Grzesiek <pld@sojka.co> |
|---|---|
| Date | 2021-05-07 00:40 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x [solved] |
| Message-ID | <CbUOZ-1Fp-1@gated-at.bofh.it> |
| In reply to | #234908 |
On 5/6/21 1:10 PM, Steve McIntyre wrote: > Hi! > > pld@sojka.co wrote: >> On 4/10/21 7:52 PM, Sven Joachim wrote: >>> On 2021-04-08 22:30 +0200, Grzesiek wrote: >>>> >>>> The problem seems to be related to 5.10.x kernels & LGA1155 based systems. >>>> >>>> 1. On laptop based on i5-8250u efibootmgr works fine (all kernel versions) >>>> >>>> 2. On systems based on LGA1155 socket (i5-2500k, i7-3770): >>>> - kernels 5.10.x: efibootmgr does not work, >>>> directory /sys/firmware/efi/efivars is empty >>>> - kernel 5.8.0-2: efibootmgr woks as expected >>>> >>>> On 5.8.0-2 i get: >>>> >>>> # lsmod | grep efi >>>> efivarfs 16384 0 >>>> efi_pstore 16384 0 >>>> efivars 20480 1 efi_pstore >>>> >>>> There is no efivars.ko in 5.10.x. Maybe that is the problem? >>> >>> The efivars module has indeed been removed from Debian's 5.10 kernels, >>> as it had been deprecated in favor of efivarfs for a while. >>> >>> Which versions of efibootmgr and libefivar1 do you have installed? >> >> The problem persists since several months. Now I have: >> >> # apt-list | grep efi >> efibootmgr/unstable,now 17-1 amd64 [installed] >> libefiboot1/unstable,now 37-6 amd64 [installed,automatic] >> libefivar1/unstable,now 37-6 amd64 [installed,automatic] > > This line: > > efivarfs 16384 0 > > suggests the cause of the problem for you. efibootmgr (and other tools > using libefivar) will look into both: > > * /sys/firmware/efi/vars (the old, deprecated interface that was > removed in 5.10) > * /sys/firmware/efi/efivars (the new interface, provided by efivarfs) > > As you have efivarfs loaded but with use-count of 0, that suggests > that you don't have the efivarfs pseudo-filesystem mounted. This > should normally be automatically mounted on system boot, along with > the other pseudo-filesystems like /sys and /proc. Thanks! Manually mounting solved the problem. Which service is responsible for mounting /sys/firmware/efi/efivars?
[toc] | [prev] | [next] | [standalone]
| From | Steve McIntyre <steve@einval.com> |
|---|---|
| Date | 2021-05-07 04:30 +0200 |
| Subject | Re: [sid] efibootmgr not working on linux 5.10.x [solved] |
| Message-ID | <CbYpz-3Uc-1@gated-at.bofh.it> |
| In reply to | #234950 |
pld@sojka.co wrote: >On 5/6/21 1:10 PM, Steve McIntyre wrote: >> >> This line: >> >> efivarfs 16384 0 >> >> suggests the cause of the problem for you. efibootmgr (and other tools >> using libefivar) will look into both: >> >> * /sys/firmware/efi/vars (the old, deprecated interface that was >> removed in 5.10) >> * /sys/firmware/efi/efivars (the new interface, provided by efivarfs) >> >> As you have efivarfs loaded but with use-count of 0, that suggests >> that you don't have the efivarfs pseudo-filesystem mounted. This >> should normally be automatically mounted on system boot, along with >> the other pseudo-filesystems like /sys and /proc. > >Thanks! Manually mounting solved the problem. Which service is >responsible for mounting /sys/firmware/efi/efivars? AFAIK it's normally mounted automatically by systemd on EFI systems, no service needed. It's considered a core part of the system these days. -- Steve McIntyre, Cambridge, UK. steve@einval.com "We're the technical experts. We were hired so that management could ignore our recommendations and tell us how to do our jobs." -- Mike Andrews
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web