Skip to content
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

Boot / Shutdown splash screen not displayed with linux-kernel-latest v4.16.2-1 #3849

Closed
jharveyb opened this issue Apr 23, 2018 · 21 comments
Closed
Labels
C: doc C: kernel r3.2-dom0-cur-test r4.0-dom0-stable r4.1-dom0-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@jharveyb
Copy link

jharveyb commented Apr 23, 2018

Qubes OS version:

4.0 testing

Affected component(s):

Plymouth


Steps to reproduce the behavior:

Install linux-kernel-latest v4.16.2-1 from testing
Shutdown and boot with kernel 4.16.2-1
Shutdown after boot

Expected behavior:

Plymouth loads after selecting kernel, showing Qubes logo with disk password prompt and progress bar below. On shutdown Qubes logo is displayed with progress bar below.

Actual behavior:

Plymouth does not load during either boot or shutdown so disk password prompt is shown in text mode, followed by kernel messages that are normally shown after pressing Home / Escape from Plymouth splash screen.

General notes:

Was running linux-kernel-latest v4.15.6-1 before this and Plymouth behaved as expected, could switch to view kernel messages per boot without issue for subsequent boots or shutdowns. After installing linux-kernel-latest v4.16.2-1, booting linux-kernel-latest v4.15.6-1 still presents the Plymouth splash screen correctly.


Related issues:

QubesOS/updates-status#483

@andrewdavidwong andrewdavidwong added T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. C: kernel labels Apr 24, 2018
@andrewdavidwong andrewdavidwong added this to the Release 4.0 updates milestone Apr 24, 2018
@jharveyb
Copy link
Author

The same issue is present with QubesOS/updates-status#542

rebuilding the initramfs using sudo plymouth-set-default-theme qubes-dark -R does not change the behavior.

However, the tribar theme does work on boot, even though the system still defaults to text mode (have to explicitly switch back to graphical mode to display the tribar). The same behavior is seen on shutdown, though there is no tribar and just a empty screen with black background.

@strugee
Copy link
Contributor

strugee commented Nov 29, 2018

I can reproduce this problem on kernel-latest 4.19.2-3. Let me know if there's any debugging information I can provide.

@opposablebrain
Copy link

+1

@marmarek
Copy link
Member

Similar issue in Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572
I don't think it's exactly the same (holding backspace does not bring proper luks prompt), but it may be related.

@fepitre
Copy link
Member

fepitre commented Mar 9, 2019

I tested to revert the commit referenced in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897572 (fepitre/qubes-linux-kernel@0abdd79) but it had not effect. Also, newer version of plymouth does not have any effect as I encounter the same problem in testing dom0 under fc29 for R4.1.

@fepitre
Copy link
Member

fepitre commented Mar 9, 2019

I also found in plymouth debug that in kernel above 4.14, it detects now hvc0 as console : kernel-4.14 log https://gist.github.com/fepitre/2e19f000393dcb7e12ca8f3d55db0aa4#file-plymouth-debug-kernel-4-14-L35, kernel-4.19 log https://gist.github.com/fepitre/33edf64428b6c5b986a8c7486eb3eed7#file-plymouth-debug-kernel-4-19-L34.

@marmarek
Copy link
Member

marmarek commented Mar 9, 2019

In 4.19 log:

serial consoles detected, managing them with details forced

in old log:

creating objects for drm devices

This looks like a good lead. I'd look for some option to disable serial consoles in plymouth. Is there anything in some config file? Or maybe on kernel command line?

fepitre added a commit to fepitre/qubes-linux-kernel that referenced this issue Mar 9, 2019
@fepitre
Copy link
Member

fepitre commented Mar 10, 2019

@marmarek @andrewdavidwong : it has also a positive solution for me for installing 4.0.1. Indeed, as it ships kernel-4.19, I never reached the anaconda startup (first menu of selecting language). It was staying idle in black screen with blinking cursor. I just tested to add """plymouth.ignore-serial-consoles""" at the grub installer boot menu right after """quiet rhgb"""" and it solved the problem. I can now install 4.0.1. Maybe we should add this somewhere in the troubleshooting? This could be a same problem encountered by other users.

@andrewdavidwong
Copy link
Member

it has also a positive solution for me for installing 4.0.1. Indeed, as it ships kernel-4.19, I never reached the anaconda startup (first menu of selecting language). It was staying idle in black screen with blinking cursor. I just tested to add """plymouth.ignore-serial-consoles""" at the grub installer boot menu right after """quiet rhgb"""" and it solved the problem. I can now install 4.0.1. Maybe we should add this somewhere in the troubleshooting? This could be a same problem encountered by other users.

