Warm reboot functionality of WebUI isn't work properly
CS20 CHLi30
CHLI30 at nuvoton.com
Tue Jul 23 19:11:57 AEST 2019
Hi All,
When we using the latest openbmc code (newer than v2.6 branch), we meet Warm reboot of WebUI functionality isn't work properly. In openbmc v2.6 branch, we didn't meet this issue.
After checking the fail log seems that obmc-host-reboot at 0.target<mailto:obmc-host-reboot at 0.target> be called through bmcweb normally, but op-power-stop at 0.service<mailto:op-power-stop at 0.service> and phosphor-reboot-host at 0.service<mailto:phosphor-reboot-host at 0.service> didn't be executed eventually.
Did anyone meet this issue symptom? Please don't hesitate provide your feedback. Thanks in advance.
BTW, Power ON functionality is work properly, power_control service is active (running).
busctl --system --no-pager log:
org.freedesktop.systemd1 1 systemd root :1.4 init.scope
:1.55 2560 bmcweb root :1.55 bmcweb.service
xyz.openbmc_project.State.Host 2641 phosphor-host-s root :1.58 xyz.openbmc_project.St...
dbus-monitor --system log:
method call time=1563773011.059338 sender=:1.55 -> destination=xyz.openbmc_project.State.Host serial=101 path=/xyz/openbmc_project/state/host0; interface=org.freedesktop.DBus.Properties; member=Set
string "xyz.openbmc_project.State.Host"
string "RequestedHostTransition"
variant string "xyz.openbmc_project.State.Host.Transition.Reboot"
method call time=1563773011.060236 sender=:1.58 -> destination=org.freedesktop.DBus serial=61 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixUser
string ":1.55"
method return time=1563773011.060292 sender=org.freedesktop.DBus -> destination=:1.58 serial=4294967295 reply_serial=61
uint32 0
signal time=1563773011.060328 sender=:1.58 -> destination=(null destination) serial=62 path=/xyz/openbmc_project/state/host0; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "xyz.openbmc_project.Control.Boot.RebootAttempts"
array [
dict entry(
string "AttemptsLeft"
variant uint32 1
)
]
array [
]
method call time=1563773011.060435 sender=:1.58 -> destination=org.freedesktop.systemd1 serial=63 path=/org/freedesktop/systemd1; interface=org.freedesktop.systemd1.Manager; member=StartUnit
string "obmc-host-reboot at 0.target"
string "replace"
method call time=1563773011.060481 sender=:1.4 -> destination=org.freedesktop.DBus serial=958 path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetConnectionUnixUser
string ":1.58"
method return time=1563773011.060515 sender=org.freedesktop.DBus -> destination=:1.4 serial=4294967295 reply_serial=958
uint32 0
signal time=1563773011.060548 sender=:1.4 -> destination=(null destination) serial=959 path=/org/freedesktop/systemd1/job/1121; interface=org.freedesktop.DBus.Properties; member=PropertiesChanged
string "org.freedesktop.systemd1.Job"
array [
dict entry(
string "State"
variant string "waiting"
)
]
array [
]
method return time=1563773011.060663 sender=:1.4 -> destination=:1.58 serial=960 reply_serial=63
object path "/org/freedesktop/systemd1/job/1121"
systemctl status obmc-host-reboot at 0.target log:
* obmc-host-reboot at 0.target - Reboot Host0
Loaded: loaded (/lib/systemd/system/obmc-host-reboot at .target; static; vendor preset: enabled)
Active: inactive (dead)
* op-power-stop at 0.service - Stop Power0
Loaded: loaded (/lib/systemd/system/op-power-stop at .service; static; vendor preset: enabled)
Active: inactive (dead)
* phosphor-reboot-host at 0.service - Reboot host0
Loaded: loaded (/lib/systemd/system/phosphor-reboot-host at .service; static; vendor preset: enabled)
Active: inactive (dead)
* org.openbmc.control.Power at 0.service - Phosphor Power0 Control
Loaded: loaded (/lib/systemd/system/org.openbmc.control.Power at .service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2019-07-22 05:21:02 UTC; 1h 4min ago
Main PID: 2549 (power_control.e)
CGroup: /system.slice/system-org.openbmc.control.Power.slice/org.openbmc.control.Power at 0.service
`-2549 power_control.exe 3000 10
Jul 22 05:21:01 runbmc-nuvoton power_control.exe[2549]: Power GPIO 0 reset outputs
Jul 22 05:21:01 runbmc-nuvoton power_control.exe[2549]: Power GPIO 0 pci reset outputs
Jul 22 05:21:01 runbmc-nuvoton power_control.exe[2549]: GPIO Lookup: PGOOD = 126,in
Jul 22 05:21:01 runbmc-nuvoton power_control.exe[2549]: GPIO Lookup: POWER_UP_PIN = 219,out
Jul 22 05:21:01 runbmc-nuvoton power_control.exe[2549]: Pgood state: 0
Jul 22 05:21:02 runbmc-nuvoton systemd[1]: Started Phosphor Power0 Control.
Jul 22 05:21:40 runbmc-nuvoton power_control.exe[2549]: Power requested state: 1
Jul 22 05:21:40 runbmc-nuvoton power_control.exe[2549]: PowerControl: setting power up POWER_UP_PIN to 1
Jul 22 05:21:41 runbmc-nuvoton power_control.exe[2549]: Power requested state: 1
Jul 22 05:21:41 runbmc-nuvoton power_control.exe[2549]: PowerControl: setting power up POWER_UP_PIN to 0
Sincerely,
Tim Lee
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190723/559f280f/attachment-0001.htm>
More information about the openbmc
mailing list