openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Error:"Failed to find the pwm0_gpio40 line"
@ 2020-11-05  6:02 khader basha shaik
       [not found] ` <405411604558303@mail.yandex-team.ru>
  0 siblings, 1 reply; 2+ messages in thread
From: khader basha shaik @ 2020-11-05  6:02 UTC (permalink / raw)
  To: openbmc

[-- Attachment #1: Type: text/plain, Size: 1631 bytes --]

Hi Team,

we are trying to control our board with RPI bmc.we are trying to control
power on, off and reset

we compiled x86-power-control with openbmc and create a patch for the sane
with the GPIO name "pwm0_gpio40". and when we are try to use this.
we are facing the below error.

root@akky:~# systemctl status
xyz.openbmc_project.Chassis.Control.Power.service
● xyz.openbmc_project.Chassis.Control.Power.service - Power Control
Loaded: loaded
(/lib/systemd/system/xyz.openbmc_project.Chassis.Control.Power.service;
enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 1970-01-01 00:00:13 UTC; 33s
ago
Process: 310 ExecStart=/usr/bin/power-control (code=exited,
status=255/EXCEPTION)
Main PID: 310 (code=exited, status=255/EXCEPTION)
Jan 01 00:00:13 akky systemd[1]:
xyz.openbmc_project.Chassis.Control.Power.service: Scheduled restart job,
restart counter is at 2.
Jan 01 00:00:13 akky systemd[1]: Stopped Power Control.
Jan 01 00:00:13 akky systemd[1]:
xyz.openbmc_project.Chassis.Control.Power.service: Start request repeated
too quickly.
Jan 01 00:00:13 akky systemd[1]:
xyz.openbmc_project.Chassis.Control.Power.service: Failed with result
'exit-code'.
Jan 01 00:00:13 akky systemd[1]: Failed to start Power Control.
root@akky:~# /usr/bin/power-control -h
Start Chassis power control service...
Failed to find the pwm0_gpio40 line

Could someone help me how to fix this or some pointers regarding this error.

Also is physcial connection between the bmc and the server is needed or we
can test this through someother way.

Thanks & Regards,
Khader B Shaik

[-- Attachment #2: Type: text/html, Size: 2645 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-05 12:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-05  6:02 Error:"Failed to find the pwm0_gpio40 line" khader basha shaik
     [not found] ` <405411604558303@mail.yandex-team.ru>
2020-11-05 12:30   ` khader basha shaik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).