Sounds good. I could see it being added to either of these:

Mind submitting a PR?

@marmarek
Copy link
Member

Since this applies to installation image, it may be a reason to release new one. If this indeed solve some common issue. Can anyone else confirm this?
@fepitre I understand you mean legacy boot (since you have grub there). Have you tried UEFI too?
But still, adding it to documentation is a good idea anyway.

@fepitre
Copy link
Member

fepitre commented Mar 13, 2019

@marmarek, indeed it was with legacy boot. I did not retry with UEFI because I lack the time to do that currently. That would be great if anyone could confirm this too. In my case, it is not a problem with nouveau module because disabling it produced the same result: blinking cursor. Only the method described above solved the graphical boot.

@strugee
Copy link
Contributor

strugee commented Mar 13, 2019

I can confirm that this workaround works under UEFI.

fepitre added a commit to fepitre/qubes-vmm-xen that referenced this issue Mar 15, 2019
@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-latest-4.20.16-1.pvops.qubes has been pushed to the r4.0 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-latest-4.20.16-2.pvops.qubes has been pushed to the r3.2 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

marmarek pushed a commit to QubesOS/qubes-linux-kernel that referenced this issue Mar 19, 2019
It fixes splash screen issue QubesOS/qubes-issues#3849

(cherry picked from commit af67412)
@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-latest-5.0.2-1.pvops.qubes has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-latest-5.0.7-1.pvops.qubes has been pushed to the r4.0 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@tlaurion
Copy link
Contributor

tlaurion commented May 8, 2019

Heads on headless systems (servers outputting to console) consequently requires that kernel parameter to be removed as pointed in this issue

@marmarek
Copy link
Member

marmarek commented May 8, 2019

On the other hand, on laptop systems this option is needed, otherwise plymouth treats /dev/hvc0 (a console to Xen) as a serial console and disable graphical screen. Removing that option in a board config seems like a good compromise for me.

marmarek added a commit to marmarek/qubes-installer-qubes-os that referenced this issue Jun 25, 2019
to non-verbose boot options. This will avoid automatic plymouth switch
to "details" view - retaining nice graphical progress. And also will be
copied to the target system, with the same effect - nice graphical boot.

QubesOS/qubes-issues#3849
marmarek added a commit to marmarek/qubes-installer-qubes-os that referenced this issue Jun 25, 2019
marmarek added a commit to QubesOS/qubes-anaconda that referenced this issue Jun 26, 2019
This preserves graphical LUKS prompt, even when plymouth detects
/dev/hvc0 as a serial console.

QubesOS/qubes-issues#3849
@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-5.4.21-1.qubes has been pushed to the r4.1 testing repository for dom0.
To test this update, please install it with the following command:

sudo qubes-dom0-update --enablerepo=qubes-dom0-current-testing

Changes included in this update

@qubesos-bot
Copy link

Automated announcement from builder-github

The package kernel-5.4.38-1.qubes has been pushed to the r4.1 stable repository for dom0.
To install this update, please use the standard update command:

sudo qubes-dom0-update

Or update dom0 via Qubes Manager.

Changes included in this update

@tlaurion
Copy link
Contributor

tlaurion commented Jun 2, 2020

@marmarek

followed by kernel messages that are normally shown after pressing Home / Escape from Plymouth splash screen.

Those are still not present for me when pressing escape at boot:

May 27 21:55:03 dom0 systemd-journald[209]: Runtime journal (/run/log/journal/) is 8.0M, max 196.2M, 188.2M free.
May 27 21:55:03 dom0 kernel: Linux version 4.19.107-1.pvops.qubes.x86_64 (user@build-fedora4) (gcc version 6.4.1 20170727 (Red Hat 6.4.1-1) (GCC)) #1 SMP Sat Feb 29 16:04:42 UTC 2020
May 27 21:55:03 dom0 kernel: Command line: placeholder root=/dev/mapper/qubes_dom0-root ro rd.luks.uuid=luks-a35bb850-778b-46d7-9814-7a105669960e rd.luks.options=discard rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 plymouth.ignore-serial-consoles intel_iommu=igfx_off fromiso=/dev/disk/by-uuid/2f00bca5-dd3c-4a39-98f2-4e0ffeeae9f8/Qubes-R4.0.3-x86_64.iso iso-scan/filename=/Qubes-R4.0.3-x86_64.iso rhgb quiet rd.qubes.hide_all_usb intel_iommu=on intel_iommu=igfx_off 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: doc C: kernel r3.2-dom0-cur-test r4.0-dom0-stable r4.1-dom0-stable T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

8 participants