All of lore.kernel.org
 help / color / mirror / Atom feed
* Power Supplies are Turned off after boot
@ 2020-08-05 22:28 Mike Jones
  2020-08-07  2:32 ` Milton Miller II
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Jones @ 2020-08-05 22:28 UTC (permalink / raw)
  To: OpenBMC Maillist

Now that I have webui displaying telemetry for multiple PMBus devices, I want to solve a power supply problem.

After boot, all PMBus devices have their power turned off via an OPERATION command. This happens about 10-20 seconds after boot completes. There is a message printed saying it is disabling them, and one line per action. Like:

VOUT 1: disabling

Where VOUT 1 does not match the name of the rails in the config files with the name and limits. It seems like a more generic term indicating voltage.

These devices are in the device tree and have hwmon running.

What service would be capable of shutting off the supplies? It would have to be able to discover them, perhaps by device tree, then issue standard PMBus commands.

Note: the Phosphor System Manager service fails at start up. I don’t know if this matters, I was going to figure out what it does later.

Mike

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

* Re:  Power Supplies are Turned off after boot
  2020-08-05 22:28 Power Supplies are Turned off after boot Mike Jones
@ 2020-08-07  2:32 ` Milton Miller II
  2020-08-07  3:34   ` Mike
  2020-08-07 23:00   ` Mike Jones
  0 siblings, 2 replies; 4+ messages in thread
From: Milton Miller II @ 2020-08-07  2:32 UTC (permalink / raw)
  To: Mike Jones; +Cc: OpenBMC Maillist

On August 5, 2020 Mike Jones wrote:

>Now that I have webui displaying telemetry for multiple PMBus
>devices, I want to solve a power supply problem.
>
>After boot, all PMBus devices have their power turned off via an
>OPERATION command. This happens about 10-20 seconds after boot
>completes. There is a message printed saying it is disabling them,
>and one line per action. Like:
>
>VOUT 1: disabling
>
>Where VOUT 1 does not match the name of the rails in the config files
>with the name and limits. It seems like a more generic term
>indicating voltage.
>
>These devices are in the device tree and have hwmon running.
>
>What service would be capable of shutting off the supplies? It would
>have to be able to discover them, perhaps by device tree, then issue
>standard PMBus commands.

I'm guessing the host watchdog was not shutdown when your HOST 
completed boot and the watchdog requesed the system power off.
Normally an IPMI message from the host will disable the watchdog.

You should be able to see the transition files run in the systemd 
journal if this is the case.

if not try watching for activity by using journalctl to follow 
events live in a shell.

>>Note: the Phosphor System Manager service fails at start up. I don’t
>know if this matters, I was going to figure out what it does later.
>
>Mike
>

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

* Re: Power Supplies are Turned off after boot
  2020-08-07  2:32 ` Milton Miller II
@ 2020-08-07  3:34   ` Mike
  2020-08-07 23:00   ` Mike Jones
  1 sibling, 0 replies; 4+ messages in thread
From: Mike @ 2020-08-07  3:34 UTC (permalink / raw)
  To: Milton Miller II; +Cc: OpenBMC Maillist

Milton,

Ah, no host when using a rasp pi. I’ll try to prove this is the cause and try to disable the watchdog.

Thanks 

Mike 

Sent from my iPhone

> On Aug 6, 2020, at 8:32 PM, Milton Miller II <miltonm@us.ibm.com> wrote:
> 
> On August 5, 2020 Mike Jones wrote:
> 
>> Now that I have webui displaying telemetry for multiple PMBus
>> devices, I want to solve a power supply problem.
>> 
>> After boot, all PMBus devices have their power turned off via an
>> OPERATION command. This happens about 10-20 seconds after boot
>> completes. There is a message printed saying it is disabling them,
>> and one line per action. Like:
>> 
>> VOUT 1: disabling
>> 
>> Where VOUT 1 does not match the name of the rails in the config files
>> with the name and limits. It seems like a more generic term
>> indicating voltage.
>> 
>> These devices are in the device tree and have hwmon running.
>> 
>> What service would be capable of shutting off the supplies? It would
>> have to be able to discover them, perhaps by device tree, then issue
>> standard PMBus commands.
> 
> I'm guessing the host watchdog was not shutdown when your HOST 
> completed boot and the watchdog requesed the system power off.
> Normally an IPMI message from the host will disable the watchdog.
> 
> You should be able to see the transition files run in the systemd 
> journal if this is the case.
> 
> if not try watching for activity by using journalctl to follow 
> events live in a shell.
> 
>>> Note: the Phosphor System Manager service fails at start up. I don’t
>> know if this matters, I was going to figure out what it does later.
>> 
>> Mike
>> 
> 

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

* Re: Power Supplies are Turned off after boot
  2020-08-07  2:32 ` Milton Miller II
  2020-08-07  3:34   ` Mike
@ 2020-08-07 23:00   ` Mike Jones
  1 sibling, 0 replies; 4+ messages in thread
From: Mike Jones @ 2020-08-07 23:00 UTC (permalink / raw)
  To: Milton Miller II; +Cc: OpenBMC Maillist

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


I managed to get rid of the watchdog service by removing:

IMAGE_FEATURES_remove = “obmc-net-ipmi obmc-host-ipmi” where the latter had a dependency on phosphor-watchdog.

But the supplies still shut off. journalctl has no entries with the keyword “watchdog”. grepping for power shows the chassis-power* services.

I confirmed that each device receives an OPERATION command via PMBus, so clearly something knows the devices are there via devicetree/sysfs.

What are all the services capable of sending PMBus commands related to power?

Mike

> On Aug 6, 2020, at 8:32 PM, Milton Miller II <miltonm@us.ibm.com <mailto:miltonm@us.ibm.com>> wrote:
> 
> On August 5, 2020 Mike Jones wrote:
> 
>> Now that I have webui displaying telemetry for multiple PMBus
>> devices, I want to solve a power supply problem.
>> 
>> After boot, all PMBus devices have their power turned off via an
>> OPERATION command. This happens about 10-20 seconds after boot
>> completes. There is a message printed saying it is disabling them,
>> and one line per action. Like:
>> 
>> VOUT 1: disabling
>> 
>> Where VOUT 1 does not match the name of the rails in the config files
>> with the name and limits. It seems like a more generic term
>> indicating voltage.
>> 
>> These devices are in the device tree and have hwmon running.
>> 
>> What service would be capable of shutting off the supplies? It would
>> have to be able to discover them, perhaps by device tree, then issue
>> standard PMBus commands.
> 
> I'm guessing the host watchdog was not shutdown when your HOST 
> completed boot and the watchdog requesed the system power off.
> Normally an IPMI message from the host will disable the watchdog.
> 
> You should be able to see the transition files run in the systemd 
> journal if this is the case.
> 
> if not try watching for activity by using journalctl to follow 
> events live in a shell.
> 
>>> Note: the Phosphor System Manager service fails at start up. I don’t
>> know if this matters, I was going to figure out what it does later.
>> 
>> Mike


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

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

end of thread, other threads:[~2020-08-07 23:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 22:28 Power Supplies are Turned off after boot Mike Jones
2020-08-07  2:32 ` Milton Miller II
2020-08-07  3:34   ` Mike
2020-08-07 23:00   ` Mike Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.