All of lore.kernel.org
 help / color / mirror / Atom feed
* bmc_booted LED group was not asserted when BMC started up
@ 2019-07-15  8:27 CS20 YSChu
  2019-07-15  9:48 ` vishwa
  0 siblings, 1 reply; 5+ messages in thread
From: CS20 YSChu @ 2019-07-15  8:27 UTC (permalink / raw)
  To: openbmc

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

Hi,

In normal case, we will see bmc_booted LED group been asserted when bmc starts up.

Apr 08 04:56:30 evb-npcm750 systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Apr 08 04:56:31 evb-npcm750 systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.
Apr 08 04:56:35 evb-npcm750 systemd[1]: Starting Assert bmc_booted LED...
Apr 08 04:56:35 evb-npcm750 systemd[1]: Started Assert bmc_booted LED.

Recently, I update to newer commit (don't know what exact commit cause this), the wanted service was started but bmc-led-group-start service itself was not started. As a result, bmc heartbeat led was not blinked.
Can anyone please advise how to investigate such kind of issue?

Jul 11 04:54:03 runbmc-nuvoton systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.

------
Below is unit file of obmc-led-group-start@bmc_booted.service in /lib/systemd/system/multi-user.target.wants
[Unit]
Description=Assert %i LED
Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
Conflicts=obmc-led-group-stop@%i.service

[Service]
Type=oneshot
RemainAfterExit=yes
Restart=no
ExecStart=/bin/sh -c "busctl call `mapper get-service /xyz/openbmc_project/led/groups/%i` /xyz/openbmc_project/led/groups/%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.Led.Group Asserted b true"
SyslogIdentifier=obmc-led-group-start


Thanks.
Stanley

________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

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

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

* Re: bmc_booted LED group was not asserted when BMC started up
  2019-07-15  8:27 bmc_booted LED group was not asserted when BMC started up CS20 YSChu
@ 2019-07-15  9:48 ` vishwa
  2019-07-16  3:50   ` CS20 YSChu
  0 siblings, 1 reply; 5+ messages in thread
From: vishwa @ 2019-07-15  9:48 UTC (permalink / raw)
  To: CS20 YSChu, openbmc

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

Hi Stanley,

Could you tell:

-- The o/p of "systemctl status obmc-led-group-start@bmc_booted.service"

-- Properties of /xyz/openbmc_project/led/groups/bmc_booted

-- properties of xyz/openbmc_project/led/physical/heartbeat ?

!! Vishwa !!

On 7/15/19 1:57 PM, CS20 YSChu wrote:
>
> Hi,
>
> In normal case, we will see bmc_booted LED group been asserted when 
> bmc starts up.
>
> Apr 08 04:56:30 evb-npcm750 systemd[1]: Starting Wait for 
> /xyz/openbmc_project/led/groups/bmc_booted...
>
> Apr 08 04:56:31 evb-npcm750 systemd[1]: Started Wait for 
> /xyz/openbmc_project/led/groups/bmc_booted.
>
> Apr 08 04:56:35 evb-npcm750 systemd[1]: Starting Assert bmc_booted LED...
>
> Apr 08 04:56:35 evb-npcm750 systemd[1]: Started Assert bmc_booted LED.
>
> Recently, I update to newer commit (don’t know what exact commit cause 
> this), the wanted service was started but bmc-led-group-start service 
> itself was not started. As a result, bmc heartbeat led was not blinked.
>
> Can anyone please advise how to investigate such kind of issue?
>
> Jul 11 04:54:03 runbmc-nuvoton systemd[1]: Starting Wait for 
> /xyz/openbmc_project/led/groups/bmc_booted...
>
> Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for 
> /xyz/openbmc_project/led/groups/bmc_booted.
>
> ------
>
> Below is unit file of obmc-led-group-start@bmc_booted.service in 
> /lib/systemd/system/multi-user.target.wants
>
> [Unit]
>
> Description=Assert %i LED
>
> Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
>
> After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
>
> Conflicts=obmc-led-group-stop@%i.service
>
> [Service]
>
> Type=oneshot
>
> RemainAfterExit=yes
>
> Restart=no
>
> ExecStart=/bin/sh -c "busctl call `mapper get-service 
> /xyz/openbmc_project/led/groups/%i` /xyz/openbmc_project/led/groups/%i 
> org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.Led.Group 
> Asserted b true"
>
> SyslogIdentifier=obmc-led-group-start
>
> Thanks.
>
> Stanley
>
> ------------------------------------------------------------------------
> The privileged confidential information contained in this email is 
> intended for use only by the addressees as indicated by the original 
> sender of this email. If you are not the addressee indicated in this 
> email or are not responsible for delivery of the email to such a 
> person, please kindly reply to the sender indicating this fact and 
> delete all copies of it from your computer and network server 
> immediately. Your cooperation is highly appreciated. It is advised 
> that any unauthorized use of confidential information of Nuvoton is 
> strictly prohibited; and any information in this email irrelevant to 
> the official business of Nuvoton shall be deemed as neither given nor 
> endorsed by Nuvoton. 

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

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

* RE: bmc_booted LED group was not asserted when BMC started up
  2019-07-15  9:48 ` vishwa
