History log of /openbmc/phosphor-debug-collector/tools/ (Results 1 – 25 of 103)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
fa54598713-May-2024 Swarnendu-R-C <swarnendu.roy.chowdhury@ibm.com>

dreport: Adding redundant FW info in BMC dumps

To support additional information, the non booting FW
info is added in a separate file along with active/booting
FW in the os-release file for all the

dreport: Adding redundant FW info in BMC dumps

To support additional information, the non booting FW
info is added in a separate file along with active/booting
FW in the os-release file for all the BMC dumps.

This commit includes the changes to add the redundant or
backup FW version name (if present), in a separate file
named redundant-os-release file for all the BMC dumps.

Test Results:

cat BMCDUMP.13BE960.0000053.20240510180023/redundant-os-release

REDUNDANT_FW="fw1060.00-16-1060.2420.20240508a (NL1060_042)"

Signed-off-by: Swarnendu Roy Chowdhury <swarnendu.roy.chowdhury@ibm.com>
Change-Id: Ie74df4b0371db749908b3cefc6cab6e89df442db

show more ...

a670091305-Dec-2023 nitinkotania <gitnkotania@gmail.com>

dreport: Added support to collect LDAP config data

LDAP related detailed data will be collected as part of BMC user
initiated Dump.
This commit will add 2 new file:
1. usrmgrldap.log (size: 3.1K)
2.

dreport: Added support to collect LDAP config data

LDAP related detailed data will be collected as part of BMC user
initiated Dump.
This commit will add 2 new file:
1. usrmgrldap.log (size: 3.1K)
2. nslcd.conf (size: 526B)

Tested By:
Tested by collecting BMC dump.

Change-Id: I09e35379935838c6f06d8604303f16a1febc8d3a
Signed-off-by: nitinkotania <gitnkotania@gmail.com>

show more ...


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/OWNERS
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager.hpp
/openbmc/phosphor-debug-collector/dump-extensions/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_types.mako.cpp
/openbmc/phosphor-debug-collector/dump_types.mako.hpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/elog_watch.hpp
/openbmc/phosphor-debug-collector/example_dump_types.yaml
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/pldm_utils.cpp
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/meson.build
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp
/openbmc/phosphor-debug-collector/map_gen.py
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/meson.options
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/ramoops_manager.hpp
/openbmc/phosphor-debug-collector/test/meson.build
dreport.d/plugins.d/ldapdump
c04e0e0a19-Jun-2023 Eddie James <eajames@linux.ibm.com>

Add linux trace events

Add the output of the linux trace buffer to user dumps, with
lowest priority since the file can be large (~10MB).

Change-Id: I186b123154098400245f24db438e2a79a8da8b10
Signed-

Add linux trace events

Add the output of the linux trace buffer to user dumps, with
lowest priority since the file can be large (~10MB).

Change-Id: I186b123154098400245f24db438e2a79a8da8b10
Signed-off-by: Eddie James <eajames@linux.ibm.com>

show more ...

0cfe1a2e21-Jun-2023 Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

Fix markdownlint and shellcheck errors

This commit addresses issues with markdownlint complaining
about unspecified languages for the fenced code blocks in
the README.md files of the main repo and t

Fix markdownlint and shellcheck errors

This commit addresses issues with markdownlint complaining
about unspecified languages for the fenced code blocks in
the README.md files of the main repo and the dreport tool.

Resolved this by specifying 'bash' as the language for
these code blocks in both README.md files.

Additionally added tools/dreport.d/ibm.d/plugins.d/badpel
to .shellcheck-ignore to suppress SC1091 and SC2086
errors

Change-Id: I3432dc87999f518949a9459d2ab07e21a73595b1
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>

show more ...

d73a663c12-Oct-2022 Matt Spinler <spinler@us.ibm.com>

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 s

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

show more ...


