I have been trying fix my boot problem after kernel upgrade.
Basically, after kernel upgrade I re-generad grub conf. When I try reboot or turn on laptop sometimes black screen shows up or kernel boot list shows up. Also there is significant dracut-initqueue.service delay.
I tried both. Still same. After re-configure grub file
reboot > stuck black & dells logo > force to shut down laptop > turn on again > boot options > select latest kernel > sometimes can access desktop and sometimes same black screen.
By the way I already did clean install. Problems appears after kernel upgrade. I was using with pre-installed with kernel-5.3.7-301. There was no problem at that time.
Hi @vits95 i am lately too much busy …He should try post the output of journalctl where the boots did failed like you indicated before, there should be something in the journalctl
He can try run the kernel 5.4 if this fail he should select the one that did work and look back look journalctl -b2 -b3 -b5 so on or another options would use the options --since= and --until= (what can be useful in this case too)
Edit 1: and if nothing is grab try boot without the parameters rhgb quiet so that one can see where it is failing and he can take a picture too. just in case.
sudo grub2-editenv list
systemd-analyze plot > sdanalyzeplot.svg
Also, what’s the configuration? Encrypted root, home, swap on LVM? Or other?
Update: OK feel free to skip the above, I just re-read the whole thread
I suspect what you’re experiencing is this loop:
Boots the new kernel
Boot fails, grub-boot-success.service does not mark boot successful.
Force reboot, GRUB sees previous boot wasn’t successful so it shows GRUB menu
You pick the older kernel
System boots OK, you login, grub-boot-success.service marks boot successful
Later you boot/reboot again, GRUB sees previous boot was successful so it doesn’t show the GRUB menu at all, but boots the default kernel, which is the most recently installed kernel that seems to be giving you a hard time. - return to 2.)
You might be getting hit by an i915 bug in 5.4 that’s been giving users and devs fits for a while. But so far I’ve only seen reports of it affecting Kaby Lake and Sky Lake, where you have Whiskey Lake. So I’m not certain if you’re hitting this same bug or a different one. The easiest thing to do is stick with the 5.3.7 kernel that’s working.
The way to make it the default kernel with a hidden GRUB menu:
sudo ls -l /boot/loader/entries
This lists the GRUB bootloader entry snippets. Find the one for the kernel that works and copy the filename. Paste it at the end of the following command, deleting the filename extension., e.g.
That’s it. That’ll fix the problem until the next kernel update is installed. When a new kernel is installed, it’s made the default. So you’ll just have to be ready to go through this again if the bug isn’t fixed in the new kernel.
I try to set default working kernel (5.3.7-301 for me). but did not work. after reboot straight up boots latest kernel (5.4.13) without issue. But my problem was when I shut down laptop and leave like that for a couple hours then I have a problem with boots.
I’m having the exact same problem that you described above:
> stuck black & dells logo
> force to shut down laptop
> turn on again
> boot options
> select latest kernel
> sometimes can access desktop and sometimes same black screen.
As you said, this only happens sometimes and for now I’m forced to perform a hard reboot via the power button.
I tried adding dis_ucode_ldr to my grub parameters by pressing e when the system boots, and this is what it looks like:
I don’t remember any recent BIOS upgrade. I haven’t actually modified my grub file yet, I only tried editing the boot options by pressing “e” during the startup. Tomorrow I’ll try editing the grub file and I’ll post the result.
sorry for the late reply, I wanted to test if the given solution is really working so I took some more days to post my result.
I confirm that the solution given by @wa4q is working for Dell XPS 15 9560 as well.
You actually have to update the grub file, not just the one time boot options at system startup.
After a few days from my last post the problem is back.
I don’t know what made it showing up again, my grub file is the same as the one i posted before and my current firmware version is 5.5.11-200.fc31.x86_64.
I’ll post below the partial output of dmidecode:
Vendor: Dell Inc.
Release Date: 11/17/2019
Runtime Size: 64 kB
ROM Size: 16 MB
PCI is supported
PNP is supported
BIOS is upgradeable
BIOS shadowing is allowed
Boot from CD is supported
Selectable boot is supported
EDD is supported
Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
5.25"/1.2 MB floppy services are supported (int 13h)
3.5"/720 kB floppy services are supported (int 13h)
3.5"/2.88 MB floppy services are supported (int 13h)
Print screen service is supported (int 5h)
8042 keyboard services are supported (int 9h)
Serial services are supported (int 14h)
Printer services are supported (int 17h)
ACPI is supported
USB legacy is supported
Smart battery is supported
BIOS boot specification is supported
Function key-initiated network boot is supported
Targeted content distribution is supported
UEFI is supported
BIOS Revision: 1.18