elementary / os

The OS build system
https://elementary.io
GNU General Public License v3.0
987 stars 130 forks source link

[odin-beta] Boot "error: Unexpectedly disconnected from boot status daemon" #482

Open GlasierXplor opened 3 years ago

GlasierXplor commented 3 years ago

Description of Problem:

There seems to be 2 errors on the boot splash screen.

The error: Unexpectedly disconnected from boot status daemon appears on both on the live CD, and the finished installation; The Failed to start Show Plymouth Boot Screen only appears in a completed installation.

plymouth cannot be found in journalctl -xe nor dmesg /var/log/boot.log does not exist, and thus I cannot see what happened on boot.

Screenshot of boot screen Screenshot from 2021-05-09 22-02-13

Screenshot of systemctl status plymouth-start Screenshot from 2021-05-09 22-10-26

Expected behaviour:

The elementaryOS boot splash screen should be displayed on screen, then "boot normally" /var/log/boot.log should also exist (correct me if I am wrong)

What I tried

Some searching around suggests that it is a kernel incompatibility (for some reason). As such I downgraded the kernel from 5.8.0-50-generic to 5.8.0-49-generic. The errors stopped appearing, but the splash screen is still not showing (might be a separate issue altogether).

Platform:

MrPotatoBobx commented 3 years ago

Does this also occur on Ubuntu?

GlasierXplor commented 3 years ago

My Ubuntu laptop is also on the same kernel (5.8.0-50). I do not see this issue on my laptop.

arch-user-france1 commented 2 years ago

It happened to me after a bit much trying of plymouth using sudo plymouthd; sudo plymouth --show-splash ; for ((I=0; I<10; I++)); do sudo plymouth --update=test$I --debug ; sleep 1; done; sudo plymouth quit.

I changed a configuration file of the default plymouth and now it's broken. Reverted changes and still happening, reboot does nothing.

Plymouth start service is suprisingly running

arch-user-france1 commented 2 years ago

There is no pid-file for whatever reason

Restarting plymouth broke it: error: unexpectedly disconnected from boot status daemon

× plymouth-start.service - Show Plymouth Boot Screen
     Loaded: loaded (/usr/lib/systemd/system/plymouth-start.service; static)
     Active: failed (Result: core-dump) since Sat 2022-04-23 12:11:17 CEST; 12s ago
    Process: 10129 ExecStart=/usr/bin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session (code=exited, status=0/SUCCESS)
    Process: 10131 ExecStartPost=/usr/bin/plymouth show-splash (code=exited, status=2)
   Main PID: 10130 (code=dumped, signal=SEGV)
        CPU: 24ms

Apr 23 12:11:17 macmanjaro systemd[1]: Starting Show Plymouth Boot Screen...
Apr 23 12:11:17 macmanjaro plymouth[10131]: error: unexpectedly disconnected from boot status daemon
Apr 23 12:11:17 macmanjaro systemd[1]: plymouth-start.service: Main process exited, code=dumped, status=11/SEGV
Apr 23 12:11:17 macmanjaro systemd[1]: plymouth-start.service: Failed with result 'core-dump'.
Apr 23 12:11:17 macmanjaro systemd[1]: Failed to start Show Plymouth Boot Screen.
arch-user-france1 commented 2 years ago

https://ubuntuforums.org/showthread.php?t=1667519

A person (scamming person) had this on ubuntu

arch-user-france1 commented 2 years ago

00:14:33.476 main.c:2287:main : plymouthd is already running

This is the problem. Plymouth got quitted (forcefully?) but did not clean up. Does anyone have an idea how to fix that?

Oh: It looks like that's not the problem. I killed plymothd and now it's starting but following happens:

Sorry didn't copy the very first line

