commit | 0007b70ca1d59c2349224b5d4ad5aba39560b668 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Tue Feb 01 03:23:14 2022 -0600 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Tue Jun 13 22:06:14 2023 -0500 |
tree | f5589cf3415a0f156c67c09d2d2641d0e440ac01 | |
parent | d1f670fe7ea219c643f8b630e8c2d7b333f16e35 [diff] |
OpenPOWER: Ignore duplicate system dump entry This commit introduces changes to handle scenarios where the host might report the same system dump entry more than once. The changes have been made to address two main scenarios: When the host generates a system dump having the same dump id and size as an existing entry, the new notification is ignored if the existing entry is marked as 'completed'. A trace is added if the existing entry is incomplete. In cases where the dump id matches an existing entry, but the size is different, the old entry is considered stale and gets deleted. A new entry will be created subsequently. This issue arises particularly during internal failure recovery in the host, where it notifies all the pending dumps again. In cases where entries are already available for such dumps on the BMC, duplicate entries may be created, potentially leading to confusion for users. This change prevents the creation of new entries if an entry already exists for the same dump. Tests: Create a disruptive system dump and offload Create a non-disruptive system dump and offload Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I31d92df43476a19880d084a68e5db17c5207bd81
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