From 17e10e6463249dda117e09d86749610931b52053 Mon Sep 17 00:00:00 2001 From: Andrew Geissler Date: Tue, 5 Oct 2021 13:49:19 -0500 Subject: meta-ibm:pstore: remove console from ramoops The documentation for CONFIG_PSTORE_CONSOLE indicates the following: "pstore will log all kernel messages, even if no oops or panic happened" This causes a console-ramoops-0 to appear in /var/lib/systemd/pstore/ on any BMC reboot. This in turn causes phosphor-debug-collector, which monitors for any files in this directory, to generate a BMC dump with the file. This is not what we want. What we really need are the dmesg-ramoops-* files which are generated when a kernel panic or oops occur. Remove the CONSOLE setting so we only get dumps when an actual BMC failure occurs. Tested: - Verified that console-ramoops-0 file no longer appears in /var/lib/systemd/pstore/ after a BMC reboot. - Verified we still get needed dmesg-ramoops-* files when a kernel panic occurs. Signed-off-by: Andrew Geissler Change-Id: I6b48a8715946b193257bcc4892e07f87c13c95e6 --- meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg | 1 - 1 file changed, 1 deletion(-) (limited to 'meta-ibm/recipes-kernel/linux') diff --git a/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg b/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg index 5cda19abb..2714966c1 100644 --- a/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg +++ b/meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg @@ -8,7 +8,6 @@ CONFIG_IIO=y CONFIG_SI7020=y CONFIG_BMP280=y CONFIG_PSTORE=y -CONFIG_PSTORE_CONSOLE=y CONFIG_PSTORE_PMSG=y CONFIG_PSTORE_RAM=y CONFIG_MAGIC_SYSRQ=y -- cgit v1.2.3