| /openbmc/openpower-debug-collector/ |
| H A D | .shellcheck-ignore | 1 dump/tools/bmcdump/plugins/badpel 2 dump/tools/bmcdump/plugins/cfam 3 dump/tools/bmcdump/plugins/dumpfilelist 4 dump/tools/bmcdump/plugins/guardlist 5 dump/tools/bmcdump/plugins/obmcconsole1 6 dump/tools/bmcdump/plugins/occ 7 dump/tools/bmcdump/plugins/pels 8 dump/tools/bmcdump/plugins/phal_devtree 9 dump/tools/bmcdump/plugins/vpd_data 10 dump/tools/bmcdump/plugins/faultlog [all …]
|
| H A D | meson.options | 3 # Feature to enable hostboot dump collection when watchdog times out 5 'hostboot-dump-collection', 8 description: 'Enables hostboot dump collection', 11 # Feature to enable the dump collection 13 'dump-collection', 16 description: 'Enables dump collection',
|
| /openbmc/docs/designs/ |
| H A D | dump-manager.md | 14 required for the debugging needs to be collected as a dump. The existing OpenBMC 15 dump interfaces support only the dumps generated on the BMC and dump manager 20 - **System Dump**: A dump of the Host's main memory and processor registers. 35 dump manager, which is orchestrating the collection and offload, needs to 36 provide methods to create, store the dump details, and offload it. Additionally, 37 some sources allow the dump to be extracted manually without a failure to 42 These are some of the dumps supported by dump manager. 46 A dump collected when there is a failure in the BMC with various debug 47 information. This type of dump can be generated by user too to get the current 48 state of the BMC. This dump gets collected on BMC and stored on BMC [all …]
|
| H A D | power-systems-memory-preserving-reboot.md | 17 based servers to create a memory dump required for the debugging. This document 18 explains the high-level flow of warm reboot and extraction of the resulting dump 45 - **System Dump**: A dump of main memory and hardware states for debugging the 82 collects the hardware data and memory contents to create a dump file in the host 89 - System dump should be collected irrespective of the availability of an 92 - It should provide a mechanism for the user to request a system dump. 106 - Error log associated with dump needs to be part of the dump package 108 - A dump summary should be created with size and other details of the dump 110 - Once the dump is generated, the hypervisor should notify BMC. 112 - Hypervisor should offload the dump to BMC to transfer to an external client. [all …]
|
| H A D | ncsi-coredump.md | 1 # NC-SI core dump 9 NIC core-dump is essential for NIC issue debugging, and it could be retrieved 15 NC-SI command for dump retrieval: Reference: NC-SI spec v1.2: section: 8.4.114 32 <https://github.com/openbmc/phosphor-debug-collector> and extend the dump 33 creation interface with a new "NC-SICoreDump" dump type. 35 The D-Bus interface for dump creation will be:"xyz.openbmc_project.Dump.Manager 36 /xyz/openbmc_project/dump/bmc xyz.openbmc_project.Dump.Create" 45 NC-SI over RBT or NC-SI over MCTP protocol. All NC-SI dump procedure will be 53 call ncsi-netlink or ncsi-mctp by different NICTarget and generate dump file 56 The following block diagram illustrate entire dump procedure and relationship [all …]
|
| /openbmc/phosphor-debug-collector/ |
| H A D | meson.options | 21 value: '/xyz/openbmc_project/dump', 22 description: 'The dump manager D-Bus root', 28 value: '/xyz/openbmc_project/dump/bmc', 29 description: 'The BMC dump manager D-Bus object path', 42 value: '/xyz/openbmc_project/dump/bmc/entry', 43 description: 'The BMC dump entry D-Bus object path', 64 description: 'Maximum size of one bmc dump in kilo bytes', 71 description: 'Minimum space required for one bmc dump in kilo bytes', 78 description: 'Total size of the dump in kilo bytes', 106 description: 'To specify the host dump transport protocol', [all …]
|
| H A D | dump_manager_main.cpp | 34 phosphor::dump::EventPtr eventP{event}; in main() 65 phosphor::dump::DumpManagerList dumpMgrList{}; in main() 66 std::unique_ptr<phosphor::dump::bmc::Manager> bmcDumpMgr = in main() 67 std::make_unique<phosphor::dump::bmc::Manager>( in main() 71 phosphor::dump::bmc::Manager* ptrBmcDumpMgr = bmcDumpMgr.get(); in main() 75 std::unique_ptr<phosphor::dump::faultlog::Manager> faultLogMgr = in main() 76 std::make_unique<phosphor::dump::faultlog::Manager>( in main() 81 phosphor::dump::loadExtensions(bus, dumpMgrList); in main() 89 phosphor::dump::elog::Watch eWatch(bus, *ptrBmcDumpMgr); in main()
|
| H A D | dump_types.hpp.mako | 14 namespace dump 16 // Overall dump category for example BMC dump 49 // A table of dump types 53 // Mapping between dump type and dump collection type string 58 * @brief Converts a DumpTypes enum value to dump name. 61 * @return Name of the dump as string, std::nullopt if not found. 66 * @brief Converts dump name to its corresponding DumpTypes enum value. 75 * @brief Validates dump type and returns corresponding collection type 77 * This function checks the provided dump type against the specified category. 78 * If the dump type is empty, it defaults to "user". If the dump type does not [all …]
|
| H A D | bmc_dump_entry.hpp | 16 namespace dump namespace 34 class Entry : virtual public phosphor::dump::Entry, virtual public EntryIfaces 60 phosphor::dump::OperationStatus status, std::string originatorId, in Entry() 61 originatorTypes originatorType, phosphor::dump::Manager& parent) : in Entry() 62 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, fileSize, in Entry() 68 this->phosphor::dump::bmc::EntryIfaces::emit_object_added(); in Entry() 119 const std::filesystem::path& filePath, phosphor::dump::Manager& parent) in deserializeEntry() 149 const std::filesystem::path& file, phosphor::dump::Manager& parent) : in Entry() 150 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, 0, 0, file, in Entry() 161 this->phosphor::dump::bmc::EntryIfaces::emit_object_added(); in emitSignal()
|
| H A D | dump_manager_bmc.hpp | 16 namespace dump namespace 24 using UserMap = phosphor::dump::inotify::UserMap; 26 using Watch = phosphor::dump::inotify::Watch; 36 virtual public phosphor::dump::Manager 56 phosphor::dump::Manager(bus, path, baseEntryPath), in Manager() 61 std::bind(std::mem_fn(&phosphor::dump::bmc::Manager::watchCallback), in Manager() 82 phosphor::dump::DumpCreateParams params) override;
|
| H A D | faultlog_dump_entry.hpp | 14 namespace dump namespace 24 class Entry : virtual public phosphor::dump::Entry 50 phosphor::dump::OperationStatus status, std::string originatorId, in Entry() 51 originatorTypes originatorType, phosphor::dump::Manager& parent) : in Entry() 52 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, fileSize, in Entry()
|
| /openbmc/phosphor-debug-collector/dump-extensions/openpower-dumps/ |
| H A D | meson.build | 4 'input': 'dump-extensions/openpower-dumps/clear_hostdumps_poweroff.service', 9 'dump-extensions/openpower-dumps/dump-extensions.cpp', 10 'dump-extensions/openpower-dumps/dump_manager_system.cpp', 11 'dump-extensions/openpower-dumps/system_dump_entry.cpp', 12 'dump-extensions/openpower-dumps/dump_manager_resource.cpp', 13 'dump-extensions/openpower-dumps/resource_dump_entry.cpp', 14 'dump-extensions/openpower-dumps/op_dump_util.cpp',
|
| H A D | resource_dump_entry.cpp | 13 namespace dump namespace 32 if (!phosphor::dump::isHostRunning()) in initiateOffload() 38 phosphor::dump::Entry::initiateOffload(uri); in initiateOffload() 39 phosphor::dump::host::requestOffload(sourceDumpId()); in initiateOffload() 47 if ((!offloadUri().empty()) && (phosphor::dump::isHostRunning())) in delete_() 61 if ((phosphor::dump::isHostRunning()) && (srcDumpID != INVALID_SOURCE_ID)) in delete_() 65 phosphor::dump::host::requestDelete(srcDumpID, in delete_() 78 phosphor::dump::Entry::delete_(); in delete_()
|
| H A D | system_dump_entry.cpp | 13 namespace dump namespace 28 phosphor::dump::Entry::initiateOffload(uri); in initiateOffload() 29 phosphor::dump::host::requestOffload(sourceDumpId()); in initiateOffload() 39 if ((!offloadUri().empty()) && (phosphor::dump::isHostRunning())) in delete_() 52 if ((phosphor::dump::isHostRunning()) && (srcDumpID != INVALID_SOURCE_ID)) in delete_() 56 phosphor::dump::host::requestDelete(srcDumpID, in delete_() 69 phosphor::dump::Entry::delete_(); in delete_()
|
| H A D | dump_manager_system.cpp | 17 namespace dump namespace 38 openpower::dump::system::Entry* upEntry = nullptr; in notify() 41 openpower::dump::system::Entry* sysEntry = in notify() 42 dynamic_cast<openpower::dump::system::Entry*>(entry.second.get()); in notify() 49 phosphor::dump::OperationStatus::Completed) in notify() 113 phosphor::dump::OperationStatus::Completed, std::string(), in notify() 132 phosphor::dump::DumpCreateParams params) in createDump() 147 if (openpower::dump::util::isSystemDumpInProgress(bus)) in createDump() 158 phosphor::dump::HostState hostState; in createDump() 161 isHostRunning = phosphor::dump::isHostRunning(); in createDump() [all …]
|
| H A D | system_dump_entry.hpp | 12 namespace dump namespace 32 class Entry : virtual public phosphor::dump::Entry, virtual public EntryIfaces 57 phosphor::dump::OperationStatus status, std::string originatorId, in Entry() 58 originatorTypes originatorType, phosphor::dump::Manager& parent) : in Entry() 59 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, dumpSize, in Entry() 66 this->openpower::dump::system::EntryIfaces::emit_object_added(); in Entry()
|
| H A D | dump_manager_resource.cpp | 16 namespace dump namespace 36 openpower::dump::resource::Entry* upEntry = NULL; in notify() 39 openpower::dump::resource::Entry* resEntry = in notify() 40 dynamic_cast<openpower::dump::resource::Entry*>(entry.second.get()); in notify() 45 (resEntry->status() == phosphor::dump::OperationStatus::Completed)) in notify() 57 phosphor::dump::OperationStatus::InProgress) && in notify() 92 phosphor::dump::OperationStatus::Completed, std::string(), in notify() 110 phosphor::dump::DumpCreateParams params) in createDump() 117 if (!phosphor::dump::isHostRunning()) in createDump() 195 phosphor::dump::extractOriginatorProperties(params, originatorId, in createDump() [all …]
|
| H A D | resource_dump_entry.hpp | 14 namespace dump namespace 35 class Entry : virtual public phosphor::dump::Entry, virtual public EntryIfaces 64 phosphor::dump::OperationStatus status, std::string originatorId, in Entry() 65 originatorTypes originatorType, phosphor::dump::Manager& parent) : in Entry() 66 phosphor::dump::Entry(bus, objPath.c_str(), dumpId, timeStamp, dumpSize, in Entry() 75 this->openpower::dump::resource::EntryIfaces::emit_object_added(); in Entry()
|
| /openbmc/qemu/qapi/ |
| H A D | dump.json | 16 # An enumeration of guest-memory-dump's format. 51 # @dump-guest-memory: 81 # for the dump to finish. The user can track progress using 82 # `query-dump`. (since 2.6). 87 # to dump all guest's memory, please specify the start @begin and 90 # @format: if specified, the format of guest memory dump. But non-elf 105 { 'command': 'dump-guest-memory', 113 # Describe the status of a long-running background guest memory dump. 115 # @none: no `dump-guest-memory` has started yet. 117 # @active: there is one dump running in background. [all …]
|
| /openbmc/openbmc-test-automation/redfish/managers/ |
| H A D | test_bmc_dumps.robot | 3 Documentation Test BMC dump functionality of OpenBMC. 19 # Total size of the dump in kilo bytes 22 # Minimum space required for one bmc dump in kilo bytes 30 [Documentation] Delete non existing BMC dump and expect an error. 40 [Documentation] Create user initiated BMC dump at host off state and 41 ... verify dump entry for it. 52 [Documentation] Verify user initiated BMC dump size is under 20 MB. 69 # Max size for dump is 20 MB = 20x1024x1024 Byte. 74 [Documentation] Verify that the internal failure initiated BMC dump size is under 20 MB. 83 # Wait for BMC dump to get generated after injecting internal failure. [all …]
|
| /openbmc/openbmc-test-automation/lib/ |
| H A D | dump_utils.robot | 2 Documentation This module provides general keywords for dump. 12 [Documentation] Generate user initiated dump and return 13 ... the dump id number (e.g., "5"). Optionally return EMPTY 14 ... if out of dump space. 18 # check_out_of_space If ${False}, a dump will be created and 22 # returned if out of dump space was 23 # detected when creating the dump. 27 Set Global Variable ${REST_DUMP_URI} /xyz/openbmc_project/dump/ 41 [Documentation] Wait for the dump to be created. Return the 42 ... dump id number (e.g., "5"). [all …]
|
| /openbmc/libpldm/scripts/ |
| H A D | abi-dump-updater | 17 meson compile -C "$UPDATE_BUILDDIR" abi-dump 18 ./scripts/abi-dump-formatter < "$UPDATE_BUILDDIR"/src/current.dump > abi/x86_64/gcc.dump
|
| /openbmc/openbmc-test-automation/redfish/extended/ |
| H A D | test_bmc_dump.robot | 3 Documentation Test dump functionality of OpenBMC. 22 [Documentation] Inject host watchdog error and verify whether dump is generated. 36 #Get dump details 39 # Verifying that there is only one dump 43 # Get dump id 48 # Max size for dump is 200k = 200x1024 54 [Documentation] Verify that a BMC dump can be downloaded to the local machine. 75 ... msg=Created dump name and downloaded dump name don't match. 89 Set Suite Variable ${DUMP_URI} /xyz/openbmc_project/dump/ 90 Set Suite Variable ${DUMP_ENTRY_URI} /xyz/openbmc_project/dump/entry/
|
| /openbmc/openpower-debug-collector/dump/ |
| H A D | create_pel.cpp | 26 namespace openpower::dump::pel namespace 30 using namespace openpower::dump::SBE; 111 openpower::dump::pel::Severity convertSeverityToEnum(uint8_t severity) in convertSeverityToEnum() 116 return openpower::dump::pel::Severity::Informational; in convertSeverityToEnum() 118 return openpower::dump::pel::Severity::Warning; in convertSeverityToEnum() 120 return openpower::dump::pel::Severity::Error; in convertSeverityToEnum() 122 return openpower::dump::pel::Severity::Error; in convertSeverityToEnum() 128 openpower::dump::pel::FFDCData& pelAdditionalData) in processFFDCPackets() 141 if (logSeverity != openpower::dump::pel::Severity::Informational) in processFFDCPackets() 147 logSeverity = openpower::dump::pel::Severity::Informational; in processFFDCPackets() [all …]
|
| /openbmc/phosphor-debug-collector/tools/dreport.d/ |
| H A D | README.md | 6 The phosphor-dump-manager application will automatically run dreport in certain 12 The dump types are defined in [sample.conf](sample.conf): 14 - core: Triggered by an application core dump 23 They can call [provided functions](include.d/functions) to add data to the dump 25 dump types should trigger it: 31 - 'A' is a sequence of the dump types from the mapping defined in 41 It will run on dump types 1 (core), 2 (user), 3 (elog), 4 (checkstop), and 5 45 the dump type, with the priority built into the name:
|