FS#50501 - [linux] enable CONFIG_EFI_VARS_PSTORE

Attached to Project: Arch Linux
Opened by Jose Marino (oniram) - Tuesday, 23 August 2016, 19:47 GMT
Last edited by freswa (frederik) - Saturday, 17 October 2020, 01:51 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description:

Recently I was trying to debug a kernel panic and I noticed that nothing was being stored in /sys/fs/pstore/. I have a Dell XPS 15 (9550) and EFI vars can be used to provide a backend for pstore. However, the core/linux kernel package has CONFIG_EFI_VARS and CONFIG_EFI_VARS_PSTORE disabled. I had to compile my own kernel to enable them and get a proper dmesg log of the kernel panic.

Is there any reason not to have EFI_VARS and EFI_VARS_PSTORE enabled by default (as modules)? I think it'll be very useful to have a EFI pstore backend in core/linux.
This task depends upon

Closed by  freswa (frederik)
Saturday, 17 October 2020, 01:51 GMT
Reason for closing:  Won't fix
Additional comments about closing:  Not required anymore.
Comment by Tobias Powalowski (tpowa) - Thursday, 17 November 2016, 18:37 GMT
CONFIG_EFI_VARS will not be enabled it's the old way of dealing with EFI things.
Comment by Heorhii Valakhanovich (tormoz) - Tuesday, 13 October 2020, 23:34 GMT
  • Field changed: Percent Complete (100% → 0%)
EFI_VARS_PSTORE in many x86 systems is the only way to reliably catch kernel panic logs (kexec+ramoops is not very reliable and requires intentional debugging). And it requires EFI_VARS
Comment by loqs (loqs) - Saturday, 17 October 2020, 01:37 GMT
The requirement has been dropped [1], unfortunately the change missed 5.9.

[1] https://github.com/torvalds/linux/commit/232f4eb6393f42f7f9418560ae9228e747fc6faf

Edit:
Link to correct commit

Loading...