commit | a72daf5c4128b27229685c0d555ac656d6c60000 | [log] [tgz] |
---|---|---|
author | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed Jun 21 13:41:42 2023 -0500 |
committer | Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> | Wed Jun 21 14:46:35 2023 -0500 |
tree | 171d468385d847f7eb4127424287e910ca11cec3 | |
parent | 0cfe1a2ee0fd9ecf69d340f7bad4a2a9c1b04d32 [diff] |
OpenPOWER: Fix compile error in p10bmc There is fix in a line missed after testing in downstream with lastest review comment which caused the compile failure in p10bmc Test: Created a system dump busctl --verbose call xyz.openbmc_project.Dump.Manager\ /xyz/openbmc_project/dump/system \ xyz.openbmc_project.Dump.Create CreateDump a{sv} 0 MESSAGE "o" { OBJECT_PATH "/xyz/openbmc_project/dump/system/\ entry/1"; }; Once the dump is completed check the value of pvm_sys_dump_active busctl call xyz.openbmc_project.BIOSConfigManager \ /xyz/openbmc_project/bios_config/manager \ xyz.openbmc_project.BIOSConfig.Manager \ GetAttribute s pvm_sys_dump_active svv "xyz.openbmc_project.BIOSConfig.Manager.AttributeType.\ Enumeration" s "Enabled" s "" Try another system dump busctl --verbose call xyz.openbmc_project.Dump.Manager \ /xyz/openbmc_project/dump/system \ xyz.openbmc_project.Dump.Create CreateDump a{sv} 0 Call failed: The service is temporarily unavailable. System dump is not allowed when another dump is in progress Change-Id: I367c4f5e58888348c33abbf813f16f2708f27ff8 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
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