mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [REGRESSION] Failure to write the NVRAM variables starting from kernel 6.0 on T2 Macs
@ 2022-10-19 19:26 Aditya Garg
  2022-10-19 21:23 ` Ard Biesheuvel
  0 siblings, 1 reply; 6+ messages in thread
From: Aditya Garg @ 2022-10-19 19:26 UTC (permalink / raw)
  To: matthew.garrett, jk, ardb, linux-efi, linux-kernel; +Cc: Orlando Chamberlain

Starting from linux kernel 6.0, the ability to write to the NVRAM has been lost on T2 Macs.

This has been observed especially during installation of boot loaders like GRUB, causing errors as shown :-

Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0001.
grub-install: warning: efivarfs_set_variable: writing to fd 7 failed: Invalid argument.
grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: Invalid argument.
grub-install: error: failed to register the EFI boot entry: Invalid argument.

I couldn't find any relevant error in journalctl though, but I still am posting my journalctl just in case I missed any error.

https://gist.github.com/AdityaGarg8/da7a9a2c891f5b2f68f71dc0d0e77f9a

Regards
Aditya

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-10-27  4:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-19 19:26 [REGRESSION] Failure to write the NVRAM variables starting from kernel 6.0 on T2 Macs Aditya Garg
2022-10-19 21:23 ` Ard Biesheuvel
2022-10-20 10:54   ` Aditya Garg
2022-10-26 21:18   ` Aditya Garg
2022-10-26 21:20     ` Ard Biesheuvel
2022-10-27  4:33       ` Aditya Garg

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®