commit | c3a9514e47e4edac6cb422e5d4fd671e8f2ef336 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Wed Oct 27 11:12:55 2021 -0500 |
committer | Andrew Geissler <geissonator@yahoo.com> | Wed Oct 27 12:25:25 2021 -0500 |
tree | cad9996bcc2d51d2373ecd90ea7ca2bcb6c51ecb | |
parent | 62638200712faa2b99e1dc6a4daae299469e01b5 [diff] |
op-continue-mpreboot: ensure it runs after start_host During an mpreboot, the obmc-host-startmin@.target is executed. Within this target there are two services that can start the boot. One is the standard start_host@.service which is used for a normal boot. The op-continue-mpreboot@.service is used when it is a mpreboot. The decision on which one runs and which one doesn't is based on the /run/openbmc/mpreboot@%i file. The race condition we have is that both services start at the same time from a systemd perspective. If the mpreboot service happens to run first, it removes the mpreboot@%i file. Then when the start_host service starts, it does not see the file so it also runs! This is not good. To fix this, ensure the start_host service runs first if it is started at the same time as the mpreboot service. Tested: - Verified start_host ran first and was skipped in mpreboot Oct 27 22:46:58 openbmc systemd[1]: Condition check resulted in Start host0 SBE being skipped. Oct 27 22:46:58 openbmc systemd[1]: Starting Continue mp reboot on host0... Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ifb995d3d1ac66314db5a171446097f88ead277c4
Contains procedures that interact with the OpenPower nest chipset.
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To build with phal feature: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} --enable-phal --enable-openfsi 3. make To clean the repository run `./bootstrap.sh clean`.