diff options
author | Matt Spinler <spinler@us.ibm.com> | 2018-10-02 23:01:46 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-10-04 21:37:13 +0300 |
commit | 16f2ca3f24d305ff56694dd638afa355c4b8eacb (patch) | |
tree | 244d89ab53448be5c6152ac4fcbe1f1ad4f45c68 /meta-ibm/meta-witherspoon | |
parent | 956853824910b6150387154e5255eb1b9c95a39d (diff) | |
download | openbmc-16f2ca3f24d305ff56694dd638afa355c4b8eacb.tar.xz |
wspoon: Start PSEQ monitor after power workarounds
This witherspoon-pseq-monitor-pgood service launches an instance
of witherspoon-pseq-monitor to run during a power on to monitor
for power faults during that sequence. It needs the hwmon driver
for the ucd90160 bound when it starts so that it can find the
path to some sysfs files it needs to access on failures.
However, the power-workarounds@.service was running at about the
same time, and it unbinds that device driver while it runs, so
the pseq-monitor code can't find what it's looking for, as can
be seen by a "Unable to find hwmon directory in device base path"
trace.
The fix is to just wait for the power-workaround service to be
complete before starting this service.
(From meta-ibm rev: 65da05ba33ac3b4bc2b46f1a58e05d1714221335)
Change-Id: I04209d8765a63ec89546708b6af87f761cc6f73d
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-ibm/meta-witherspoon')
-rw-r--r-- | meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/witherspoon-pseq-monitor-pgood.service | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/witherspoon-pseq-monitor-pgood.service b/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/witherspoon-pseq-monitor-pgood.service index f18efc1a6..ff6bcd181 100644 --- a/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/witherspoon-pseq-monitor-pgood.service +++ b/meta-ibm/meta-witherspoon/recipes-phosphor/power/witherspoon-pfault-analysis/witherspoon-pseq-monitor-pgood.service @@ -2,6 +2,8 @@ Description=Witherspoon Power Sequencer Power-on Monitor Wants=op-power-start@0.service After=op-power-start@0.service +Wants=power-workarounds@0.service +After=power-workarounds@0.service Conflicts=obmc-chassis-poweroff@0.target ConditionPathExists=!/run/openbmc/chassis@0-on |