Phosphor Hwmon not work
Henbin Chang
henbinchang at gmail.com
Tue Mar 19 14:02:17 AEDT 2019
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 at 1e78a000/i2c-bus at 1c0/tmp421 at 4f]
Mar 15 09:45:07 systemd[1]:
[[0;1;39m[[0;1;31m[[0;1;39mxyz.openbmc_project.Hwmon@
-ahb-apb-i2c at 1e78a000-i2c\x2dbus at 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 at 1e78a000-i2c\x2dbus at 1c0-tmp421@4f.service: Failed with result
's
ignal'.[[0m
Mar 15 09:45:08 systemd[1]: xyz.openbmc_project.Hwmon@
-ahb-apb-i2c at 1e78a000-i2c\x2dbus at 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 at 1e78a000-i2c\x2dbus at 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 at 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 at 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 at 1e78a000
/i2c-bus at 1c0/tmp421 at 4f
Can anyone give the suggestion?
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20190319/c73d0f3f/attachment.htm>
More information about the openbmc
mailing list