Revision Date Author Comments
# 3f97eaa4 03-Aug-2023 Deepa Karthikeyan <deepakala.karthikeyan@ibm.com>

Reset dump attribute on obmc-host-quiesce target

The pvm_sys_dump_active bios attribute prevents new dump creation when a
dump is already in progress/ is being offloaded. This attribute is
cleared b

Reset dump attribute on obmc-host-quiesce target

The pvm_sys_dump_active bios attribute prevents new dump creation when a
dump is already in progress/ is being offloaded. This attribute is
cleared by the PHYP when the dump is offloaded and deleted.

In case of a PHYP TI with host getting into quiesced state, the
attribute is not cleared which prevents further dump creation. To handle
this scenario, the attribute is reset when the host reaches quiesce
state.

The corresponding bitbake recipe will do the actual installation.

This change is just a documentation to support
https://gerrit.openbmc.org/c/openbmc/openbmc/+/65709 changes

Tested:
When the host is quiesced, initiated a user triggered system dump and
tested. The new system dump is created successfully.

Change-Id: I1484df5056d56a5c71c7ccbb10da9969e46d2a47
Signed-off-by: Deepa Karthikeyan <deepakala.karthikeyan@ibm.com>

show more ...


# 03eaa3e8 02-May-2022 Andrew Geissler <geissonator@yahoo.com>

pvm_sys_dump_active: utilize proper systemd syntax

Was noticing this warning in the journal:
/lib/systemd/system/op-clear-sys-dump-active@.service:17: Ignoring unknown escape sequences: "busctl set-

pvm_sys_dump_active: utilize proper systemd syntax

Was noticing this warning in the journal:
/lib/systemd/system/op-clear-sys-dump-active@.service:17: Ignoring unknown escape sequences: "busctl set-property xyz.openbmc_project.BIOSConfigManager /xyz/openbmc_project/bios_config/manager xyz.openbmc_project.BIOSConfig.Manager PendingAttributes a{s\(sv\)} 1 pvm_sys_dump_active xyz.openbmc_project.BIOSConfig.Manager.AttributeType.Enumeration s Disabled"

A bit of internet searching pointed out that systemd requires two
backslashes

Tested:
- Verified services still work as expected and we no longer get the
above warning.

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I234d17ee32c66fef874ee8dfc8037990e5d7e6fc

show more ...


# 9ca8a117 07-Apr-2022 Andrew Geissler <geissonator@yahoo.com>

update host bios to indicate mpreboot

A new IBM-specific BIOS was introduced via the following commit:
https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/52268

This new BIOS value tracks when a me

update host bios to indicate mpreboot

A new IBM-specific BIOS was introduced via the following commit:
https://gerrit.openbmc-project.xyz/c/openbmc/pldm/+/52268

This new BIOS value tracks when a memory preserving reboot starts until
the time that the generated dump is offloaded from the system.

Utilizing the openpower-proc-control repository for this function,
since this is where mpreboot is controlled and is specific to systems
with this feature.

PHYP is responsible for setting the BIOS to disabled once the offload
has completed. The requirement on the BMC is to just ensure it gets
reset on any power off or system AC loss.

Tested:
Updated op-proc-control recipes to put this new service in the
multi-user.target and obmc-host-stop@0.target.
- Caused mpreboot, verified it was set to enabled
- Rebooted BMC in above condition, verified it was still enabled
- Powered off system, verified it was reset to disabled
- Set to enabled at BMC Ready, rebooted BMC and verified it was reset to
disabled

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: Iba8d867c0c8b82f1c9845f4ae77738af759717a8

show more ...