Black screen on boot after 20.04 upgraded to kernel 5.8
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| linux (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
Yesterday Ubuntu asked me to reboot after automatic updates, and when I rebooted it doesn't start up. Sometimes it stays on the Dell logo, sometimes it goes to a black screen and doesn't get past that (not sure what causes each variation -- perhaps for reboot it does the Dell logo, cold start up it does the black screen?).
After the updates it's trying to boot the 5.8.0 kernel. In the boot menu, if I manually select the 5.4.0 kernel everything works fine. So presumably it's something about the 5.8 kernel on this hardware.
When this occurred I was running the Nouveau open source graphics driver. I switched to the NVIDIA driver (460) to see if that would help, but it didn't change anything. So it may or may not be graphics related.
I'm attaching my /var/log/kern.log and /var/log/syslog for yesterday -- Jan 12, I think it would be around 13:30 that I first rebooted after the upgrade (and a bunch of times after that). I ran the logs through grep -v 'var-snap-
Jan 12 19:09:55 BenXPS15 kernel: [14515.297170] audit: type=1400 audit(161043179
For reference:
* This is a Dell XPS 15 (9550) laptop with an NVIDIA GeForce GTX 960M (I think it's hybrid graphics). i7-6700HQ 2.6GHz with 8 cores, 256 GB SSD, 16 MB RAM.
* I installed Ubuntu 20.04 Focal in August 2020, and now it says it's on "Ubuntu 20.04.1 LTS".
* /proc/version_
* "sudo lspci -vnvn" output is included in the attached logs.zip
---
ProblemType: Bug
ApportVersion: 2.20.11-
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/pcmC0D0p: ben 4518 F...m pulseaudio
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 20.04
InstallationDate: Installed on 2020-08-27 (138 days ago)
InstallationMedia: Ubuntu 20.04.1 LTS "Focal Fossa" - Release amd64 (20200731)
MachineType: Dell Inc. XPS 15 9550
NonfreeKernelMo
Package: linux (not installed)
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.187.7
Tags: focal
Uname: Linux 5.4.0-59-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirt lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/12/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.13.1
dmi.board.name: 0N7TVV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.family: XPS
dmi.product.name: XPS 15 9550
dmi.product.sku: 06E4
dmi.sys.vendor: Dell Inc.
Ben Hoyt (benhoyt) wrote : | #1 |
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
tags: | added: focal |
Terry Rudd (terrykrudd) wrote : | #3 |
Ben, can you tell us if it was 5.8.0-34 kernel or later?
Ben Hoyt (benhoyt) wrote : AlsaInfo.txt | #4 |
apport information
tags: | added: apport-collected |
description: | updated |
Ben Hoyt (benhoyt) wrote : CRDA.txt | #5 |
apport information
Ben Hoyt (benhoyt) wrote : CurrentDmesg.txt | #6 |
apport information
Ben Hoyt (benhoyt) wrote : IwConfig.txt | #7 |
apport information
Ben Hoyt (benhoyt) wrote : Lspci.txt | #8 |
apport information
Ben Hoyt (benhoyt) wrote : Lspci-vt.txt | #9 |
apport information
Ben Hoyt (benhoyt) wrote : Lsusb.txt | #10 |
apport information
Ben Hoyt (benhoyt) wrote : Lsusb-t.txt | #11 |
apport information
Ben Hoyt (benhoyt) wrote : Lsusb-v.txt | #12 |
apport information
Ben Hoyt (benhoyt) wrote : ProcCpuinfo.txt | #13 |
apport information
apport information
Ben Hoyt (benhoyt) wrote : ProcEnviron.txt | #15 |
apport information
Ben Hoyt (benhoyt) wrote : ProcInterrupts.txt | #16 |
apport information
Ben Hoyt (benhoyt) wrote : ProcModules.txt | #17 |
apport information
Ben Hoyt (benhoyt) wrote : PulseList.txt | #18 |
apport information
Ben Hoyt (benhoyt) wrote : RfKill.txt | #19 |
apport information
Ben Hoyt (benhoyt) wrote : UdevDb.txt | #20 |
apport information
Ben Hoyt (benhoyt) wrote : WifiSyslog.txt | #21 |
apport information
Ben Hoyt (benhoyt) wrote : acpidump.txt | #22 |
apport information
Ben Hoyt (benhoyt) wrote : | #23 |
The kernel it's trying to run (assuming it's the top one in the "advanced options" boot list) is 5.8.0-36-generic.
I run apport-collect in case it helps -- boy, that's noisy in terms of number of comments. :-)
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
AceLan Kao (acelankao) wrote : | #24 |
Can't reproduce this on XPS 15 9560
BIOS Information
Vendor: Dell Inc.
Version: 1.20.0
Release Date: 07/21/2020
Linux acelan-xps15-9560 5.8.0-36-generic #40~20.04.1-Ubuntu SMP Wed Jan 6 10:15:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
nvidia, 460.32.03, 5.8.0-36-generic, x86_64: installed
Ben Hoyt (benhoyt) wrote : | #25 |
Good data point, thanks. It looks like there are some significant differences between the 9550 and the 9560 that could explain that:
1) Next generation CPU: i7-6700HQ on the 9550 vs i7-7700HQ on the 9560
2) Intel HD graphics 530 on the 9550 vs 630 on the 9560
3) NVIDIA GTX 960M on the 9550 vs NVIDIA GTX 1050 on the 9560
Wolf Pichler (w-pichler) wrote : | #26 |
I have the same problem on my Acer.
Since Kernel 5.8.0-36 and also 5.8.0-38 Ubuntu 20.04.1 cannot start in graphics mode.
(It is possible to log in on the console using e.g. Ctrl+Alt+F4 though.)
With Kernel 5.4.0-58 the system works as expected.
The problem occurs only on this system, which is also the only one with a
Nvidia GPU (Nvidia drivers are currently not installed though because I initially suspected the
updated nvidia-driver-460 were the problem.)
dmidecode -t1
# dmidecode 3.2
Getting SMBIOS data from sysfs.
SMBIOS 3.2.0 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: Acer
Product Name: Aspire A515-54G
Version: V1.16
Serial Number: I deleted it.
UUID: I deleted it.
Wake-up Type: Power Switch
SKU Number: 0000000000000000
Family: Aspire 5
Wolf Pichler (w-pichler) wrote : | #27 |
Maybe contains extra information.
Charles Green (chick) wrote : | #28 |
I've got the same issue on a system76 gazelle - I just reinstalled 20.04 hoping that this would fix the issue, but the 5.8.0-38 kernel does not complete the boot cycle by itself.
I have found that switching to tty2 and then back to tty1 causes the boot to complete
Ben Hoyt (benhoyt) wrote : | #29 |
Charles, very interesting. Though I wonder if yours is a different problem, partly because it's not in tty mode at all (for me it's in a graphical mode, sometimes with the Dell logo up). I can't seem to switch to tty2 using Alt-F2 or Ctrl-Alt-F2 -- what are the exact keys you're using?
Charles Green (chick) wrote : Re: [Bug 1911352] Re: Black screen on boot after 20.04 upgraded to kernel 5.8 | #30 |
The ctrl+alt+f2 - this was a fresh install on a system76 machine,
running the integrated graphics. I have since loaded the NVidia drivers
and my some miracle, I no longer need this work around.
The ttys run from 1 to 7, I think, but the keyboard shortcuts to
activate them are always ctrl+alt+f(num)
On 1/20/21 12:18 PM, Ben Hoyt wrote:
> Charles, very interesting. Though I wonder if yours is a different
> problem, partly because it's not in tty mode at all (for me it's in a
> graphical mode, sometimes with the Dell logo up). I can't seem to switch
> to tty2 using Alt-F2 or Ctrl-Alt-F2 -- what are the exact keys you're
> using?
>
Ben Hoyt (benhoyt) wrote : | #31 |
Just a note: in attempting to fix this issue I borked my laptop - after disabling UEFI boot and then re-enabling it in the BIOS settings, I couldn't boot at all. So I reinstalled Ubuntu and then was getting the following issue after doing system updates (but still on the 5.4 kernel): https:/
It's possible that this issue was actually that one, just that we weren't seeing the error message because GRUB is set to hidden by default. Though that doesn't explain why the 5.4 kernel worked with software updates earlier ... still a bit of an unknown, so keeping this open for now.
Terry Rudd (terrykrudd) wrote : | #32 |
If anyone affected by this bug can still reproduce it in their environments, I would like them to try installing linux-modules-extra and rebooting to see if the issue clears. You will need to do this with your 5.4 kernel.
Thanks in advance,
Terry
Wolf Pichler (w-pichler) wrote : | #33 |
I have these installed:
dpkg -l | grep "linux\-[a-z]*\-"
rc linux-modules-
ii linux-modules-
ii linux-modules-
ii linux-modules-
I tried as Charles Green said: Switching to tty2 and then back to tty1 causes the boot to complete.
(Ctrl+Alt+F2, Ctrl+Alt+F1)
Terry Rudd (terrykrudd) wrote : | #34 |
It seems that in at least 1 case, this condition arises with linux-modules-extra installed so my suggestion above may not help
Charles Green (chick) wrote : | #35 |
I have also had the boot problem disappear, return, and disappear again.....
On 1/22/21 11:12 AM, Wolf Pichler wrote:
> I have these installed:
>
> dpkg -l | grep "linux\-[a-z]*\-"
>
> rc linux-modules-
> ii linux-modules-
> ii linux-modules-
> ii linux-modules-
>
> I tried as Charles Green said: Switching to tty2 and then back to tty1 causes the boot to complete.
> (Ctrl+Alt+F2, Ctrl+Alt+F1)
>
My laptop running Groovy (20.10) is affected by this bug as well, but I also can't figure or at least isolate where the problem could be. The hardware is similar to what other people have reported (it's a ASUS K501UQ, with a Core i7-6500U, Nvidia 940MX and Intel HD 520).
It seemed to have started after I installed linux-modules-
In my case it seems to hand right after loading the kernel and initrd, but I don't get any message on the screen or on the logs and the keyboard is totally unresponsive (I can't switch between tty's).
The only data point that seems to be consistent so far is that I wasn't able to reproduce it when booting the kernel on recovery mode.
This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:
apport-collect 1911352
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.