All of lore.kernel.org
 help / color / mirror / Atom feed
* Phosphor Hwmon not work
@ 2019-03-19  3:02 Henbin Chang
  2019-03-19  3:06 ` Lei YU
  0 siblings, 1 reply; 3+ messages in thread
From: Henbin Chang @ 2019-03-19  3:02 UTC (permalink / raw)
  To: OpenBMC Maillist

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

Hi All,

We found the 'Phosphor Hwmon Poller' would terminate with the error message.

Mar 15 09:45:04  systemd[1]: Started Phosphor Hwmon Poller.
Mar 15 09:45:06  phosphor-hwmon-readd[1137]: terminate called after
throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
Mar 15 09:45:06  phosphor-hwmon-readd[1137]:   what():  filesystem error:
recursive directory iterator cannot open directory: No such file or
directory [/ahb/a
pb/i2c@1e78a000/i2c-bus@1c0/tmp421@4f]
Mar 15 09:45:07  systemd[1]:
[[0;1;39m[[0;1;31m[[0;1;39mxyz.openbmc_project.Hwmon@
-ahb-apb-i2c@1e78a000-i2c\x2dbus@1c0-tmp421@4f.service: Main process exited,
code=killed, status=6/ABRT[[0m
Mar 15 09:45:07  systemd[1]:
[[0;1;39m[[0;1;31m[[0;1;39mxyz.openbmc_project.Hwmon@
-ahb-apb-i2c@1e78a000-i2c\x2dbus@1c0-tmp421@4f.service: Failed with result
's
ignal'.[[0m
Mar 15 09:45:08  systemd[1]: xyz.openbmc_project.Hwmon@
-ahb-apb-i2c@1e78a000-i2c\x2dbus@1c0-tmp421@4f.service: Service
RestartSec=1s expired, scheduling restar
t.
Mar 15 09:45:08  systemd[1]: xyz.openbmc_project.Hwmon@
-ahb-apb-i2c@1e78a000-i2c\x2dbus@1c0-tmp421@4f.service: Scheduled restart
job, restart counter is at 2.
Mar 15 09:45:10  systemd[1]: Stopped Phosphor Hwmon Poller.

We confirmed it's caused by the latest commit of phosphor-hwmon repository

commit 9e997b4da98725401769ef82fe26e11c46a059d9
Author: Patrick Venture <venture@google.com>
Date:   Fri Mar 8 13:42:10 2019 -0800

    use filesystem instead of experimental

    Use filesystem now that it should be available instead of
    experimental::filesystem.

    Change-Id: I62838b343ce34f85a47661f1eaaff3c7e6338bbf
    Signed-off-by: Patrick Venture <venture@google.com>

it would work if we reverted that commit.

# ps | grep readd
    2 root         0 SW   [kthreadd]
 1106 root      7668 S    phosphor-hwmon-readd -o /ahb/apb/i2c@1e78a000
/i2c-bus@1c0/tmp421@4f

Can anyone give the suggestion?

Thanks.

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

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

* Re: Phosphor Hwmon not work
  2019-03-19  3:02 Phosphor Hwmon not work Henbin Chang
@ 2019-03-19  3:06 ` Lei YU
  2019-03-19  8:23   ` Henbin Chang
  0 siblings, 1 reply; 3+ messages in thread
From: Lei YU @ 2019-03-19  3:06 UTC (permalink / raw)
  To: Henbin Chang; +Cc: OpenBMC Maillist

> Can anyone give the suggestion?

The same issue as https://github.com/openbmc/openbmc/issues/3499 and it
already has a fix.

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

* Re: Phosphor Hwmon not work
  2019-03-19  3:06 ` Lei YU
@ 2019-03-19  8:23   ` Henbin Chang
  0 siblings, 0 replies; 3+ messages in thread
From: Henbin Chang @ 2019-03-19  8:23 UTC (permalink / raw)
  To: Lei YU; +Cc: OpenBMC Maillist

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

Got it, thanks for your help.

Lei YU <mine260309@gmail.com> 於 2019年3月19日 週二 上午11:06寫道:

> > Can anyone give the suggestion?
>
> The same issue as https://github.com/openbmc/openbmc/issues/3499 and it
> already has a fix.
>

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

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

end of thread, other threads:[~2019-03-19  8:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-19  3:02 Phosphor Hwmon not work Henbin Chang
2019-03-19  3:06 ` Lei YU
2019-03-19  8:23   ` Henbin Chang

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.