@ 2019-07-16  3:50   ` CS20 YSChu
  2019-07-16  9:12     ` vishwa
  0 siblings, 1 reply; 5+ messages in thread
From: CS20 YSChu @ 2019-07-16  3:50 UTC (permalink / raw)
  To: vishwa, openbmc

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

Hi Vishwa,


-- The o/p of "systemctl status obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service>"

obmc-led-group-start@bmc_booted.service - Assert bmc_booted LED
   Loaded: loaded (/lib/systemd/system/obmc-led-group-start@.service; static; vendor preset: enabled)
  Drop-In: /lib/systemd/system/obmc-led-group-start@bmc_booted.service.d
           └─bmc_booted.conf
   Active: inactive (dead)
Warning: The unit file, source configuration file or drop-ins of obmc-led-group-start@bmc_booted.service changed on disk. Run 'systemctl daemon-reload' to reload units.

-- Properties of /xyz/openbmc_project/led/groups/bmc_booted
   array [
      dict entry(
         string "Asserted"
         variant             boolean false
      )
   ]


-- properties of xyz/openbmc_project/led/physical/heartbeat ?
   array [
      dict entry(
         string "State"
         variant             string "xyz.openbmc_project.Led.Physical.Action.Off"
      )
      dict entry(
         string "DutyOn"
         variant             byte 50
      )
      dict entry(
         string "Color"
         variant             string "xyz.openbmc_project.Led.Physical.Palette.Unknown"
      )
      dict entry(
         string "Period"
         variant             uint16 1000
      )
   ]

Thanks.
Stanley

From: vishwa [mailto:vishwa@linux.vnet.ibm.com]
Sent: Monday, July 15, 2019 5:48 PM
To: CS20 YSChu; openbmc@lists.ozlabs.org
Subject: Re: bmc_booted LED group was not asserted when BMC started up


Hi Stanley,

Could you tell:

-- The o/p of "systemctl status obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service>"

-- Properties of /xyz/openbmc_project/led/groups/bmc_booted

-- properties of xyz/openbmc_project/led/physical/heartbeat ?

!! Vishwa !!
On 7/15/19 1:57 PM, CS20 YSChu wrote:
Hi,

In normal case, we will see bmc_booted LED group been asserted when bmc starts up.

Apr 08 04:56:30 evb-npcm750 systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Apr 08 04:56:31 evb-npcm750 systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.
Apr 08 04:56:35 evb-npcm750 systemd[1]: Starting Assert bmc_booted LED...
Apr 08 04:56:35 evb-npcm750 systemd[1]: Started Assert bmc_booted LED.

