commit | d73a663c79943ae97194347ca1ee3f8d454f6bfa | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Wed Oct 12 16:43:06 2022 -0500 |
committer | Jayanth Othayoth <ojayanth@in.ibm.com> | Wed Jun 21 17:11:18 2023 +0000 |
tree | e1cf8b28713659c27b02f0a32f63236d1fe0cc35 | |
parent | 1ddb006b8bbb8294c402fe774e077528fd54d7fd [diff] |
openpower:dreport: Save badPEL file in dump The last invalid/corrupt PEL the host sent down to the BMC is saved in /var/lib/phosphor-logging/extensions/pels/badPEL. Save it in a dump if it exists so we can get the contents when it happens in the field. Tested: ~/BMCDUMP.SIMP10R.00000000.20221012205429_out/archive$ ls -l badPEL -rw-r--r--. 1 spinler spinler 5599 Oct 12 15:54 badPEL Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Id6052d5c4c052860e978314e541d4a1b978ee615
Phosphor Debug Collector provides mechanisms to collect various log files and system parameters. Used to troubleshoot problems in OpenBMC based systems.
One such mechanism is dreport, a script that collects debug data and packages it into an archive file.
To build this package with meson, do the following steps:
1. meson builddir 2. ninja -C builddir
To clean the built files run ninja -C builddir clean
.
Tests can be run in the CI docker container, refer local-ci-build
or with an OpenBMC x86 sdk(see below for x86 steps).
meson -Dtests=enabled build ninja -C build test