You are not logged in.
Hello,
I just upgraded (pacman -Syu) a system that had not been updated in about 4 months. Now the boot process doesn't finish - it hangs in the middle, but not always at the same place. I cannot switch to another console to get a login, but I can boot from a live USB and arch-chroot.
I tried downgrading systemd (as suggested here: https://www.reddit.com/r/archlinux/comm … r_update/) but either I did it wrong or this wasn't the right solution (resulted in a kernel panic at boot).
I've got no error and I'm not sure how to go from there.
Any help will be appreciated, thanks!
Matt
Last edited by Matt4242 (2019-07-18 10:19:01)
Offline
Still trying...
Some posts suggest to replace systemd by udev in mkinitcpio-hooks, but I've already got udev there.
Tried again to downgrade to systemd-241.93-1 from archive.archlinux.org but this leads to missing libraries.
Any idea folks? I really need to get my machine back ASAP... :-/
Offline
Have you tried regenerating initram with mkinitcpio from chroot?
Offline
Yes I did but it does not help. Also tried to install linux-lts to see if it works better than plain Linux, but booting fails every time.
Offline
You've given us nothing to work with. No logs, no descriptions of exactly what you're seeing, nothing.
Offline
System starts as usual, displays a couple of green [ OK ]'s and then stops there. Last OK can be "Started network service", or "Started Load/Save Screen Backlight Brightness of..." or a couple of others. Couple of targets are reached: Local FS, Paths, Timers, Basic System, Sound card, Network.
But then it just sits there in the middle of the boot process and does nothing. I cannot login on a VT nor do anything else.
I know this is not much information but I don't know where to look for more. And I've got only a smartphone as investigation device...
Where should I look to get more information about what's going wrong?
Offline
Do you have installation media you can boot from and chroot into the affected system?
If you do please post the contents of pacman.log from the update that triggered the issue onward and also the journalctl output for a single failing boot.
Offline
Moving to NC...
Offline
Offline
seth: I'm not sure what you mean with Haveged.
loqs: here is pacman log: http://ix.io/1ONl from the update that broke my system. As you'll see, I experimented with downgrading/re-upgrading some packages after that, but the system was broken already at 11:24.
Here the logs from a failing boot: http://ix.io/1ONj I can shut down my computer by pressing the power button, so these logs are from a complete poweron-poweroff cycle.
This information is overwhelming for me, I cannot really make sense of it. Does anyone see what's going wrong?
Thanks,
Matt
Offline
seth is saying that your system is hanging waiting for entropy. Haveged will generate a pool to prevent that happening.
Offline
Oh I see... so installing and enabling haveged is likely to solve the problem? I would never have thought of that, I must say...
Offline
Unfortunately it doesn't work. On boot the system displays "Starting Entropy Harvesting Daemon", so I suppose haveged is started, but the booting process still stops before reaching a login prompt.
Offline
Please post the journal from that boot.
Offline
Here it is: http://ix.io/1ONM
Offline
Does booting with the following kernel parameter have any effect?
i915.enable_psr = 0
Offline
It works!!!!! Many, many thanks! :-)
Should I add it permanently to the kernel parameters or is this just a workaround that I should remove when... well I don't know - when whatever is fixed?
Offline
Also, I'm eager to learn... what element in the logs I posted allowed you to find out this fix?
Offline
https://bugs.archlinux.org/task/63159
From the logs the system was booting and shutting down correctly and had an i915 display so I guessed it was this new issue that had appeared with linux 5.2.
Offline
I see. So I guess I'd better have a look at [this bug][https://bugs.archlinux.org/task/63159] to see how it goes.
Once again, many thanks, it would have taken me ages to find out (if I ever did)!
Offline