Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#70264 - [systemd] 248-1 breaks systemd-boot

Attached to Project: Arch Linux
Opened by Kai (b4lt1c3r) - Friday, 02 April 2021, 16:38 GMT
Last edited by Christian Hesse (eworm) - Wednesday, 29 December 2021, 22:31 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No



My DELL Precision 7540 with LVM on LUKS do not boot anymore after upgrading to systemd 248-1. Also the current version of the ArchLinux CD does not work. It just try to boot and the screen turns black, reset and start over again. I had to boot with a Fedora Live CD to make a downgrade.

Maybe related:

This task depends upon

Closed by  Christian Hesse (eworm)
Wednesday, 29 December 2021, 22:31 GMT
Reason for closing:  Fixed
Additional comments about closing:  systemd 250-2
Comment by Albert Ferrero (aferrero) - Saturday, 03 April 2021, 03:08 GMT
I'm having the same issue described in the forum post ever since upgrading to systemd 248-1.

On my Dell Precision 5530 I'm using systemd-boot and I have menu options to boot different kernels. The menu does not work with the laptop's internal keyboard anymore. If I press the arrow keys I get weird characters that appear on the screen, the type that you see when a unicode character doesn't render correctly (the box with the unicode number in it) and the selection doesn't change. If I press Enter the system will refuse to boot and error with a message similar to "failed loading (null)". I can press the number keys, 1, 2, 3, to select the different menu options, but pressing Enter always gives me an error. The system will boot correctly otherwise, I have a default menu option with a timer and when the countdown hits zero it boots correctly. It seems like something's wrong with systemd-boot and the internal keyboard.

I did try plugging in a USB keyboard to the laptop and that works correctly. So the issue only seems to happen with the internal keyboard.

Also, I have a Dell Insprion 3195, also running systemd-boot on version 248-1 with multiple entries and the internal keyboard works correctly on that one. So whatever the issue is, it does not appear to be happening with all computers.
Comment by Albert Ferrero (aferrero) - Saturday, 03 April 2021, 03:43 GMT
An update on my comment above. The characters I see on the screen aren't the unicode number, but two sets of question marks in a box with inverting colors. Downgrading systemd (248-1 -> 247.4-2) corrects the issue only if I do "bootctl remove" and "bootctl install" as noted in the forum post.
Comment by nl6720 (nl6720) - Saturday, 03 April 2021, 07:34 GMT
archlinux-2021.04.01-x86_64.iso uses systemd 247.4-2, so the ISO not booting is unrelated to this issue.
Comment by Carlo Teubner (carlo) - Saturday, 03 April 2021, 08:56 GMT
I'm experiencing similar symptoms. I notice upstream issue has now appeared, and I have added my experience report there.
Comment by Kai (b4lt1c3r) - Saturday, 03 April 2021, 15:38 GMT

i fact of the hint of nl6720 i completely reset the laptop today (including the bios) and reconfigured it. I could boot from the install CD and made a fresh install of Arch Linux. I don't figured out what exactly cause the problem, but it is solved for now

Comment by Asger Hautop Drewsen (tyilo) - Tuesday, 13 April 2021, 08:47 GMT Comment by Ernesto Castellotti (ernytech) - Wednesday, 14 April 2021, 21:19 GMT
This workaround seems to work, it might help before an official fix is ​​released:
Comment by Christian Hesse (eworm) - Friday, 16 April 2021, 10:36 GMT
Added the workaround in systemd 248-5.
But let's keep this open for a real fix...
Comment by 謝致邦 (Red54) - Thursday, 03 June 2021, 01:44 GMT
I found that this is a problem with GCC 10. When I use GCC 11 to compile systemd v248, everything is ok.
Comment by Ernesto Castellotti (ernytech) - Sunday, 06 June 2021, 15:43 GMT Comment by Jan (medhefgo) - Friday, 24 December 2021, 10:40 GMT
systemd-boot 250 had some extensive changes to input handling that should fix this. This patch should not be needed in v250 anymore: "0003-PARTIAL-REVERT-commit-tree-wide-replace-strverscmp-and-str_verscmp-with-strverscmp_improved.patch".

Also, please open a new upstream issue in case v250 does not work for you.
Comment by Christian Hesse (eworm) - Saturday, 25 December 2021, 20:33 GMT
Dropped the patch in svn, will be in systemd >= 250-2.
Comment by Christian Hesse (eworm) - Monday, 27 December 2021, 10:57 GMT
Anybody suffering this please test systemd 250-2...