Skip to content

X doesn't start after upgrading to 5.8.2 (fixed after kernel downgrade)

EDIT: Guys, I am dumb. Recently I switched from grub to systemd-boot, and while initially everything worked even after reboots, I discovered I had no fstab entry for my ESP (thanks to this thread), which is weird since I remember following the installation instructions to the letter. However, I definitely remember mounting the ESP to /boot and installing/configuring systemd-boot there. Anyway, after fixing the fstab and rebooting, I upgraded and rebooted again, and this time everything works (while being fully up-to-date). I still don't know what the exact error was, but it was probably a matter of time for it to cause this. If anyone has any insight to this so I can hopefully not fk up my system the next time, I'd be grateful. Also thanks to everyone who took the time to respond.

/EDIT

The issue was solved after downgrading linux, linux-headers, and virtualbox-host-modules-arch to their last version.

I should note I'm using KDE and SDDM.

So, after upgrading today, the boot screen got stuck on the following message:

[ OK ] Reached target Graphical Interface

I could switch to TTY2 and login from there, so the system was working (except the fact that I had no internet). I searched in the wiki and forums for a solution; the wiki is a vast place so I couldn't find one quickly, and the solutions I was finding on the forums were either not applicable or didn't seem to be the culprit, because I had just upgraded the kernel. So I thought I should first downgrade, and as I said above, everything works.

Now I have these questions regarding my next steps:

  1. If I upgrade the system now, is there something I can do to troubleshoot (and maybe fix) the problem, without downgrading? Keeping in mind that I can always downgrade if all else fails.
  2. How will I know when it's safe to upgrade?

I'm sorry if these are stupid questions; while I'm not a linux newbie, I've only been using Arch as my daily drive for a few months with no problems, and as I said the wiki is a vast place, so I could use some guidance. Thanks in advance.

Edited 22 Aug 2020. We only hold this version.

56 points26 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
56 · 83% up
Kind
Text
ID
ieftiy

Author

7
posts
22
comments
5
media
View profile

26 comments

So, after upgrading today, the boot screen got stuck on the following message:

[ OK ] Reached target Graphical Interface

Usually that means Xorg has an error or for some reason the display manager couldn't load. To troubleshoot you can read Xorg and journalctl logs. You can also try the testing repos since there's a new kernel version there

8 points

Read my EDIT before responding, guys: I'm almost sure I caused the problem myself.

3 points

Haha I read that thread earlier

Personally I have an efistub script and create a uefi entry with that.

1 points

That's my next step. I wanted to give systemd-boot a try though because I've been hearing good things.

1 points

It’s not actually systemd-boot that’s yet another thing. Efistub is the kernel being loaded directly by the uefi. I like it because it’s very fast and I can directly boot into Linux without any detours over a bootloader

1 points

You may have been dealing with out of sync modules for your video card. After certain package upgrades, you need to re compile your video drivers. Some distros this is handled automatically and others you need to initiate the update.

By downgrading you just used the already working video drivers.

Next time this happens be sure to check the LOG files for whatever isn't working. If it was running 'systemd' you can start with

: systemctl --failed

And find which unit file has failed to run. Then check that program for a long file and see what the issue is.

1 points

Thanks, I'll try that next time since the problem was eventually resolved. Do you have any advice for becoming able to properly read log files? Because most of the times I'm reading one I am lost. Is it just a matter of time and experience?

2 points

Typically start at the end and work back till you seen no errors, that being the start of the failures. But some logs are better written than others. As with all things Linux it is "Practice, practice, practice".

2 points

I have a slightly different problem where my monitor isn't even receiving input after I updated. So I can't even switch to a different TTY. I'm about to chroot and then downgrade. Hopefully it works

1 points

It sounds the same as a gdm issue (gnome), if true here’s an easy fix:

$ systemctl edit gdm

[Service] Type=idle

It’s in the Arch wiki specifically why this works, but it might help (helped me with the issue you described).

I’m just throwing out a flyer, that may also work for KDE

1 points

Curiously on simultaneously upgrading the kernel to 5.8.2 and nvidia my WM (xmonad) went crazy and wouldn't open new terminal instances, and my usual web browser started crashing. I had to switch to another TTY to restart.

But it was fine after restarting. /shrug

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.