Article ID: 112830, created on Nov 16, 2011, last review on Oct 25, 2014

  • Applies to:
  • Virtuozzo
  • Virtuozzo containers for Linux
  • Virtuozzo hypervisor

Symptoms

Linux host computer is extremely slow at shutting down or may even get stuck on rebooting.

Reboot may get stuck with a following symptom - there would be stuck plymouthd --attach-to-session process

[root@virt13 ~]# ps aux | grep plymouth
root       213  0.0  0.0  21476  1044 ?        S    Aug20   0:00 /bin/plymouthd --attach-to-session
root     40965  0.0  0.0  15156   604 ?        S    Aug20   0:00 /bin/plymouth --update=pvaagentd
[root@virt13 ~]#

Cause

This may happen when the Linux operating system has the Plymouth bootsplash and one of the kernel boot options (for example, console=ttyS3,115200) adds a serial port as console, but this port is closed - console is not connected. Such an option may remain after remote debugging over a serial port. Every time you shut down or restart the host computer, Plymouth is trying to open this port and it may take a considerable amount of time, or even hang forever.

Resolution

There are two ways to deal with this situation:

  1. Disable Plymouthd in a grub configuration file

    Add ro_NO_PLYMOUTH option to the kernel line in /etc/grub.conf:

    Before:

    title Parallels (2.6.32-042stab093.5)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-042stab093.5 ro root=UUID=3a6bb7fc-696f-4b4b-a4ab-c126103a650b rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            initrd /boot/initramfs-2.6.32-042stab093.5.img
    

    After:

    title Parallels (2.6.32-042stab093.5)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-042stab093.5 ro root=UUID=3a6bb7fc-696f-4b4b-a4ab-c126103a650b rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto rd_NO_PLYMOUTH SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            initrd /boot/initramfs-2.6.32-042stab093.5.img
    
  2. Remove console setting from the grub configuration file

    Modify the /boot/grub/grub.conf file by removing the above mentioned option (console=ttyS3,115200) like in the example below:

    Before:

    title Parallels (2.6.32-042stab093.5)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-042stab093.5 ro root=UUID=3a6bb7fc-696f-4b4b-a4ab-c126103a650b rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto  console=ttyS3,115200 SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            initrd /boot/initramfs-2.6.32-042stab093.5.img
    

    After:

    title Parallels (2.6.32-042stab093.5)
            root (hd0,0)
            kernel /boot/vmlinuz-2.6.32-042stab093.5 ro root=UUID=3a6bb7fc-696f-4b4b-a4ab-c126103a650b rd_NO_LUKS  KEYBOARDTYPE=pc KEYTABLE=us LANG=en_US.UTF-8 psbm rd_NO_MD pram_low=128M crashkernel=auto SYSFONT=latarcyrheb-sun16 rd_NO_LVM rd_NO_DM rhgb quiet
            initrd /boot/initramfs-2.6.32-042stab093.5.img
    

Search Words

plymouth

a26b38f94253cdfbf1028d72cf3a498b 2897d76d56d2010f4e3a28f864d69223 e8e50b42231236b82df27684e7ec0beb d02f9caf3e11b191a38179103495106f 0dd5b9380c7d4884d77587f3eb0fa8ef

Email subscription for changes to this article
Save as PDF