/openbmc/phosphor-debug-collector/.clang-format
/openbmc/phosphor-debug-collector/bmc_dump_entry.cpp
/openbmc/phosphor-debug-collector/bmc_dump_entry.hpp
/openbmc/phosphor-debug-collector/core_manager.cpp
/openbmc/phosphor-debug-collector/core_manager_main.cpp
/openbmc/phosphor-debug-collector/dump-extensions/default/default.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump-extensions.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_resource.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/dump_manager_system.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/meson.build
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/op_dump_util.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/op_dump_util.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/resource_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.cpp
/openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/system_dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_entry.cpp
/openbmc/phosphor-debug-collector/dump_entry.hpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.cpp
/openbmc/phosphor-debug-collector/dump_manager_bmc.hpp
/openbmc/phosphor-debug-collector/dump_manager_faultlog.cpp
/openbmc/phosphor-debug-collector/dump_manager_faultlog.hpp
/openbmc/phosphor-debug-collector/dump_manager_main.cpp
/openbmc/phosphor-debug-collector/dump_offload.cpp
/openbmc/phosphor-debug-collector/dump_serialize.cpp
/openbmc/phosphor-debug-collector/dump_utils.cpp
/openbmc/phosphor-debug-collector/dump_utils.hpp
/openbmc/phosphor-debug-collector/elog_watch.cpp
/openbmc/phosphor-debug-collector/faultlog_dump_entry.cpp
/openbmc/phosphor-debug-collector/faultlog_dump_entry.hpp
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/common/pldm_utils.cpp
/openbmc/phosphor-debug-collector/host-transport-extensions/pldm/oem/ibm/pldm_oem_cmds.cpp
/openbmc/phosphor-debug-collector/meson.build
/openbmc/phosphor-debug-collector/ramoops_manager.cpp
/openbmc/phosphor-debug-collector/ramoops_manager.hpp
/openbmc/phosphor-debug-collector/ramoops_manager_main.cpp
/openbmc/phosphor-debug-collector/subprojects/sdeventplus.wrap
/openbmc/phosphor-debug-collector/test/debug_inif_test.cpp
/openbmc/phosphor-debug-collector/test/meson.build
dreport.d/ibm.d/plugins.d/badpel
/openbmc/phosphor-debug-collector/watch.cpp
/openbmc/phosphor-debug-collector/xyz/openbmc_project/Dump/Internal/Create/meson.build
40d6719301-Feb-2023 Jayanth Othayoth <ojayanth@in.ibm.com>

dreport: fix invalid -type related error

With recent beautysh updates dreport -type option is broken
with below error
"Invalid -type, Only summary log is available"

Tested:
verified dreport -v -

dreport: fix invalid -type related error

With recent beautysh updates dreport -type option is broken
with below error
"Invalid -type, Only summary log is available"

Tested:
verified dreport -v -t user.

Change-Id: Id3cc1d1165acc4e10b94268b91df448758cdd428
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>

show more ...

3598158b12-Jan-2023 Alexander Filippov <a.filippov@yadro.com>

dreport: remove unnecessary filed parts

Generating a content of a report bundle may fail, but leave incomplete
parts that increase the bundle size over the allowed limit.

For example: On the BMC wi

dreport: remove unnecessary filed parts

Generating a content of a report bundle may fail, but leave incomplete
parts that increase the bundle size over the allowed limit.

For example: On the BMC with very big uptime `journal-pretty.log` may
overflow `/tmp` and lead to the bundle creation that even compressed is
longer than `RWFS`.

This prevents including such parts into the resulting bundle.

Change-Id: I24b29eaaac730c39735da7a032400e95f0710ff5
Signed-off-by: Alexander Filippov <a.filippov@yadro.com>

show more ...

9d26e4fa08-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patric

beautysh: re-format

beautysh is enabled in the openbmc-build-scripts on Bash/Zsh/POSIX-sh
files to have a consistent formatting. Re-run the formatter on the
whole repository.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I38048dcd55f2db51bcc87b33ea0748a6cfdcca68