00:16:16.863 main.c:1973:initialize_environment                            : checking if '/dev/tty1' exists
00:16:16.863 main.c:1834:check_verbosity                                   : checking if tracing should be enabled
00:16:16.863 ply-utils.c:910:ply_get_kernel_command_line                   : opening /proc/cmdline
00:16:16.863 ply-utils.c:918:ply_get_kernel_command_line                   : reading kernel command line
00:16:16.863 ply-utils.c:937:ply_get_kernel_command_line                   : Kernel command line is: 'BOOT_IMAGE=/boot/vmlinuz-5.15-x86_64 root=UUID=6abc360e-ab44-44a1-9e4b-6926bb12821e rw quiet splash apparmor=1 security=apparmor resume=UUID=37cbdb1c-6661-4c46-ab53-57192651e803 udev.log_priority=3
'
00:16:16.863 main.c:1883:check_verbosity                                   : tracing shouldn't be enabled!
00:16:16.863 main.c:1907:check_logging                                     : checking if console messages should be redirected and logged
00:16:16.863 main.c:1916:check_logging                                     : logging will be enabled!
00:16:16.863 main.c:1986:initialize_environment                            : source built on Feb 12 2022
00:16:16.863 main.c:1996:initialize_environment                            : Making sure /run/plymouth exists
00:16:16.863 ply-utils.c:596:ply_create_directory                          : directory '/run/plymouth' already exists
00:16:16.863 main.c:2000:initialize_environment                            : initialized minimal work environment
00:16:16.863 main.c:700:get_cache_file_for_mode                            : returning cache file '/var/lib/plymouth//boot-duration'
00:16:16.863 main.c:303:load_settings                                      : Trying to load /etc/plymouth//plymouthd.conf
00:16:16.863 ply-key-file.c:175:ply_key_file_load_group                    : trying to load group Daemon
00:16:16.863 ply-key-file.c:262:ply_key_file_load_groups                   : key file has no more groups
00:16:16.864 ply-key-file.c:359:ply_key_file_get_raw_value                 : key file does not have entry for key 'ThemeDir'
00:16:16.864 main.c:285:get_theme_path                                     : Theme /run/plymouth/themes//GlaDOS/GlaDOS.plymouth not found
00:16:16.864 main.c:282:get_theme_path                                     : Theme is /usr/share/plymouth/themes//GlaDOS/GlaDOS.plymouth
00:16:16.864 main.c:321:load_settings                                      : Splash delay is set to 0.000000
00:16:16.864 main.c:326:load_settings                                      : Device timeout is set to 8.000000
00:16:16.864 ply-key-file.c:359:ply_key_file_get_raw_value                 : key file does not have entry for key 'DeviceScale'
00:16:16.864 main.c:419:find_system_default_splash                         : System configured theme file is '/usr/share/plymouth/themes//GlaDOS/GlaDOS.plymouth'
00:16:16.864 main.c:303:load_settings                                      : Trying to load /run/plymouth/plymouthd.defaults
00:16:16.864 ply-key-file.c:84:ply_key_file_open_file                      : Failed to open key file /run/plymouth/plymouthd.defaults: Datei oder Verzeichnis nicht gefunden
00:16:16.866 main.c:429:find_distribution_default_splash                   : failed to load /run/plymouth/plymouthd.defaults, trying /usr/share/plymouth//
00:16:16.866 main.c:303:load_settings                                      : Trying to load /usr/share/plymouth//plymouthd.defaults
00:16:16.867 ply-key-file.c:175:ply_key_file_load_group                    : trying to load group Daemon
00:16:16.867 ply-key-file.c:262:ply_key_file_load_groups                   : key file has no more groups
00:16:16.867 ply-key-file.c:359:ply_key_file_get_raw_value                 : key file does not have entry for key 'ThemeDir'
00:16:16.867 main.c:285:get_theme_path                                     : Theme /run/plymouth/themes//spinner/spinner.plymouth not found
00:16:16.867 main.c:282:get_theme_path                                     : Theme is /usr/share/plymouth/themes//spinner/spinner.plymouth
00:16:16.867 ply-key-file.c:359:ply_key_file_get_raw_value                 : key file does not have entry for key 'DeviceScale'
00:16:16.867 main.c:437:find_distribution_default_splash                   : Distribution default theme file is '/usr/share/plymouth/themes//spinner/spinner.plymouth'
00:16:16.867 main.c:873:plymouth_should_show_default_splash                : checking if plymouth should show default splash
00:16:16.867 main.c:901:plymouth_should_show_default_splash                : using default splash because kernel command line has option "splash"
00:16:16.867 ply-key-file.c:175:ply_key_file_load_group                    : trying to load group NONE
00:16:16.867 ply-terminal.c:172:ply_terminal_new                           : terminal /dev/tty1 keymap: sg
00:16:16.867 ply-device-manager.c:934:create_devices_from_terminals        : checking for consoles
00:16:16.867 ply-device-manager.c:712:add_consoles_from_file               : opening /sys/class/tty/console/active
00:16:16.867 ply-device-manager.c:720:add_consoles_from_file               : reading file
00:16:16.867 ply-device-manager.c:758:add_consoles_from_file               : console /dev/tty1 found!
00:16:16.867 ply-device-manager.c:1034:ply_device_manager_watch_devices    : udev support disabled, creating fallback devices
00:16:16.867 ply-device-manager.c:846:create_devices_for_terminal_and_rende: creating devices for  (renderer type: 0) (terminal: /dev/tty1)
00:16:16.867 ply-renderer.c:236:ply_renderer_open_plugin                   : trying to open renderer plugin /usr/lib/plymouth/renderers/x11.so
00:16:16.867 ply-utils.c:536:ply_open_module                               : Could not load module "/usr/lib/plymouth/renderers/x11.so": /usr/lib/plymouth/renderers/x11.so: Kann die Shared-Object-Datei nicht öffnen: Datei oder Verzeichnis nicht gefunden
00:16:16.867 ply-renderer.c:236:ply_renderer_open_plugin                   : trying to open renderer plugin /usr/lib/plymouth/renderers/drm.so
00:16:16.868 plugin.c:876:create_backend                                   : creating renderer backend for device /dev/dri/card0
00:16:16.868 plugin.c:956:load_driver                                      : Opening '/dev/dri/card0'
00:16:16.868 ply-terminal.c:637:ply_terminal_open                          : trying to open terminal '/dev/tty1'
00:16:16.868 ply-terminal.c:430:ply_terminal_refresh_geometry              : looking up terminal text geometry
00:16:16.868 ply-terminal.c:442:ply_terminal_refresh_geometry              : terminal is now 80x25 text cells
00:16:16.868 ply-terminal.c:480:get_active_vt                              : Remembering that initial vt is 2
00:16:16.868 plugin.c:1377:create_heads_for_active_connectors              : (Re)enumerating all outputs
00:16:16.868 plugin.c:1057:output_get_controller_info                      : Found already lit monitor on connector 64 using controller 45
00:16:16.868 plugin.c:1066:output_get_controller_info                      : connector 64 encoder 63 possible controllers 0x00000003/0x00000003
00:16:16.868 plugin.c:535:ply_renderer_connector_get_rotation_and_tiled    : link-status 0
00:16:16.868 plugin.c:1127:get_preferred_mode                              : Found preferred mode 1366x768 at index 0
00:16:16.868 plugin.c:1446:create_heads_for_active_connectors              : Using controller 45 for connector 64
00:16:16.868 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 61
00:16:16.868 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 71
00:16:16.869 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 78
00:16:16.869 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 83
00:16:16.869 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 87
00:16:16.869 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 91
00:16:16.869 plugin.c:1446:create_heads_for_active_connectors              : Using controller 0 for connector 95
00:16:16.869 plugin.c:576:ply_renderer_head_add_connector                  : Adding connector with id 64 to 1366x768 head
00:16:16.869 plugin.c:624:ply_renderer_head_new                            : Creating 1366x768 renderer head
00:16:16.878 plugin.c:1488:create_heads_for_active_connectors              : outputs changed

