From: Adam Williamson <awilliam@redhat.com>
To: linux-kernel@vger.kernel.org
Cc: jforbes@redhat.com, rstrode@redhat.com
Subject: Intermittent inability to type in graphical Plymouth on UEFI VMs since kernel 6.9
Date: Fri, 24 May 2024 09:08:26 -0700 [thread overview]
Message-ID: <75c17881-68e9-40e7-821c-5655d49d7c0f@redhat.com> (raw)
Hi, folks. Please CC me on replies, I'm not subscribed to the list. The
downstream bug report for this is
https://bugzilla.redhat.com/show_bug.cgi?id=2274770 .
I maintain Fedora's openQA instance - https://openqa.fedoraproject.org/
(openQA is an automated testing system which runs jobs on qemu VMs,
inputting keyboard and mouse events via VNC, and monitoring results via
screenshots and the serial console).
We have several tests that involve doing an install of Fedora with root
storage encrypted and then booting it. Some of these install enough
packages for us to hit the 'graphical' mode of plymouth (the bootsplash
manager thingy), so we see a graphical passphrase prompt like
https://openqa.fedoraproject.org/tests/2642868#step/_graphical_wait_login/3
; some are minimal installs, so we see a text prompt like
https://openqa.fedoraproject.org/tests/2642845#step/disk_guided_encrypted_postinstall/1
.
Recently I switched up our configuration so most of these tests run on
UEFI VMs (previously they mostly ran on BIOS VMs). When I did that, the
tests that hit the graphical prompt started failing frequently on Fedora
Rawhide. The tests that hit the text prompt do not seem to be affected.
At first I figured this was caused by a plymouth change, but some
testing indicates it's actually related to kernel version: it seems to
have been introduced in kernel 6.9. Fedora 40 uses kernel 6.8, so tests
on F40 are not usually affected by this, but I engineered some runs of
an affected test on an F40 install with kernel 6.9, and they hit the bug.
So to summarize, we hit the bug when all the following conditions are met:
* Running on UEFI qemu-kvm VM
* Graphical passphrase prompt encountered on boot
* Running kernel 6.9
When it sees the passphrase prompt, the test system types the correct
password. When the bug happens, this input seems to simply be ignored -
plymouth does not echo dots back to the screen representing the typed
characters, and on hitting enter the system does not attempt to proceed
with decryption. (Unfortunately this also means we don't get any logs
from the failure, as the test system needs a booted system to be able to
upload any logs).
Looking at results from the last month and a half, the bug happens on
about 30% of the tests run.
I have reproduced this manually in a similar VM, but did not yet manage
to reproduce it on hardware (which is unfortunate, as it'd make it
somewhat easier to attempt some kind of bisect).
The earliest build I can say for sure the bug happened with is
kernel-6.9.0-0.rc0.20240322git8e938e398669.14.fc41 .
--
Adam Williamson (he/him/his)
Fedora QA
Fedora Chat: @adamwill:fedora.im | Mastodon: @adamw@fosstodon.org
https://www.happyassassin.net
next reply other threads:[~2024-05-24 16:08 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-24 16:08 Adam Williamson [this message]
2024-05-27 15:18 ` Genes Lists
2024-05-27 16:33 ` Genes Lists
2024-05-29 13:01 ` Linux regression tracking (Thorsten Leemhuis)
2024-05-29 13:35 ` Genes Lists
2024-05-29 14:04 ` Linux regression tracking (Thorsten Leemhuis)
2024-05-29 18:17 ` Genes Lists
2024-05-29 18:45 ` Genes Lists
2024-05-29 15:09 ` Adam Williamson
2024-05-29 17:12 ` Linux regression tracking (Thorsten Leemhuis)
2024-05-29 20:42 ` Adam Williamson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=75c17881-68e9-40e7-821c-5655d49d7c0f@redhat.com \
--to=awilliam@redhat.com \
--cc=jforbes@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rstrode@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®