show more ...

d4f8756408-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

prettier: re-format

Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.

Change-Id: I89627d0d17fabfd1ea2305d071bfd6247da6b34d
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>

show more ...

78942d6805-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

ramoops: avoid deleting root

Add checking that the optional_path is provided so that root
cannot be deleted. Also, fix all the shellcheck errors and
reformat with beautysh.

Fixes openbmc/phosphor-

ramoops: avoid deleting root

Add checking that the optional_path is provided so that root
cannot be deleted. Also, fix all the shellcheck errors and
reformat with beautysh.

Fixes openbmc/phosphor-debug-collector#24.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I1fd4d0693443e54045b29efb3b92da770eb2933a

show more ...

1e68a88d13-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: move ipaddr plugin commands into network plugin

Combining all network related commands into network plugin.
Removing iplink plugin and command as it is capturing duplicate
data.

Tested:
ro

dreport: move ipaddr plugin commands into network plugin

Combining all network related commands into network plugin.
Removing iplink plugin and command as it is capturing duplicate
data.

Tested:
root@rain104bmc:/tmp/test/obmcdump_00000000_1649837600# cat network.log
[ip addr]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
.....

[netstat]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
.....

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Ie95865ca729e06fafdf8a6cbc9a9c294c9e4fa34

show more ...

27c0075707-Nov-2022 Marri Devender Rao <devenrao@in.ibm.com>

Revert "dreport: add active services (systemd) status to the BMC dump"

Listing activer service status is taking over 10 seconds and is
delaying generating user dump.

Removing the script as we alrea

Revert "dreport: add active services (systemd) status to the BMC dump"

Listing activer service status is taking over 10 seconds and is
delaying generating user dump.

Removing the script as we already have listing of failed
service script which lists failed services.

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I7de203d5ad1619707461734e2431394689e107c7

show more ...


f39157c824-Oct-2022 Janet Adkins <janeta@us.ibm.com>

dreport: Add Linux Kernel trace to dump

Added Linux Kernel trace to "core" and "user" dumps.

Tested:
Manually ran dreport for both type core and type user. Verified
trace was included in trace an

dreport: Add Linux Kernel trace to dump

Added Linux Kernel trace to "core" and "user" dumps.

Tested:
Manually ran dreport for both type core and type user. Verified
trace was included in trace and could be extracted.

Change-Id: Ib0ff61da8e3798e7327a5effe38f52873ead7c20
Signed-off-by: Janet Adkins <janeta@us.ibm.com>

show more ...

89d648e714-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: removing logging error in altfwprintenv dump plugin

This script logs error when executed on system which has
single BMC flash chip.

This Alt flash config script works only on systems
which

dreport: removing logging error in altfwprintenv dump plugin

This script logs error when executed on system which has
single BMC flash chip.

This Alt flash config script works only on systems
which has 2 BMC flash chips.

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: If80645cf4946e454ae676a2e656b091117deafb1

show more ...

6602714829-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

openpower:dreport: add cfam details to BMC dump

Tested:
Fri Apr 29 04:03:17 UTC 2022 INFO: Collected cfam 283c
Fri Apr 29 04:03:17 UTC 2022 INFO: Collected cfam 1007
Fri Apr 29 04:03:17 UTC 2022 INF

openpower:dreport: add cfam details to BMC dump

Tested:
Fri Apr 29 04:03:17 UTC 2022 INFO: Collected cfam 283c
Fri Apr 29 04:03:17 UTC 2022 INFO: Collected cfam 1007
Fri Apr 29 04:03:17 UTC 2022 INFO: Collected cfam 2809

