summaryrefslogtreecommitdiff
path: root/meta-ibm
diff options
context:
space:
mode:
authorAndrew Geissler <geissonator@yahoo.com>2021-10-05 21:49:19 +0300
committerAndrew Geissler <geissonator@yahoo.com>2021-10-06 20:34:06 +0300
commit17e10e6463249dda117e09d86749610931b52053 (patch)
tree018fc7cc877edaf7e15593086a392676d4f287d6 /meta-ibm
parent247ce8f3b9022b95929dfb5a87d6cf1839eb4be4 (diff)
downloadopenbmc-17e10e6463249dda117e09d86749610931b52053.tar.xz
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 <geissonator@yahoo.com> Change-Id: I6b48a8715946b193257bcc4892e07f87c13c95e6
Diffstat (limited to 'meta-ibm')
-rw-r--r--meta-ibm/recipes-kernel/linux/linux-aspeed/p10bmc.cfg1
1 files changed, 0 insertions, 1 deletions
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