Error:"Failed to find the pwm0_gpio40 line"

khader basha shaik shaikkhaderbasha601 at gmail.com
Thu Nov 5 17:02:17 AEDT 2020


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 at 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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20201105/80dd4b0d/attachment.htm>


More information about the openbmc mailing list