New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xyz.openbmc_project.State.Host@0.service: Two services allocated for the same bus name #3969
Comments
Sounds like you may have both x86-power-control and phosphor-state-manager (-host) in your image? If you want to use x86-power-control then you add something like this to your machine conf:
Of if you don't need any of the phosphor-state-manager packages you can completely remove it. |
Yes, I added the specified lines to the configuration file(/meta-supermicro/conf/machine/include/supermicro.inc): since we use x86-power-control service, we don't need below three servicesVIRTUAL-RUNTIME_obmc-host-state-manager = "x86-power-control" PREFERRED_PROVIDER_virtual/obmc-chassis-mgmt = "packagegroup-supermicro-apps" And it works! But: Dec 01 12:57:54 x11spi systemd[1]: xyz.openbmc_project.Chassis.Control.Power@0.service: Scheduled restart job, restart counter is at 2. root@x11spi:~# systemctl status phosphor-ipmi-kcs@ipmi-kcs3.service Dec 01 12:57:55 x11spi systemd[1]: phosphor-ipmi-kcs@ipmi-kcs3.service: Scheduled restart job, restart counter is at 2. root@x11spi:~# bmcutil status I'm thinking of building an old version of the x11 spi revision: commit dac14296f909ccc6b8fa8b2588c3b2629e22e0d6 I will be glad of any advice on how to assemble and on what. |
Note on Bugs
Revision commit 6838acd
static.mtd image built for x11spi hardware
Boot process freezes with following messages:
Welcome to Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.15.0-dev!
[ 4.371518] systemd[1]: Hostname set to .
[ 4.415243] systemd[1]: Initializing machine ID from random generator.
[ 4.680825] systemd[1]: Using hardware watchdog 'aspeed_wdt', version 0, device /dev/watchdog0
[ 4.682584] systemd[1]: Watchdog running with a timeout of 2min.
[ 4.683633] systemd[1]: Watchdog: reading from /sys/dev/char/247:0/pretimeout_governor
[ 4.685127] systemd[1]: Watchdog: failed to read pretimeout governor: No such file or directory
[ 4.685911] systemd[1]: Watchdog: setting pretimeout_governor to 'panic' via '/sys/dev/char/247:0/pretimeout_governor'
[ 4.687274] systemd[1]: Failed to set pretimeout_governor to 'panic': No such file or directory
[ 4.687930] systemd[1]: Failed to set watchdog pretimeout governor to 'panic', ignoring: No such file or directory
[ 6.602932] systemd[1]: Failed to put bus name to hashmap: File exists
[ 6.603805] systemd[1]: xyz.openbmc_project.State.Host@0.service: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation.
[ 8.822291] systemd[1]: /usr/lib/systemd/system/phosphor-ipmi-net@.socket:6: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device
[ 8.980274] systemd[1]: Failed to isolate default target: Unit xyz.openbmc_project.State.Host@0.service failed to load properly, please adjust/correct and reload service manager: File exists
[!!!!!!] Failed to isolate default target.
[ 9.138925] systemd[1]: Freezing execution.
Unexpected behavior you saw
OS is freeze.
Expected behavior
Boot success till login
To Reproduce
Steps to reproduce the behavior:
See error
Welcome to Phosphor OpenBMC (Phosphor OpenBMC Project Reference Distro) 2.15.0-dev!
[ 4.371518] systemd[1]: Hostname set to .
[ 4.415243] systemd[1]: Initializing machine ID from random generator.
[ 4.680825] systemd[1]: Using hardware watchdog 'aspeed_wdt', version 0, device /dev/watchdog0
[ 4.682584] systemd[1]: Watchdog running with a timeout of 2min.
[ 4.683633] systemd[1]: Watchdog: reading from /sys/dev/char/247:0/pretimeout_governor
[ 4.685127] systemd[1]: Watchdog: failed to read pretimeout governor: No such file or directory
[ 4.685911] systemd[1]: Watchdog: setting pretimeout_governor to 'panic' via '/sys/dev/char/247:0/pretimeout_governor'
[ 4.687274] systemd[1]: Failed to set pretimeout_governor to 'panic': No such file or directory
[ 4.687930] systemd[1]: Failed to set watchdog pretimeout governor to 'panic', ignoring: No such file or directory
[ 6.602932] systemd[1]: Failed to put bus name to hashmap: File exists
[ 6.603805] systemd[1]: xyz.openbmc_project.State.Host@0.service: Two services allocated for the same bus name xyz.openbmc_project.State.Host0, refusing operation.
[ 8.822291] systemd[1]: /usr/lib/systemd/system/phosphor-ipmi-net@.socket:6: Invalid interface name, ignoring: sys-subsystem-net-devices-%i.device
[ 8.980274] systemd[1]: Failed to isolate default target: Unit xyz.openbmc_project.State.Host@0.service failed to load properly, please adjust/correct and reload service manager: File exists
[!!!!!!] Failed to isolate default target.
[ 9.138925] systemd[1]: Freezing execution.
OpenBMC Information:
Revision 6838acd master branch
Additional context
QEMU emulator version 8.1.2
Probably this issue related to phosphor-state-manager changes on Apr 22, 2022
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: