commit | 99ee5ca9c36ff8d80d683337cf81241480b2a200 | [log] [tgz] |
---|---|---|
author | Andrew Geissler <geissonator@yahoo.com> | Thu Feb 04 13:27:06 2021 -0600 |
committer | Andrew Geissler <geissonator@yahoo.com> | Thu Feb 04 13:27:06 2021 -0600 |
tree | 1364b40c6535cc4884b23f70d1c950abe54557ea | |
parent | ea0fb6fc4cc843122809c21f9f41048f394b40e3 [diff] |
fix dependency issue between mpreboot and stop instr During some testing of the mpreboot function, I noticed this journal log: Feb 04 17:12:05 bmc systemd[1]: op-stop-instructions@0.service: Found ordering cycle on op-enter-mpreboot@0.service/start Feb 04 17:12:05 bmc systemd[1]: op-stop-instructions@0.service: Found dependency on obmc-host-stopped@0.target/start Feb 04 17:12:05 bmc systemd[1]: op-stop-instructions@0.service: Found dependency on obmc-host-stopping@0.target/start Feb 04 17:12:05 bmc systemd[1]: op-stop-instructions@0.service: Found dependency on op-stop-instructions@0.service/start Feb 04 17:12:05 bmc systemd[1]: op-stop-instructions@0.service: Job obmc-host-stopped@0.target/start deleted to break ordering cycle starting with op-stop-instructions@0.service/start The issue is that op-enter-mpreboot@.service says it has to run after the host has been stopped, but before op-stop-instructions@.service. This is because op-enter-mpreboot@.service creates the file which tells op-stop-instructions@.service to not run. op-stop-instructions@.service is what causes the host to stop, so we end up with a cyclical dependency. To fix this, just have op-enter-mpreboot@.service run during the same target as op-stop-instructions@.service. The only service run here in that window is op-stop-instructions@service anyway. This was all a result of the request we not run op-stop-instructions@.service in the mpreboot path. Tested: Verified I no longer see the error messages above during a mpreboot. Signed-off-by: Andrew Geissler <geissonator@yahoo.com> Change-Id: Ied611bad3727a11a76aae48ff0a81c30a35952b2
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`.