You are not logged in.

#1 2019-07-17 11:09:58

Matt4242
Member
Registered: 2016-08-30
Posts: 15

[SOLVED] Incomplete boot after system upgrade

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

#2 2019-07-17 13:18:37

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#3 2019-07-17 14:02:07

Skunky
Member
Registered: 2018-01-25
Posts: 230

Re: [SOLVED] Incomplete boot after system upgrade

Have you tried regenerating initram with mkinitcpio from chroot?

Offline

#4 2019-07-17 14:15:46

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#5 2019-07-17 14:24:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,561

Re: [SOLVED] Incomplete boot after system upgrade

You've given us nothing to work with. No logs, no descriptions of exactly what you're seeing, nothing.

Offline

#6 2019-07-17 14:34:41

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#7 2019-07-17 17:34:28

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: [SOLVED] Incomplete boot after system upgrade

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

#8 2019-07-17 17:59:02

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Incomplete boot after system upgrade

Moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2019-07-17 22:34:51

seth
Member
Registered: 2012-09-03
Posts: 51,286

Offline

#10 2019-07-18 07:43:01

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#11 2019-07-18 08:32:47

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Incomplete boot after system upgrade

seth is saying that your system is hanging waiting for entropy. Haveged will generate a pool to prevent that happening.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2019-07-18 08:35:53

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#13 2019-07-18 08:42:43

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#14 2019-07-18 08:50:49

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] Incomplete boot after system upgrade

Please post the journal from that boot.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#15 2019-07-18 09:03:28

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

Here it is: http://ix.io/1ONM

Offline

#16 2019-07-18 09:58:57

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: [SOLVED] Incomplete boot after system upgrade

Does booting with the following kernel parameter have any effect?

i915.enable_psr = 0

Offline

#17 2019-07-18 10:07:21

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

#18 2019-07-18 10:11:19

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

Also, I'm eager to learn... what element in the logs I posted allowed you to find out this fix?

Offline

#19 2019-07-18 10:13:33

loqs
Member
Registered: 2014-03-06
Posts: 17,377

Re: [SOLVED] Incomplete boot after system upgrade

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

#20 2019-07-18 10:18:01

Matt4242
Member
Registered: 2016-08-30
Posts: 15

Re: [SOLVED] Incomplete boot after system upgrade

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

Board footer

Powered by FluxBB