sh-5.1# cat cfam.log
pu k0:n0:s0:p00 0x00000000
pu k0:n0:s0:p01 0x00000000
pu k0:n0:s0:p02 0x00000000
pu k0:n0:s0:p03 0x00000000
/usr/bin/edbg getcfam pu 283c -pall
pu k0:n0:s0:p00 0x002000C4
pu k0:n0:s0:p01 0xC2200084
pu k0:n0:s0:p02 0x00200404
pu k0:n0:s0:p03 0x00200104
/usr/bin/edbg getcfam pu 1007 -pall
pu k0:n0:s0:p00 0x00000000
pu k0:n0:s0:p01 0x00000000
pu k0:n0:s0:p02 0x00000000
pu k0:n0:s0:p03 0x00000000
/usr/bin/edbg getcfam pu 2809 -pall

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I7184d9676b9123f048f5b681e0cbdfeb6be7774c

show more ...

7d3fced827-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: add settings data to BMC dump

Test case1 - busctl success
Wed Apr 27 02:23:56 UTC 2022 INFO: Collected settings
sh-5.1# ls -lah settings.log
-rw-r--r-- 1 root root 46.3K Apr 27

dreport: add settings data to BMC dump

Test case1 - busctl success
Wed Apr 27 02:23:56 UTC 2022 INFO: Collected settings
sh-5.1# ls -lah settings.log
-rw-r--r-- 1 root root 46.3K Apr 27 02:23 settings.log
sh-5.1#

Test case2 - busctl failure
Wed Apr 27 04:59:11 UTC 2022 ERROR: Failed to collect settings
Wed Apr 27 04:59:11 UTC 2022 INFO: Copied settings
/var/lib/phosphor-settings-manager/settings
sh-5.1# du -sh settings
16.0K settings

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I2448a3108e0c6c1e6aa1eca49ebf6c76ed4664d9

show more ...

0294370c27-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: Add BIOS settings data to BMC dump

Tested
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected bios
sh-5.1# ls -lah bios.log
-rw-r--r-- 1 root root 260.5K Apr 27 02:23 bios.log
sh-5.1#

dreport: Add BIOS settings data to BMC dump

Tested
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected bios
sh-5.1# ls -lah bios.log
-rw-r--r-- 1 root root 260.5K Apr 27 02:23 bios.log
sh-5.1#

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I564f46228eeeae4ce6a7769e4cf22a593f107500

show more ...

a314fed727-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

op:dreport Add OCC details to BMC dump

Test case1 - busctl success
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected occ control
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected occ sensor
sh-5.1# ls -lah oc

op:dreport Add OCC details to BMC dump

Test case1 - busctl success
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected occ control
Wed Apr 27 02:23:48 UTC 2022 INFO: Collected occ sensor
sh-5.1# ls -lah occ.log
-rw-r--r-- 1 root root 12.5K Apr 27 02:23 occ.log
sh-5.1#

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I927e5767b41b56d4b70d1c613313f07e247a6e2f

show more ...

28c6c6af26-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

op:dreport list existing dump details to BMC dump

Query for the dump manager managed objects and write to BMC
dump file

If the busctl command fails list the dump files present
in the system and add

op:dreport list existing dump details to BMC dump

Query for the dump manager managed objects and write to BMC
dump file

If the busctl command fails list the dump files present
in the system and add to BMC dump.

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Ifd1efc2e8322c2f64be79a91b7e5bef2d7a174dd

show more ...

60ab262b26-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: Fix warnings displayed during plugin execution

Tested:
Tue Apr 26 07:20:23 UTC 2022 INFO: Collected proc fd
Tue Apr 26 07:20:18 UTC 2022 INFO: Collected Attribute list
Tue Apr 26 07:20:18 U

dreport: Fix warnings displayed during plugin execution

Tested:
Tue Apr 26 07:20:23 UTC 2022 INFO: Collected proc fd
Tue Apr 26 07:20:18 UTC 2022 INFO: Collected Attribute list
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Device tree file
/var/lib/phosphor-software-manager/hostfw/running/DEVTREE
Tue Apr 26 07:20:18 UTC 2022 INFO: Copied Attribute info db
/usr/share/pdata/attributes_info.db

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I34e454552b5f903721acf6149a4abee6b3f53bb7

