Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"ipmitools chassis power status " cmd report error! #3

Open
linlin4426 opened this issue Oct 20, 2019 · 6 comments
Open

"ipmitools chassis power status " cmd report error! #3

linlin4426 opened this issue Oct 20, 2019 · 6 comments

Comments

@linlin4426
Copy link

linlin4426 commented Oct 20, 2019

Hi,i build the newest openbmc version for meta-s2600wf(commit ID
c549f3a7f5496ec3b54ed65c8b4d8351db10995e),which use x86-power-control version f61ca6f. But when i use "ipmitools chassis power status" commond to get my host status, it point out "Get Chassis Power Status failed: Unspecified error", journalctl -f command refer to "ipmid[279]: Failed to fetch ACBoot property, ipmid[279]: Failed to fetch RestartCause property". It seems that phosphor-ipmi-host and phosphor-ipmi-net is not sutable for x86-power-control. Could you do me a favor, what's the problem?

@OguzhanCaglar
Copy link

Hi linlin4426,

I have the same problems too. How did you fix this?

@zhangjian3032
Copy link
Contributor

@OguzhanCaglar @linlin4426 I don't know what settings services you are used, for intel's settings service, https://github.com/Intel-BMC/settings/blob/master/include/defaults.hpp#L332, and if you are used https://github.com/openbmc/phosphor-settingsd, you can flow the guide to Create a similar interface.

anyway, this is just provide a interface to set/get the ACBoot property, how to update it, you can see https://github.com/Intel-BMC/openbmc/blob/7cf0c1cd0ce835d1833509b7b911e8a97380278b/meta-openbmc-mods/meta-common/recipes-core/ac-boot-check/ac-boot-check/ac-boot-check.sh

@zhangjian3032
Copy link
Contributor

@OguzhanCaglar if you don't care the ACBoot , you can disable this function with

option('use-acboot', type: 'feature', value : 'disabled',

@OguzhanCaglar
Copy link

Thank you, I use the Aspeed-SDK: https://github.com/AspeedTech-BMC/openbmc. My server motherboard has Intel Xeon CPU. Had I better use the Intel-BMC SDK to work with this CPU? Cause I use phosphor-settingsd and not use Intel-BMC settings.

@zhangjian3032
Copy link
Contributor

@OguzhanCaglar maybe I think, if you are used phosphor-settingsd, create a similar interface is fine

@vijaysai
Copy link

vijaysai commented Jan 9, 2024

How can we create similar interfaces, can you kindly provide any example for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants