07222713 | 26-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
meson: fix missing dependencies
Building in subproject wrap mode reveals missing dependencies. Add them as necessary.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I883df9770661f3a
meson: fix missing dependencies
Building in subproject wrap mode reveals missing dependencies. Add them as necessary.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I883df9770661f3a859a5eb9d16cdd022227cd324
show more ...
|
0dff904d | 27-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
pldm_oem_cmds: fix compile fail
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I5730c247fe7d83d2dcef29eb3429971f1d847b87 |
18c7d92e | 26-Feb-2024 |
Patrick Williams <patrick@stwcx.xyz> |
lg2: use direct enum conversion
lg2 now allows logging an enum directly without extra casting. Remove the `underlying_cast` to simplify the code.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz
lg2: use direct enum conversion
lg2 now allows logging an enum directly without extra casting. Remove the `underlying_cast` to simplify the code.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I3415be5f7e9be2302c870b5499f96cda3545d0fa
show more ...
|
d8291e5e | 30-Nov-2023 |
Jayanth Othayoth <ojayanth@gmail.com> |
owners: updated Jayanth email
Change-Id: I4eb21f20438431134cd3ef2f297e3ce7153adb45 Signed-off-by: Jayanth Othayoth <ojayanth@gmail.com> |
7cd0528a | 29-Nov-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer retur
build: use allowed over enabled
Meson feature options are typically in a tri-state of enabled, disabled, or auto. The enabled and disabled functions on an option (from `get_option`) no longer return true for auto features. Instead, the expectation is to use `allowed()` which is true for both enabled and auto.
Switch all uses of `enabled` to `allowed`.
Change-Id: I8671a81c57e5032c776691d30a941c19b1d53e9d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
7d06930a | 09-Nov-2023 |
Andrew Geissler <geissonator@yahoo.com> |
ramoops: generate error log when ramoops detected
A ramoops being detected is a critical event for a BMC based system. It indicates the BMC had an unexpected reboot because of a kernel panic. Ensure
ramoops: generate error log when ramoops detected
A ramoops being detected is a critical event for a BMC based system. It indicates the BMC had an unexpected reboot because of a kernel panic. Ensure a log is reported so the user of the system knows to look for a BMC dump with the debug information.
Tested: - Manually created some files in /var/lib/systemd/pstore/ and ran the ramoops application and verified the expected log was created.
Change-Id: Id1162fa0cca72e5dcc8cf59e75bd298d2ddada2e Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
show more ...
|
e70edac3 | 20-Oct-2023 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest
clang-format: copy latest and re-format
clang-format-17 has some backwards incompatible changes that require additional settings for best compatibility and re-running the formatter. Copy the latest .clang-format from the docs repository and reformat the repository.
Change-Id: I04f38c33863fd3e2c9c6e9e20efc14105b79aedd Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
4d86a3eb | 19-Sep-2023 |
Deepa Karthikeyan <deepakala.karthikeyan@ibm.com> |
Fix compiler warning
Fix the following warning, as any warning will be treated as error ../../../dump_utils.hpp:38:9: warning: Value stored to 'event' is never read
event = sd_event_unref(event);
Fix compiler warning
Fix the following warning, as any warning will be treated as error ../../../dump_utils.hpp:38:9: warning: Value stored to 'event' is never read
event = sd_event_unref(event);
Change-Id: I020c2b2028e19ce8998754a38cb55830792a0118 Signed-off-by: Deepa Karthikeyan <deepakala.karthikeyan@ibm.com>
show more ...
|
1615b824 | 31-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Remove internal dump create interface
The createDump method was revised to support key-value parameters, allowing flexible dump type specification. This change negates the need for the internal crea
Remove internal dump create interface
The createDump method was revised to support key-value parameters, allowing flexible dump type specification. This change negates the need for the internal create interface, exclusive to the phosphor-debug-collector repository.
This commit removes all instances of the internal create method, replacing them with the updated createDump method. The modified createDump approach ensures a consistent dump initiation procedure and enables all applications to request various dump types.
Manual Tests: - Validate the creation of a user-requested BMC dump. - Validate the creation of a dump due to an InternalFailure. - Generate a core dump to validate the corresponding BMC dump creation. - Ensure that system-generated dumps are allowed when user-requested dump is in progress. - Ensure simultaneous user requested dumps are prevented
Checkstop dump busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging \ xyz.openbmc_project.Logging.Create Create ssa{ss} \ org.open_power.Host.Boot.Error.Checkstop \ xyz.openbmc_project.Logging.Entry.Level.Error 0
Logs: Initiating new BMC dump with type: checkstop path: /xyz/openbmc_\ project/logging/entry/78 performing dump compression /tmp/BMCDUMP.XX.0000003.20230724015349 Report is available in /var/lib/phosphor-debug-collector/dumps/3
Automated tests: Create_And_Delete_User_Initiated_BMC_Dump_Multiple_Times Create_Two_User_Initiated_BMC_Dumps Create_Two_User_Initiated_BMC_Dumps_And_Delete_One Delete_All_User_Initiated_BMC_Dumps_And_Verify Delete_User_Initiated_BMC_Dump_And_Verify Verify_BMC_Core_Dump_When_Host_Powered_Off Verify_BMC_Dump_Create_Errors_While_Another_BMC_Dump_In_Progress Verify_BMC_Dump_Default_Location_In_BMC Verify_Core_Dump_Size Verify_Core_Watchdog_Initiated_BMC_Dump Verify_Dump_Persistency_On_BMC_Reset Verify_Dump_Persistency_On_Dump_Service_Restart Verify_Error_Log_And_Dump_For_Internal_Failure Verify_Error_Response_For_Already_Deleted_Dump_Id Verify_Error_While_Initiating_BMC_Dump_During_Dumping_State Verify_Internal_Failure_Initiated_BMC_Dump_Size Verify_Multiple_BMC_Dump_Creation Verify_User_Initiated_BMC_Dump_At_Host_Booting Verify_User_Initiated_BMC_Dump_Size Verify_User_Initiated_BMC_Dump_When_Host_Booted Verify_User_Initiated_BMC_Dump_When_Host_Powered_Off
Built with master and p10bmc
Change-Id: I9f91375788201e2badf51d87f8117154a8e1ed8a Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
e4350f93 | 29-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add elog dump type to common create
This commit modifies the Elog BMC dump creation process to utilize the common BMC dump creation interface. Elog BMC dumps are a special type of dumps triggered up
Add elog dump type to common create
This commit modifies the Elog BMC dump creation process to utilize the common BMC dump creation interface. Elog BMC dumps are a special type of dumps triggered upon the logging of certain predefined set of error logs. These dumps incorporate data based on the type of the error log. In the existing process, upon occurrence of a predefined error log, the error log watch function would inform the dump manager via an internal DBus interface. Now, with this change, the error log watch function will request the dump manager to create an Elog BMC dump that includes the relevant error data, error type, and the object path of the error log entry via the common create DBus interface.
Test: Create an InternalFailure and make sure dump is created >busctl call xyz.openbmc_project.Logging \ /xyz/openbmc_project/logging \ xyz.openbmc_project.Logging.Create Create ssa{ss} \ xyz.openbmc_project.Common.Error.InternalFailure \ xyz.openbmc_project.Logging.Entry.Level.Error 0
Trace: phosphor-dump-manager[542]: Initiating new BMC dump \ with type: elog path: /xyz/openbmc_project/logging/entry/12
phosphor-dump-manager[2918]: Report is available in \ /var/lib/phosphor-debug-collector/dumps/6
Tested checkstop dump
Built with master and p10bmc
Change-Id: I734b052fc24e7893a61755790be49e8a1e594be5 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
aa0937f9 | 22-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Generate error map as part of dump types
An error type is a specific type of BMC dump that is generated when a particular error is logged in the BMC. Previously, dump types and error types were mana
Generate error map as part of dump types
An error type is a specific type of BMC dump that is generated when a particular error is logged in the BMC. Previously, dump types and error types were managed independently, with error types being defined in separate files, namely 'error_map.hpp' and its associated mako template 'error_map.mako.cpp'. However, this practice led to inconsistencies, as the dreport script, which is used for handling dump collection and packaging, was interpreting error type as another dump type rather than as additional parameters.
The separate error_map.hpp file and its associated mako template (error_map.mako.cpp) have been removed. Instead, error types are now incorporated directly into the dump types along with an error type map for validating the error names. This integration aligns the code with the existing behaviour of the dreport script, allowing for more consistent processing of dump types
As a result of this integration, the error map generation is now part of the dump_types_mako.cpp file. To support these changes, a second input YAML file has been added to the map_gen.py script to generate the dump types and error types together.
Tests: Create InternalFailure > busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging \ xyz.openbmc_project.Logging.Create Create ssa{ss} \ xyz.openbmc_project.Common.Error.InternalFailure \ xyz.openbmc_project.Logging.Entry.Level.Error 0 > dump created /var/lib/phosphor-debug-collector/dumps/1/\ BMCDUMP.XXXXXXXX.0000001.20230723084043
Create Checkstop > busctl call xyz.openbmc_project.Logging /xyz/openbmc_project/logging \ xyz.openbmc_project.Logging.Create Create ssa{ss} \ org.open_power.Host.Boot.Error.Checkstop \ xyz.openbmc_project.Logging.Entry.Level.Error 0 > /var/lib/phosphor-debug-collector/dumps/4/\ BMCDUMP.XXXXXXXX.0000004.20230723094150
Change-Id: Iac483f4993b59cf0fc063ed9584785f1a1fa04a8 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
c1f5ed6f | 09-Jul-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Generate dump types table
This commit refines the map generation process in phosphor-debug-collector. The existing Python script is enhanced to accept varying templates and variable names, A new Mak
Generate dump types table
This commit refines the map generation process in phosphor-debug-collector. The existing Python script is enhanced to accept varying templates and variable names, A new Mako template is introduced for generating dump types. This enhancement allows different architectures to support various types of dumps without requiring major changes.
Tests: Successfully tested the creation of different types of BMC dumps.
Built with master and p10bmc
Change-Id: I347e218cb66386665bd15b72612dbe8e1e4fc7cf Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
3b4e981d | 15-Aug-2023 |
George Liu <liuxiwei@inspur.com> |
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using t
meson_options.txt: Support for reading options from meson.options
Support has been added for reading options from meson.options instead of meson_options.txt[1]. These are equivalent, but not using the .txt extension for a build file has a few advantages, chief among them many tools and text editors expect a file with the .txt extension to be plain text files, not build scripts.
[1] https://mesonbuild.com/Release-notes-for-1-1-0.html#support-for-reading-options-from-mesonoptions
Signed-off-by: George Liu <liuxiwei@inspur.com> Change-Id: I5a3c4f0f468cd7bb3767350c24b5dc8e47987bd9
show more ...
|
05ef8163 | 22-Nov-2022 |
Lei YU <yulei.sh@bytedance.com> |
Correct the timing of emit_object_added
The deletion of the dump objects emits InterfacesRemoved signal, but the interfaces removed in the signal does not contain the interfaces defined in the base
Correct the timing of emit_object_added
The deletion of the dump objects emits InterfacesRemoved signal, but the interfaces removed in the signal does not contain the interfaces defined in the base class phosphor::dump::Entry: ``` xyz.openbmc_project.Common.OriginatedBy xyz.openbmc_project.Common.Progress xyz.openbmc_project.Dump.Entry xyz.openbmc_project.Object.Delete xyz.openbmc_project.Time.EpochTime ```
This results in the mapper still keeping the objects even if the object is removed from DBus, and it becomes inconsistent between the DBus objects and mapper.
Adjust the inheritance sequence, so that in destruction, emit_object_removed() is called when all the interfaces are there, so that all the interfaces could be included in the signal.
Without this change, the destructor sequence is (Taking BMCEntry as example): 1. phosphor::dump::Entry is destructed, no signal is emitted; 2. phosphor::dump::bmc::EntryIfaces is destructed, signal is emitted, but at this time, only the interfaces implemented by phosphor::dump::bmc::EntryIfaces is included, which is the root cause of the problem.
With the change, the destructor sequence is: 1. phosphor::dump::bmc::EntryIfaces is destructed, signal is emitted, and all the interfaces are included in the signal; 2. phosphor::dump::Entry is destructed, no signal is emitted.
So all the interfaces implemented by BMCEntry is included in the InterfacesRemoved signal, and thus the issue is fixed.
Tested: Before this change: 1. Create a dump, say /xyz/openbmc_project/dump/bmc/entry/2 2. Delete it 3. Mapper still list the above object although it does not really exist. With this fix, verify the above issue is fixed.
Signed-off-by: Lei YU <yulei.sh@bytedance.com> Change-Id: I76710fa9b8d23344cf979bd8f3bdcc331e663264
show more ...
|
7d7e0014 | 29-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add Ramoops dump to common create
This commit adjusts the handling of ramoops (RAM OOPS) dumps to use the common BMC dump creation interface. Previously, when a ramoops dump was detected, the ramoop
Add Ramoops dump to common create
This commit adjusts the handling of ramoops (RAM OOPS) dumps to use the common BMC dump creation interface. Previously, when a ramoops dump was detected, the ramoops manager would inform the dump manager via an internal D-Bus interface. With the changes in this commit, upon detecting a ramoops event, the ramoops manager will now request the dump manager to create a BMC dump, incorporating the relevant ramoops data, via the common create DBus interface.
Tested: Create a Ramoops dump busctl --verbose call xyz.openbmc_project.Dump.Manager \ /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create \ CreateDump a{sv} 2 "xyz.openbmc_project.Dump.Create.CreateParameters.\ DumpType" s "xyz.openbmc_project.Dump.Create.DumpType.Ramoops" \ "xyz.openbmc_project.Dump.Create.CreateParameters.FilePath" \ s "/tmp/ramoops" MESSAGE "o" { OBJECT_PATH "/xyz/openbmc_project/dump/bmc/entry/4"; };
> Initiating new BMC dump with type: ramoops path: /tmp/ramoops
Change-Id: I0437cfa6c63fe261ca9b51f6a90c8183abacd5c7 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
247159b0 | 29-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Add support core dump in common create
This commit modifies the interaction between the core dump monitor and the BMC dump manager. Earlier, when a process managed by systemd crashed, it generated a
Add support core dump in common create
This commit modifies the interaction between the core dump monitor and the BMC dump manager. Earlier, when a process managed by systemd crashed, it generated a core dump. The core dump monitor would then inform the dump manager about this event through a dedicated internal D-Bus interface.
With this commit, we change this approach and leverage the common BMC dump creation interface. Now, when a core dump is generated, the core dump monitor requests the dump manager to create a specific BMC dump that incorporates this core dump data.
Tests: Create a core dump and make sure BMC dump with core is created
>kill -3 2232 Trace: phosphor-dump-manager[542]: Initiating new BMC dump with \ type: core path: /var/lib/systemd/coredump/core.openpower\ -occ-c.0.0b16f513a5bc43f98ea11ed525f1a0c5.2232.16889058660\ 00000.zst
Built with master and p10bmc
phosphor-dump-manager[2738]: Report is available in /var/\ lib/phosphor-debug-collector/dumps/5
Change-Id: Ic2cc723babccb0f8d36504992996bcf418db8463 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
3604710d | 29-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
BMCDump: dump subtype input parameter support
The BMC dump is not accepting any parameters to specify the type of dump or level of data to be collected. It was always creating a default user-request
BMCDump: dump subtype input parameter support
The BMC dump is not accepting any parameters to specify the type of dump or level of data to be collected. It was always creating a default user-requested dump.
This commit allows for the specification of the dump type during the dump creation process. A new table has been added in a new header file which stores the valid dump types. When a new dump is requested, the specified dump type is verified against this table. If no dump type is mentioned, a user-requested BMC dump is created for backward compatibility. If an invalid dump type is mentioned, an Invalid Argument exception is thrown.
Tested: - Create BMC dump with no arguments - Create BMC dump with type as user - Create a error log dump and make sure other types of dumps which is using internal interface is not impacted. - Built with master and p10bmc
Change-Id: I79f68be6ac6892ac7754b7221db64c22330b1822 Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
94adf685 | 31-May-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
Move generated error map to cpp file
This commit changes the generation location of error map from a header file (.hpp) to a source file (.cpp). This change enhances code organization, separates dec
Move generated error map to cpp file
This commit changes the generation location of error map from a header file (.hpp) to a source file (.cpp). This change enhances code organization, separates declaration from implementation. In an upcoming change, retaining the map in the header file results in a duplicate definition error. Therefore, to avoid these errors and ensure smooth future updates, the error map needs to be generated in the .cpp file.
Tests: Created error log dumps by commiting InternalFailure
Change-Id: I01e4503e24ebf9045793014060107cca4ff440ad Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com>
show more ...
|
deed959e | 12-Jul-2023 |
Patrick Williams <patrick@stwcx.xyz> |
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Id96cf564638651b6686b5
build: upgrade to C++23
Meson 1.1.1 and GCC-13 both support C++23 and a sufficient portion of the standard has been implemented. Upgrade the build to leverage it.
Change-Id: Id96cf564638651b6686b55940166dae9b8e5dd1e Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
ea632b81 | 06-May-2022 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
OpenPOWER: Allow system dump in TransitioningToOff state
There are cases the host can be stuck in the TransitioningToOff state, a system dump from that state is needed for further debug on host side
OpenPOWER: Allow system dump in TransitioningToOff state
There are cases the host can be stuck in the TransitioningToOff state, a system dump from that state is needed for further debug on host side.
Tests: Initiate dump when system is in TransitioningToOff state
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I59b4e5710453fd87bec5de17af35f5d5064ebdf1
show more ...
|
7e4edab9 | 29-Mar-2022 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
OpenPOWER: Return Unavailable Instead of NotAllowed for Delete
This commit changes the exception thrown from 'NotAllowed' to 'Unavailable' when attempting to delete a system dump that is currently b
OpenPOWER: Return Unavailable Instead of NotAllowed for Delete
This commit changes the exception thrown from 'NotAllowed' to 'Unavailable' when attempting to delete a system dump that is currently being offloaded. This modification aligns with the objective to return an HTTP 'Unavailable' status via Redfish interface in this scenario.
The 'Unavailable' response more accurately reflects the system state, as the dump is not disallowed from deletion under normal circumstances, but temporarily unavailable due to the ongoing offload process.
Tests: - Attempt to delete resource dump while offloading it - Attempt to delete system dump while offloading it
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I6c5d9aba16380d86e68c06537417ad9d725826e5
show more ...
|
3a25e5b2 | 22-Mar-2022 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
OpenPOWER: Allow initiating mp reboot dump in quiesced state
When system dumps are disabled, a system dump collection request will end up in quiesced state. A memory preserving reboot from that sta
OpenPOWER: Allow initiating mp reboot dump in quiesced state
When system dumps are disabled, a system dump collection request will end up in quiesced state. A memory preserving reboot from that state can get the failed data from the host. So enabling the mp reboot dump collection from quiesced state.
Test: Disable dump Inject error in host to move to quiesced state Start mp reboot Dump should be generated
Signed-off-by: Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> Change-Id: I9f444752b321f1ab47b99e5b8ac32c79182d6453
show more ...
|
c04e0e0a | 19-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 ...
|
8098ca6a | 24-Jun-2023 |
Patrick Williams <patrick@stwcx.xyz> |
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are
sdbusplus: use shorter type aliases
The sdbusplus headers provide shortened aliases for many types. Switch to using them to provide better code clarity and shorter lines. Possible replacements are for: * bus_t * exception_t * manager_t * match_t * message_t * object_t * slot_t
Change-Id: I02e8e49b245f1f42d10983fee65f05efc5326fc7 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
a72daf5c | 21-Jun-2023 |
Dhruvaraj Subhashchandran <dhruvaraj@in.ibm.com> |
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 b
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>
show more ...
|