Ask Your Question
3

Kernel 5 fails to boot.

asked 2019-03-31 00:00:03 -0500

cquickstad gravatar image

updated 2019-04-15 16:05:52 -0500

I have a Dell XPS-15 9570 with 8th Generation Intel Core i7-8750H. Ever since upgrading to kernel version 5, my laptop won't boot unless I select an earlier 4.xx kernel from the Grub menu. The display flashes strangely and I don't see the prompt for the partition encryption password unless I plug in an external monitor. When I add 'nomodeset' in grub, the flashing display problem goes away, but it still won't boot. I've kept the NVidia graphics disabled with nouveau.modeset=0 rd.driver.blacklist=nouveau, so only the Intel graphics should be active.

I haven't had to debug boot problems before. I'd love to be able to file a bug, but I'm not sure where to begin.

Update: When I don't add 'nomodeset' in grub, but plug in an external monitor, I am able to see the disk encryption prompt on the external monitor while the laptop's built-in display blinks. After showing some progress in the boot flow on the eternal monitor, then the external monitor begins to blink also. When I check journalctl, I see many messages such as:

gsd-color[2071]: no xrandr-DP-1 device found: Failed to find output xrandr-DP-1
gsd-color[2071]: no xrandr-DP-3 device found: Failed to find output xrandr-DP-3
gsd-color[2071]: no xrandr-eDP-1 device found: Failed to find output xrandr-eDP-1
gsd-color[2071]: no xrandr-DP-1 device found: Failed to find output xrandr-DP-1
gsd-color[2071]: no xrandr-DP-3 device found: Failed to find output xrandr-DP-3
gsd-color[2071]: no xrandr-eDP-1 device found: Failed to find output xrandr-eDP-1
gsd-color[2071]: no xrandr-DP-1 device found: Failed to find output xrandr-DP-1
gsd-color[2071]: no xrandr-DP-3 device found: Failed to find output xrandr-DP-3
gsd-color[2071]: no xrandr-eDP-1 device found: Failed to find output xrandr-eDP-1

This message only appears a few times on the Kernel 4 boot, but repeats hundreds of times on the kernel 5 boot.

journalctl output here.

Update: I've filed a bug here.

Update: The bug (https://bugs.freedesktop.org/show_bug...) has been fixed in Fedora kernel 5.0.7-200.fc29.x86_64. After upgrading to it, it booted on my Dell 9570 and I'm running it right now!

edit retag flag offensive close merge delete

Comments

1

I am getting the same issue. Press ESC after you decrypt the disk, and it will give you a log of where it's hanging, so you can file a bug.

TheBigDuck gravatar imageTheBigDuck ( 2019-03-31 02:46:22 -0500 )edit

Do you have installed kmod-nvidia/akmod-nvidia from rpmfusion? Those drivers were previously incompatible with 5.x.x kernels; but updates are available now.

hedayat gravatar imagehedayat ( 2019-03-31 06:23:09 -0500 )edit

I am using the Official Nvidia GeForce drivers. https://linuxconfig.org/nvidia-geforc...

TheBigDuck gravatar imageTheBigDuck ( 2019-03-31 15:29:11 -0500 )edit

I'm having the same trouble with a Dell Precision 5530 since 5. Main display flashes after Dell logo splash, external displays indicate laptop is not booting. I've disabled with nouveau.modeset=0 since day one.

mike65535 gravatar imagemike65535 ( 2019-04-02 13:59:45 -0500 )edit

3 Answers

Sort by ยป oldest newest most voted
3

answered 2019-03-31 03:29:44 -0500

ozeszty gravatar image

Hi, you'll need this update: https://bodhi.fedoraproject.org/updat... so boot an earlier kernel, update dracut sudo dnf upgrade dracut* and reinstall 5.0.x kernels sudo dnf reinstall kernel*5.0*. You could also run the updated dracut instead, but you'd have to specify all installed kernel 5 versions.

edit flag offensive delete link more

Comments

So, I followed your instructions. Sadly, I am still unable to start. After unlock, I pressed ESC to get an idea of the issue, and it seems to be stopping at

[OK] STARTED Gnome Display Manager

TheBigDuck gravatar imageTheBigDuck ( 2019-03-31 12:47:36 -0500 )edit

Sadly, dracut is not my problem. I have dracut-049-26.git20181204.fc29 installed, and reinstalled the kernel, but it did nothing for my problem. When I add 'nomodeset' from the grub menu, the display flashing problem goes away and I can enter the hard disk decryption password. However, just as 'TheBigDuck' is experiencing, I press ESC and see "[OK] STARTED Gnome Display Manger"

cquickstad gravatar imagecquickstad ( 2019-04-01 12:51:57 -0500 )edit

Can you use Ctrl+Alt+F3 to access terminal, login as root and run journalctl -e? If not, after failed boot attempt, reboot with older kernel and run as root journalctl -eb-1 to look at previous boot logs. Or use gnome-logs.

Also check for system and BIOS updates, just make sure you keep at least one 4.x kernel.

ozeszty gravatar imageozeszty ( 2019-04-01 15:02:11 -0500 )edit

Here is the output from journalctl from the failed attempt to boot Kernel 5: https://pastebin.com/1skDMZ5e

cquickstad gravatar imagecquickstad ( 2019-04-01 17:16:19 -0500 )edit

Check if you'll at least be able to start-up with just nouveau.modeset=0, without rd.driver.blacklist=nouveau.

As in most laptops I've dealt with recently, there's no option to disable Nvidia GPU in BIOS?

ozeszty gravatar imageozeszty ( 2019-04-02 03:43:46 -0500 )edit
2

answered 2019-04-15 16:07:05 -0500

cquickstad gravatar image

The root cause is this bug: https://bugs.freedesktop.org/show_bug...

The fix is in Fedora kernel 5.0.7-200.fc29.x86_64.

edit flag offensive delete link more

Comments

Great news that it's been fixed!

ozeszty gravatar imageozeszty ( 2019-04-18 18:25:08 -0500 )edit
0

answered 2019-03-31 16:18:38 -0500

TheBigDuck gravatar image

You need to update your NVIDIA driver to work with Kernel v5.

Previously, I was using 415.27 and I was getting the logo and nothing.

I updated the NVIDIA driver and booting into Kernel 5 no issue.

edit flag offensive delete link more

Comments

I'm not using the nvidia driver. I've disabled it and I've only been using the Intel graphics.

cquickstad gravatar imagecquickstad ( 2019-04-01 12:33:03 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2019-03-31 00:00:03 -0500

Seen: 409 times

Last updated: Apr 15