chassis power status seems to not be changed when type command to shutdown OS
Zheng Bao
fishbaoz at hotmail.com
Tue Oct 8 01:53:15 AEDT 2019
How does the "ipmitool power on/off" do to power on/off the host? I assume it need to trigger the power
button connected to BMC gpio, right? But I am not quite sure about the path which the message goes from ipmitool
to gpio.
What I have got:
1. The gpio defined in machine layer, gpio_defs.json, which is handled by obmc-libobmc-intf.
2. obmc-libobmc-intf is part of "skeleton“.
The decription of skeleton on github says "Area for initial design & reference code. Will be replaced with proper implementation and design docs. " What does it mean?
Am I on track? Is power on/off gpio handled by skeleton? Thanks.
Can any big boy give some hint? Thanks.
Zheng
________________________________
From: openbmc <openbmc-bounces+fishbaoz=hotmail.com at lists.ozlabs.org> on behalf of Oskar Senft <osk at google.com>
Sent: Wednesday, August 28, 2019 9:29 PM
To: Andrew Geissler <geissonator at gmail.com>
Cc: Andrew MS1 Peng <pengms1 at lenovo.com>; openbmc at lists.ozlabs.org <openbmc at lists.ozlabs.org>
Subject: Re: chassis power status seems to not be changed when type command to shutdown OS
There's also quite a bit of infrastructure on the OpenBMC side that needs to be running to be able for the BMC to actually power on / off the host.
Can you power-on / off the host using "ipmitool power on" / "off" from the BMC? If that works, then the host should be able to do the same.
Oskar.
On Thu, Aug 22, 2019 at 11:47 AM Andrew Geissler <geissonator at gmail.com<mailto:geissonator at gmail.com>> wrote:
On Thu, Aug 22, 2019 at 5:01 AM Andrew MS1 Peng <pengms1 at lenovo.com<mailto:pengms1 at lenovo.com>> wrote:
>
> Hi Team,
>
> When I executed command "poweroff" or "shutdown -h" in Host OS, the chassis power status seems to not be changed. Is there any package could support update power status for this situation?
Sounds like your host is not sending the inband IPMI message to
the BMC to turn off the chassis once it completes the shutdown?
> Thanks,
>
> Andrew
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20191007/f09f696c/attachment.htm>
More information about the openbmc
mailing list