Recently, I update to newer commit (don't know what exact commit cause this), the wanted service was started but bmc-led-group-start service itself was not started. As a result, bmc heartbeat led was not blinked.
Can anyone please advise how to investigate such kind of issue?

Jul 11 04:54:03 runbmc-nuvoton systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.

------
Below is unit file of obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service> in /lib/systemd/system/multi-user.target.wants
[Unit]
Description=Assert %i LED
Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<mailto:Wants=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<mailto:After=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
Conflicts=obmc-led-group-stop@%i.service<mailto:Conflicts=obmc-led-group-stop@%25i.service>

[Service]
Type=oneshot
RemainAfterExit=yes
Restart=no
ExecStart=/bin/sh -c "busctl call `mapper get-service /xyz/openbmc_project/led/groups/%i` /xyz/openbmc_project/led/groups/%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.Led.Group Asserted b true"
SyslogIdentifier=obmc-led-group-start


Thanks.
Stanley

________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

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

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

* Re: bmc_booted LED group was not asserted when BMC started up
  2019-07-16  3:50   ` CS20 YSChu
@ 2019-07-16  9:12     ` vishwa
  2019-07-17  5:22       ` CS20 YSChu
  0 siblings, 1 reply; 5+ messages in thread
From: vishwa @ 2019-07-16  9:12 UTC (permalink / raw)
  To: CS20 YSChu, openbmc

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

Hmm.,,

Clearly, the systemd unit did not run / was not loaded successfully etc. 
Below line is telling me that some edits were done.

Warning: The unit file, source configuration file or drop-ins of 
obmc-led-group-start@bmc_booted.service changed on disk. Run 'systemctl 
daemon-reload' to reload units.

Have you tried to reload systemd ?

Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for 
/xyz/openbmc_project/led/groups/bmc_booted.

That is telling me that, it is waiting for the precondition to be met.. 
I thought you won't reach BMCReady state while having this stuck.  What 
is the "obmcutil state" saying ?.

Also, can you try "systemctl 
startobmc-led-group-start@bmc_booted.service" and see how it behaves.

If it's a one-off, I would suggest retry.. If this is persisting, open a 
girhub issue with needed information on  how to recreate.

!! Vishwa !!

On 7/16/19 9:20 AM, CS20 YSChu wrote:
>
> Hi Vishwa,
>
> -- The o/p of "systemctl status 
> obmc-led-group-start@bmc_booted.service 
> <mailto:obmc-led-group-start@bmc_booted.service>"
>
> obmc-led-group-start@bmc_booted.service - Assert bmc_booted LED
>
> Loaded: loaded (/lib/systemd/system/obmc-led-group-start@.service; 
> static; vendor preset: enabled)
>
> Drop-In: /lib/systemd/system/obmc-led-group-start@bmc_booted.service.d
>
> └─bmc_booted.conf
>
> Active: inactive (dead)
>
> Warning: The unit file, source configuration file or drop-ins of 
> obmc-led-group-start@bmc_booted.service changed on disk. Run 
> 'systemctl daemon-reload' to reload units.
>
> -- Properties of /xyz/openbmc_project/led/groups/bmc_booted
>
> array [
>
> dict entry(
>
> string "Asserted"
>
> variant             boolean false
>
> )
>
> ]
>
> -- properties of xyz/openbmc_project/led/physical/heartbeat ?
>
> array [
>
> dict entry(
>
> string "State"
>
> variant             string "xyz.openbmc_project.Led.Physical.Action.Off"
>
> )
>
> dict entry(
>
> string "DutyOn"
>
> variant             byte 50
>
> )
>
> dict entry(
>
> string "Color"
>
> variant             string 
> "xyz.openbmc_project.Led.Physical.Palette.Unknown"
>
> )
>
> dict entry(
>
> string "Period"
>
> variant             uint16 1000
>
> )
>
> ]
>
> Thanks.
>
> Stanley
>
> *From:*vishwa [mailto:vishwa@linux.vnet.ibm.com]
> *Sent:* Monday, July 15, 2019 5:48 PM
> *To:* CS20 YSChu; openbmc@lists.ozlabs.org
> *Subject:* Re: bmc_booted LED group was not asserted when BMC started up
>
> Hi Stanley,
>
> Could you tell:
>
> -- The o/p of "systemctl status 
> obmc-led-group-start@bmc_booted.service 
> <mailto:obmc-led-group-start@bmc_booted.service>"
>
> -- Properties of /xyz/openbmc_project/led/groups/bmc_booted
>
> -- properties of xyz/openbmc_project/led/physical/heartbeat ?
>
> !! Vishwa !!
>
> On 7/15/19 1:57 PM, CS20 YSChu wrote:
>
>     Hi,
>
>     In normal case, we will see bmc_booted LED group been asserted
>     when bmc starts up.
>
>     Apr 08 04:56:30 evb-npcm750 systemd[1]: Starting Wait for
>     /xyz/openbmc_project/led/groups/bmc_booted...
>
>     Apr 08 04:56:31 evb-npcm750 systemd[1]: Started Wait for
>     /xyz/openbmc_project/led/groups/bmc_booted.
>
>     Apr 08 04:56:35 evb-npcm750 systemd[1]: Starting Assert bmc_booted
>     LED...
>
>     Apr 08 04:56:35 evb-npcm750 systemd[1]: Started Assert bmc_booted LED.
>
>     Recently, I update to newer commit (don’t know what exact commit
>     cause this), the wanted service was started but
>     bmc-led-group-start service itself was not started. As a result,
>     bmc heartbeat led was not blinked.
>
>     Can anyone please advise how to investigate such kind of issue?
>
>     Jul 11 04:54:03 runbmc-nuvoton systemd[1]: Starting Wait for
>     /xyz/openbmc_project/led/groups/bmc_booted...
>
>     Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for
>     /xyz/openbmc_project/led/groups/bmc_booted.
>
>     ------
>
>     Below is unit file of obmc-led-group-start@bmc_booted.service
>     <mailto:obmc-led-group-start@bmc_booted.service> in
>     /lib/systemd/system/multi-user.target.wants
>
>     [Unit]
>
>     Description=Assert %i LED
>
>     Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
>     <mailto:Wants=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
>
>     After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service
>     <mailto:After=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
>
>     Conflicts=obmc-led-group-stop@%i.service
>     <mailto:Conflicts=obmc-led-group-stop@%25i.service>
>
>     [Service]
>
>     Type=oneshot
>
>     RemainAfterExit=yes
>
>     Restart=no
>
>     ExecStart=/bin/sh -c "busctl call `mapper get-service
>     /xyz/openbmc_project/led/groups/%i`
>     /xyz/openbmc_project/led/groups/%i org.freedesktop.DBus.Properties
>     Set ssv xyz.openbmc_project.Led.Group Asserted b true"
>
>     SyslogIdentifier=obmc-led-group-start
>
>     Thanks.
>
>     Stanley
>
>     ------------------------------------------------------------------------
>
>     The privileged confidential information contained in this email is
>     intended for use only by the addressees as indicated by the
>     original sender of this email. If you are not the addressee
>     indicated in this email or are not responsible for delivery of the
>     email to such a person, please kindly reply to the sender
>     indicating this fact and delete all copies of it from your
>     computer and network server immediately. Your cooperation is
>     highly appreciated. It is advised that any unauthorized use of
>     confidential information of Nuvoton is strictly prohibited; and
>     any information in this email irrelevant to the official business
>     of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
>
> ------------------------------------------------------------------------
> The privileged confidential information contained in this email is 
> intended for use only by the addressees as indicated by the original 
> sender of this email. If you are not the addressee indicated in this 
> email or are not responsible for delivery of the email to such a 
> person, please kindly reply to the sender indicating this fact and 
> delete all copies of it from your computer and network server 
> immediately. Your cooperation is highly appreciated. It is advised 
> that any unauthorized use of confidential information of Nuvoton is 
> strictly prohibited; and any information in this email irrelevant to 
> the official business of Nuvoton shall be deemed as neither given nor 
> endorsed by Nuvoton. 

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

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

* RE: bmc_booted LED group was not asserted when BMC started up
  2019-07-16  9:12     ` vishwa
@ 2019-07-17  5:22       ` CS20 YSChu
  0 siblings, 0 replies; 5+ messages in thread
From: CS20 YSChu @ 2019-07-17  5:22 UTC (permalink / raw)
  To: vishwa, openbmc

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

Hi Vishwa,
Thanks for the hint.
This issue is related to BMC State Not Ready. I will look into this part.

# obmcutil status
CurrentBMCState     : xyz.openbmc_project.State.BMC.BMCState.NotReady

Thanks.
Stanley

From: vishwa [mailto:vishwa@linux.vnet.ibm.com]
Sent: Tuesday, July 16, 2019 5:13 PM
To: CS20 YSChu; openbmc@lists.ozlabs.org
Subject: Re: bmc_booted LED group was not asserted when BMC started up


Hmm.,,

Clearly, the systemd unit did not run / was not loaded successfully etc. Below line is telling me that some edits were done.

Warning: The unit file, source configuration file or drop-ins of obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service> changed on disk. Run 'systemctl daemon-reload' to reload units.

Have you tried to reload systemd ?

Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.

That is telling me that, it is waiting for the precondition to be met.. I thought you won't reach BMCReady state while having this stuck.  What is the "obmcutil state" saying ?.

Also, can you try "systemctl start obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service>" and see how it behaves.

If it's a one-off, I would suggest retry.. If this is persisting, open a girhub issue with needed information on  how to recreate.

!! Vishwa !!
On 7/16/19 9:20 AM, CS20 YSChu wrote:

Hi Vishwa,


-- The o/p of "systemctl status obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service>"

obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service> - Assert bmc_booted LED
   Loaded: loaded (/lib/systemd/system/obmc-led-group-start@.service<mailto:/lib/systemd/system/obmc-led-group-start@.service>; static; vendor preset: enabled)
  Drop-In: /lib/systemd/system/obmc-led-group-start@bmc_booted.service.d<mailto:/lib/systemd/system/obmc-led-group-start@bmc_booted.service.d>
           └─bmc_booted.conf
   Active: inactive (dead)
Warning: The unit file, source configuration file or drop-ins of obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service> changed on disk. Run 'systemctl daemon-reload' to reload units.

-- Properties of /xyz/openbmc_project/led/groups/bmc_booted
   array [
      dict entry(
         string "Asserted"
         variant             boolean false
      )
   ]


-- properties of xyz/openbmc_project/led/physical/heartbeat ?
   array [
      dict entry(
         string "State"
         variant             string "xyz.openbmc_project.Led.Physical.Action.Off"
      )
      dict entry(
         string "DutyOn"
         variant             byte 50
      )
      dict entry(
         string "Color"
         variant             string "xyz.openbmc_project.Led.Physical.Palette.Unknown"
      )
      dict entry(
         string "Period"
         variant             uint16 1000
      )
   ]

Thanks.
Stanley

From: vishwa [mailto:vishwa@linux.vnet.ibm.com]
Sent: Monday, July 15, 2019 5:48 PM
To: CS20 YSChu; openbmc@lists.ozlabs.org<mailto:openbmc@lists.ozlabs.org>
Subject: Re: bmc_booted LED group was not asserted when BMC started up


Hi Stanley,

Could you tell:

-- The o/p of "systemctl status obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service>"

-- Properties of /xyz/openbmc_project/led/groups/bmc_booted

-- properties of xyz/openbmc_project/led/physical/heartbeat ?

!! Vishwa !!
On 7/15/19 1:57 PM, CS20 YSChu wrote:
Hi,

In normal case, we will see bmc_booted LED group been asserted when bmc starts up.

Apr 08 04:56:30 evb-npcm750 systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Apr 08 04:56:31 evb-npcm750 systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.
Apr 08 04:56:35 evb-npcm750 systemd[1]: Starting Assert bmc_booted LED...
Apr 08 04:56:35 evb-npcm750 systemd[1]: Started Assert bmc_booted LED.

Recently, I update to newer commit (don’t know what exact commit cause this), the wanted service was started but bmc-led-group-start service itself was not started. As a result, bmc heartbeat led was not blinked.
Can anyone please advise how to investigate such kind of issue?

Jul 11 04:54:03 runbmc-nuvoton systemd[1]: Starting Wait for /xyz/openbmc_project/led/groups/bmc_booted...
Jul 11 04:54:06 runbmc-nuvoton systemd[1]: Started Wait for /xyz/openbmc_project/led/groups/bmc_booted.

------
Below is unit file of obmc-led-group-start@bmc_booted.service<mailto:obmc-led-group-start@bmc_booted.service> in /lib/systemd/system/multi-user.target.wants
[Unit]
Description=Assert %i LED
Wants=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<mailto:Wants=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
After=mapper-wait@-xyz-openbmc_project-led-groups-%i.service<mailto:After=mapper-wait@-xyz-openbmc_project-led-groups-%25i.service>
Conflicts=obmc-led-group-stop@%i.service<mailto:Conflicts=obmc-led-group-stop@%25i.service>

[Service]
Type=oneshot
RemainAfterExit=yes
Restart=no
ExecStart=/bin/sh -c "busctl call `mapper get-service /xyz/openbmc_project/led/groups/%i` /xyz/openbmc_project/led/groups/%i org.freedesktop.DBus.Properties Set ssv xyz.openbmc_project.Led.Group Asserted b true"
SyslogIdentifier=obmc-led-group-start


Thanks.
Stanley

________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.
________________________________
The privileged confidential information contained in this email is intended for use only by the addressees as indicated by the original sender of this email. If you are not the addressee indicated in this email or are not responsible for delivery of the email to such a person, please kindly reply to the sender indicating this fact and delete all copies of it from your computer and network server immediately. Your cooperation is highly appreciated. It is advised that any unauthorized use of confidential information of Nuvoton is strictly prohibited; and any information in this email irrelevant to the official business of Nuvoton shall be deemed as neither given nor endorsed by Nuvoton.

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

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

end of thread, other threads:[~2019-07-17  5:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-15  8:27 bmc_booted LED group was not asserted when BMC started up CS20 YSChu
2019-07-15  9:48 ` vishwa
2019-07-16  3:50   ` CS20 YSChu
2019-07-16  9:12     ` vishwa
2019-07-17  5:22       ` CS20 YSChu

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.