00:16:16.878 plugin.c:246:ply_renderer_buffer_new                          : returning 1x1 buffer with stride 64
00:16:16.878 ply-renderer.c:256:ply_renderer_open_plugin                   : opened renderer plugin /usr/lib/plymouth/renderers/drm.so
00:16:16.878 main.c:994:on_keyboard_added                                  : listening for keystrokes
00:16:16.878 main.c:998:on_keyboard_added                                  : listening for escape
00:16:16.878 main.c:1002:on_keyboard_added                                 : listening for backspace
00:16:16.878 main.c:1006:on_keyboard_added                                 : listening for enter
00:16:16.879 ply-device-manager.c:783:create_pixel_displays_for_renderer   : Adding displays for 1 heads
00:16:16.879 ply-terminal.c:430:ply_terminal_refresh_geometry              : looking up terminal text geometry
00:16:16.879 ply-terminal.c:442:ply_terminal_refresh_geometry              : terminal is now 80x25 text cells
00:16:16.879 ply-device-manager.c:819:create_text_displays_for_terminal    : adding text display for terminal /dev/tty1
00:16:16.879 main.c:2348:main                                              : entering event loop
cat /etc/plymouth//plymouthd.conf                                              ✔  base  
# Distribution defaults. Changes to this file will get overwritten during
# upgrades.
[Daemon]
Theme=GlaDOS
ShowDelay=0
DeviceTimeout=8

This might be it Could not load module "/usr/lib/plymouth/renderers/x11.so": /usr/lib/plymouth/renderers/x11.so:

arch-user-france1 commented 2 years ago

It somehow works again, no clue why. The theme got reset (because I did pacman -R plymouth)?

arch-user-france1 commented 2 years ago

It seems to be a theme related issue. Doesn't work with my theme anymore.