show more ...

ba3e914112-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

ibm:dreport: move IBM specific dump plugins to repository

1) IBM specific plugins from the IBM specific dump recipe will
be moved to ibm.d/plugins.d folder in the repository.

2) IBM specific dump r

ibm:dreport: move IBM specific dump plugins to repository

1) IBM specific plugins from the IBM specific dump recipe will
be moved to ibm.d/plugins.d folder in the repository.

2) IBM specific dump recipe will install the IBM specific dump
plugins from the repository.

4) Recipe changes will be made similar to
https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/52752/6/
meta-openpower/recipes-phosphor/dump/phosphor-debug-collector_%2525.bbappend
to copy plugins from repository to /usr/share during install

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I7f4d092d4678cee1c2831b024523057c2fc3474f

show more ...

7f8fe7fb14-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: add led manager persistent data to BMC dump

Adding plugin to copy /var/lib/phosphor-led-manager/ directory
where LED manager persistent data is stored to BMC dump.

----------<Test case - f

dreport: add led manager persistent data to BMC dump

Adding plugin to copy /var/lib/phosphor-led-manager/ directory
where LED manager persistent data is stored to BMC dump.

----------<Test case - failure in busctl command>-------
Thu Apr 14 08:16:53 UTC 2022 ERROR: Failed to collect led groups
Thu Apr 14 08:16:53 UTC 2022 INFO: Copied led groups
/var/lib/phosphor-led-manager/

root@xxx:/tmp/test/obmcdump_00000000_1649924210# du -sh
phosphor-led-manager/
4.0K phosphor-led-manager/

----------<Test case - busctl command success>----------
root@xxx:/tmp/test/obmcdump_00000000_1649927154# ls -lah ledgroups.log
-rw-r--r-- 1 root root 409.7K Apr 14 09:05 ledgroups.log

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I2939ae24762bf799f3fd1ccf6ebcc2c3c6d2c593

show more ...

888a1af912-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: add inventory persistent data to BMC dump

1.Run busctl command to get the inventory data and add to
BMC dump.
2.Add /var/lib/phosphor-inventory-manager data to BMC dump.

Tested:

root@perf

dreport: add inventory persistent data to BMC dump

1.Run busctl command to get the inventory data and add to
BMC dump.
2.Add /var/lib/phosphor-inventory-manager data to BMC dump.

Tested:

root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# du -sh
phosphor-inventory-manager/
12.4M phosphor-inventory-manager/
root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539#

root@perfrain86bmc:/tmp/test/obmcdump_00000000_1649923539# ls -la inventory.log
-rw-r--r-- 1 root root 0 Apr 14 08:05 inventory.log

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Iccb50e5f3a068fe3e13326326bfc5e66471b8b9e

show more ...

3afa33d613-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

op:dreport change path of device-tree to copy to dump

1) At present using mount path, which might change so using the
permanent path.

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-

op:dreport change path of device-tree to copy to dump

1) At present using mount path, which might change so using the
permanent path.

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: Id29bbed3ac462ea6c74bb4112d515feb29657962

show more ...

fd4f3cad13-Apr-2022 Marri Devender Rao <devenrao@in.ibm.com>

dreport: fix capturing guard data in BMC dump

At present using mount path to copy the guard partition to the
BMC dump same is changed to /var/lib path as mount path is no
longer used.

Export device

dreport: fix capturing guard data in BMC dump

At present using mount path to copy the guard partition to the
BMC dump same is changed to /var/lib path as mount path is no
longer used.

Export device tree environment variables as the guard tool needs
it to parse the guard records from the guard partition.

Tested:
[Guard list]
ID | ERROR | Type | Path
00000001 | 00000000 | manual | physical:sys-0/node-0/proc-1

Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Change-Id: I74b1720ce8c7140a59e00d35ac45ac8a7c020e53

show more ...

12345