For those running kernel 5.4 (and sometimes others) getting no relief from systemd boot fails

Hi all,

I spent the better part of these past two weeks trying to recover my system (or more specifically, kernels 4.19 and 5.4) that were no longer booting into the DE. Without a more plausible explanation, it was looking like AUR broke fakeroot, which somehow broke them… Anyway…
In these forums, I found lots of advice, from editing the grub file to force legacy cgroup1 support, enabling different compression formats in mkinitcpio, to video driver reinstallation–all of which, it turns out, didn’t solve my problem.
I then found a thread on GitHub that did:

It seems that systemd updating from version 255.7-1 to 256 broke support for kernels 5.4 and, more rarely, 6.1.0 (on Arch Linux). By following the instructions to downgrade systemd, I have salvaged my school computer, where formatting and reinstalling Linux could not.
The only reason I found this was a search based on the one warning at image-making time that was different in 5.4 compared to other kernels, relating to missing DRM in platform/drivers. Seeing how obscure and painstaking it was for me to find, I thought I’d sign up and share.

Good luck :crossed_fingers:

1 Like

Hi @Ktastrophe and welcome to the Manjaro community.

Thanks for your comments. I have moved this thread to the Feedback category, which seems more appropriate.


As a new user, please take some time to familiarise yourself with Forum requirements; in particular, the many ways to use the forum to your benefit. To that end, some or all these links will be invaluable:

Last, but not least, the Stable Update Announcements, which you should check frequently for important update related information.

Cheers.

1 Like

Just checked up on the progress of this, since a lot of the chatter on GitHub seems to indicate it’s a case closed…
As of systemd v.256.5-1, my system is still failing to boot on kernel 5.4. I had to forcibly downgrade systemd again.
Thought someone should know!

Has it not crossed your mind that updating your kernel might be a valid workaround for you?

Perhaps either of the current LTS kernels – 6.6.x – 6.1.x – might produce favourable results.

1 Like

It is closed in systemd 256.6 which was released two days ago. That version is only available in Manjaro unstable branch at the moment.

process-util: handle pidfd_spawn() returning E2BIG by kkourt · Pull Request #34005 · systemd/systemd · GitHub

Originally, this issue was reported in #1077204 - systemd fails to boot on a 5.4 kernel - Debian Bug report logs.

Fixes #33613

Systemd v256.1 is now available from Unstable and Testing branches

Branch compare for Manjaro - systemd