NAK/Cmnt: [PATCH 1/1] UBUNTU: [Config] CONFIG_EFI_VARS_PSTORE=y

Sultan Alsawaf sultan.alsawaf at canonical.com
Wed Apr 22 19:49:00 UTC 2020


On Tue, Apr 14, 2020 at 05:11:56PM +0800, Kai-Heng Feng wrote:
> 
> 
> > On Apr 10, 2020, at 02:13, Seth Forshee <seth.forshee at canonical.com> wrote:
> > 
> > On Thu, Apr 09, 2020 at 10:38:46PM +0800, Kai-Heng Feng wrote:
> >> BugLink: https://bugs.launchpad.net/bugs/1871819
> >> 
> >> Pstore with EFI backend is really useful for debugging kernel oops.
> >> Make it builtin to always collect logs.
> >> 
> >> Signed-off-by: Kai-Heng Feng <kai.heng.feng at canonical.com>
> > 
> > I'm a little hesitant about doing this, in large part because there have
> > been cases in the past of machines being bricked by writing to NVRAM.
> > Hopefully those problems are a thing of the past, but that history still
> > makes me wary of doing this globally.
> 
> Ok, that does sound risky.
> 
> > 
> > Why is it so important to have this loaded by default, rather than
> > loading the module when trying to collect crash data?
> 
> Because this needs to be loaded before crashing.
> Combine with systemd-pstore, we can upload these crash logs via Apport.
> 
> If we can't make it builtin, another approach is to have it in /etc/modules.
> 
> Kai-Heng
> 
> -- 
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team

I think it'd be okay if you added CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE=y.

But since this has bricked laptops (IIRC cking mentioned it happening to him), I
don't think we should have this on by default.



More information about the kernel-team mailing list