History log of /openbmc/openpower-debug-collector/dump/tools/bmcdump/plugins/ (Results 1 – 8 of 8)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
90bb9ad201-Aug-2025 Chris Cain <cjcain@us.ibm.com>

bmcdump: Add occ-control data to plugin

Send USR1 signal to openpower-occ-control app to collect it's dump data
to be added to a BMC dump.

Tested on Rainier:
OCCs not running:
```
$ cat BMCDUMP.139

bmcdump: Add occ-control data to plugin

Send USR1 signal to openpower-occ-control app to collect it's dump data
to be added to a BMC dump.

Tested on Rainier:
OCCs not running:
```
$ cat BMCDUMP.139F210.00000000.20250801210223_out/archive/occ_control_dump.json
{
"objectCount": "4 OCC objects",
"occ0": {
"occState": "NOT ACTIVE"
},
"occ1": {
"occState": "NOT ACTIVE"
},
"occ2": {
"occState": "NOT ACTIVE"
},
"occ3": {
"occState": "NOT ACTIVE"
}
}
```
OCCs running:
```
$ cat BMCDUMP.139F210.00000000.20250801191023_out/archive/occ_control_dump.json
{
"objectCount": "4 OCC objects",
"occ0": {
"occHwmonPath": "/sys/bus/platform/drivers/occ-hwmon/occ-hwmon.1/hwmon/hwmon13",
"occRole": "MASTER",
"occState": "ACTIVE",
"pollResponse": [
"0000: 93000F00 030C0100 00000000 00000000",
"0010: 6F705F70 31315F32 35303432 38610000",
"0020: 53454E53 4F520501 54454D50 0010081C",
"0030: C0000004 0025555F C0000005 0025555F",
"0040: C0000006 0023555F C0000007 0024555F",
"0050: C0000008 0024555F C0000009 0023555F",
"0060: C000000A 0023555F C000000B 0024555F",
...
```

Change-Id: I792cb5554614f28c4b5bc5bf43381bc5ec142e56
Signed-off-by: Chris Cain <cjcain@us.ibm.com>

show more ...

7dc22ef016-May-2025 Gopichand Paturi <gopichandpaturi@gmail.com>

bmcdump plugin: Install hostboot plugin

Verified:
Verified that hostboot plugin is installed.

Change-Id: I3573d94551208eee540e9ad158ed84c947729282
Signed-off-by: Gopichand Paturi <gopichandpaturi@g

bmcdump plugin: Install hostboot plugin

Verified:
Verified that hostboot plugin is installed.

Change-Id: I3573d94551208eee540e9ad158ed84c947729282
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>

show more ...

a24ae17705-May-2025 Souvik Roy <souvik.roy10@ibm.com>

Remove unused bmcdump VPD plugin entry

This commit updates the VPD plugin in bmcdump to remove the unused bad
vpd directory in /tmp. vpd-manager now dumps bad VPD files into
/var/lib/vpd/dumps and /

Remove unused bmcdump VPD plugin entry

This commit updates the VPD plugin in bmcdump to remove the unused bad
vpd directory in /tmp. vpd-manager now dumps bad VPD files into
/var/lib/vpd/dumps and /var/lib/vpd is already handled by plugin entry
"VPD persistent data".

Test:
```
1. Ensure vpd-manager has dumped 3 bad VPD files in /var/lib/vpd/dumps
2. Initiate a user generated BMC dump
busctl --verbose call xyz.openbmc_project.Dump.Manager
/xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create
CreateDump a{sv} 0
3. Once dump entry status is shown as completed, extract the dump and
check vpd folder to see a dumps directory is present with the
expected bad VPD files inside.
```

Change-Id: I34d108ebba69e43b9fbe2fddd2a83cb8dd2b1174
Signed-off-by: Souvik Roy <souvikroyofficial10@gmail.com>

show more ...

a83122bd15-Apr-2025 Gopichand Paturi <gopichandpaturi@gmail.com>

opdreport: add host preserved partitions to BMC dump

This change is picked from
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/52594

HBEL (Hostboot error logs)
HBD_RW (Hostboot

opdreport: add host preserved partitions to BMC dump

This change is picked from
https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/52594

HBEL (Hostboot error logs)
HBD_RW (Hostboot preserved attributes)
EECACHE (Hostboot VPD cache)

Tested:
```
Wed Apr 13 08:13:31 UTC 2022 INFO: Copied HBEL /media/hostfw/running/HBEL
Wed Apr 13 08:13:31 UTC 2022 INFO: Copied HBD_RW /media/hostfw/running/HBD_RW
Wed Apr 13 08:13:31 UTC 2022 INFO: Copied EECACHE /media/hostfw/running/EECACHE

root@rain104bmc:/tmp/test/obmcdump_00000000_1649837600# ls -la HBEL
-rw-r----- 1 root root 147456 Apr 13 08:13 HBEL
root@rain104bmc:/tmp/test/obmcdump_00000000_1649837600# ls -lah HBEL
-rw-r----- 1 root root 144.0K Apr 13 08:13 HBEL
-rw-r----- 1 root root 2.0M Apr 13 08:13 HBD_RW
root@rain104bmc:/tmp/test/obmcdump_00000000_1649837600# ls -lah EECACHE
-rw-r----- 1 root root 2.8M Apr 13 08:13 EECACHE
```

Change-Id: Icaa065540e940f26a930e27db8d94fa4c4a19c88
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>

show more ...

da87a50003-Mar-2025 Matt Spinler <spinler@us.ibm.com>

Add entity-objects D-Bus objects to dump

There are some associations that are useful for debug and just getting
them from entity-manager as opposed to the mapper is less resource
intensive and takes

Add entity-objects D-Bus objects to dump

There are some associations that are useful for debug and just getting
them from entity-manager as opposed to the mapper is less resource
intensive and takes up a smaller amount of space in the dump.

Tested:
The file and the data are in the dump:
```
~/BMCDUMP.XXXXXXX.00000000.20250226205426_out/archive$ head emobjects.log
MESSAGE "a{oa{sa{sv}}}" {
ARRAY "{oa{sa{sv}}}" {
DICT_ENTRY "oa{sa{sv}}" {
OBJECT_PATH "/xyz/openbmc_project/inventory/system/board/Ingraham_Board";
ARRAY "{sa{sv}}" {
DICT_ENTRY "sa{sv}" {
STRING "org.freedesktop.DBus.Peer";
ARRAY "{sv}" {
};
};

```

Change-Id: I612b59b1a0d9483b33beae05f04ab82eafbe72cf
Signed-off-by: Matt Spinler <spinler@us.ibm.com>

show more ...

0d72381f24-Oct-2024 Gopichand Paturi <gopichandpaturi@gmail.com>

Faultlog: Add support to install Faultlog

Add faultlog to bmcdump plugins and include faultlog in dreport_op.conf
which shall install the plugin from meta-ibm layer in openbmc repo
and creates sym-l

Faultlog: Add support to install Faultlog

Add faultlog to bmcdump plugins and include faultlog in dreport_op.conf
which shall install the plugin from meta-ibm layer in openbmc repo
and creates sym-link.

Test Results:
Verified that openpower-debug-collector recipe installs faultlog script

sysroot-destdir$ ls usr/share/dreport.d/pl_faultdata.d
E10faultlog

Change-Id: I46ece91a04d4d40a3bd72771d6fea11468e5e403
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>

show more ...

eb46252d17-Jun-2024 Manojkiran Eda <manojkiran.eda@gmail.com>

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://githu

Fix spelling mistakes using codespell

This commit corrects various spelling mistakes throughout the
repository. The corrections were made automatically using `codespell`[1]
tool.

[1]: https://github.com/codespell-project/codespell

Change-Id: Ib615c5fe1dfb01fc0adedd692524fe145c8c4e82
Signed-off-by: Manojkiran Eda <manojkiran.eda@gmail.com>

show more ...

24226c4f16-May-2024 Gopichand Paturi <gopichandpaturi@gmail.com>

Move dump scripts from phosphor-debug-collector

This commit is intended to move the dump collection
scripts from openbmc/phosphor-debug-collector repository.
Following are the scripts that are pulle

Move dump scripts from phosphor-debug-collector

This commit is intended to move the dump collection
scripts from openbmc/phosphor-debug-collector repository.
Following are the scripts that are pulled from the
specified paths of openbmc/phosphor-debug-collector.

1. tools/dreport.d/ibm.d/package
2. tools/dreport.d/ibm.d/plugins.d/pels
3. tools/dreport.d/ibm.d/plugins.d/badpel
4. tools/dreport.d/ibm.d/plugins.d/vpd_data
5. tools/dreport.d/openpower.d/plugins.d/cfam
6. tools/dreport.d/openpower.d/plugins.d/dumpfilelist
7. tools/dreport.d/openpower.d/plugins.d/guardlist
8. tools/dreport.d/openpower.d/plugins.d/obmcconsole1
9. tools/dreport.d/openpower.d/plugins.d/occ
10.tools/dreport.d/openpower.d/plugins.d/phal_devtree

Also the following 3 patches have been applied.
1.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/56428
2.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/52436
3.https://gerrit.openbmc.org/c/openbmc/phosphor-debug-collector/+/47917

Also, added meson changes to install the scripts.

Test:
Verified that the scripts are getting installed correctly on BMC.

Change-Id: Iaddf909efaa138db06c877e5ca6a80608feb5baf
Signed-off-by: Gopichand Paturi <gopichandpaturi@gmail.com>

show more ...


/openbmc/openpower-debug-collector/.clang-format
/openbmc/openpower-debug-collector/.gitignore
/openbmc/openpower-debug-collector/.shellcheck-ignore
/openbmc/openpower-debug-collector/LICENSE
/openbmc/openpower-debug-collector/OWNERS
/openbmc/openpower-debug-collector/README.md
/openbmc/openpower-debug-collector/checkstop_app.cpp
/openbmc/openpower-debug-collector/dump/create_pel.cpp
/openbmc/openpower-debug-collector/dump/create_pel.hpp
/openbmc/openpower-debug-collector/dump/dump_collect_main.cpp
/openbmc/openpower-debug-collector/dump/dump_monitor.cpp
/openbmc/openpower-debug-collector/dump/dump_monitor.hpp
/openbmc/openpower-debug-collector/dump/dump_monitor_main.cpp
/openbmc/openpower-debug-collector/dump/dump_utils.cpp
/openbmc/openpower-debug-collector/dump/dump_utils.hpp
/openbmc/openpower-debug-collector/dump/meson.build
/openbmc/openpower-debug-collector/dump/sbe_consts.hpp
/openbmc/openpower-debug-collector/dump/sbe_dump_collector.cpp
/openbmc/openpower-debug-collector/dump/sbe_dump_collector.hpp
/openbmc/openpower-debug-collector/dump/sbe_type.cpp
/openbmc/openpower-debug-collector/dump/sbe_type.hpp
/openbmc/openpower-debug-collector/dump/tools/bmcdump/dreport_op.conf
/openbmc/openpower-debug-collector/dump/tools/bmcdump/meson.build
badpel
cfam
dumpfilelist
guardlist
meson.build
obmcconsole1
occ
pels
phal_devtree
vpd_data
/openbmc/openpower-debug-collector/dump/tools/bmcdump/scripts/meson.build
/openbmc/openpower-debug-collector/dump/tools/bmcdump/scripts/package
/openbmc/openpower-debug-collector/dump/tools/common/include/gendumpheader
/openbmc/openpower-debug-collector/dump/tools/common/include/gendumpinfo
/openbmc/openpower-debug-collector/dump/tools/common/include/meson.build
/openbmc/openpower-debug-collector/dump/tools/common/include/opfunctions
/openbmc/openpower-debug-collector/dump/tools/common/meson.build
/openbmc/openpower-debug-collector/dump/tools/meson.build
/openbmc/openpower-debug-collector/dump/tools/opdump/meson.build
/openbmc/openpower-debug-collector/dump/tools/opdump/opdreport
/openbmc/openpower-debug-collector/meson.build
/openbmc/openpower-debug-collector/meson.options
/openbmc/openpower-debug-collector/subprojects/CLI11.wrap
/openbmc/openpower-debug-collector/subprojects/phosphor-logging.wrap
/openbmc/openpower-debug-collector/subprojects/sdbusplus.wrap
/openbmc/openpower-debug-collector/watchdog/ffdc_file.cpp
/openbmc/openpower-debug-collector/watchdog/ffdc_file.hpp
/openbmc/openpower-debug-collector/watchdog/file_descriptor.hpp
/openbmc/openpower-debug-collector/watchdog/meson.build
/openbmc/openpower-debug-collector/watchdog/utils.cpp
/openbmc/openpower-debug-collector/watchdog/utils.hpp
/openbmc/openpower-debug-collector/watchdog/watchdog_common.cpp
/openbmc/openpower-debug-collector/watchdog/watchdog_common.hpp
/openbmc/openpower-debug-collector/watchdog/watchdog_dbus.cpp
/openbmc/openpower-debug-collector/watchdog/watchdog_dbus.hpp
/openbmc/openpower-debug-collector/watchdog/watchdog_handler.cpp
/openbmc/openpower-debug-collector/watchdog/watchdog_handler.hpp
/openbmc/openpower-debug-collector/watchdog/watchdog_logging.cpp
/openbmc/openpower-debug-collector/watchdog/watchdog_logging.hpp
/openbmc/openpower-debug-collector/watchdog/watchdog_main.cpp
/openbmc/openpower-debug-collector/watchdog/watchdog_main.hpp
/openbmc/openpower-debug-collector/watchdog_timeout.cpp