19.10 Boots into a black screen

Asked by Felipe Moreno on 2019-11-19

After upgrading to 19.10 and rebooting. My machine goes into a frozen black screen. The default kernel after the update (5.3.0-23-generic) does not succeed in booting. If I select the older kernel, 5.0.0-36-generic, grub does go through and succeeds booting up.

System is a Dell XPS 15 9560 with Ubuntu Dual Boot. GRUB version 2.04-1ubuntu12. The Windows partition does work properly, and I am able to boot into it. Please advice on how to proceed with a fix, or if an update pushed to grub will fix this issue.

Thanks.
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu8.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pipemon 2417 F.... pulseaudio
CurrentDesktop: KDE
DistroRelease: Ubuntu 19.10
HibernationDevice: RESUME=UUID=c26ef9c3-b999-4441-b750-cf80d00fc68e
InstallationDate: Installed on 2017-11-02 (746 days ago)
InstallationMedia: Ubuntu 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 04f3:21d5 Elan Microelectronics Corp. Touchscreen
 Bus 001 Device 002: ID 0cf3:e301 Qualcomm Atheros Communications
 Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. Integrated_Webcam_HD
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. XPS 15 9550
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-36-generic root=UUID=6b1a4315-6bdf-471f-90b5-6fb32c3bfc2b ro quiet splash
ProcVersionSignature: Ubuntu 5.0.0-36.39-generic 5.0.21
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-36-generic N/A
 linux-backports-modules-5.0.0-36-generic N/A
 linux-firmware 1.183.2
Tags: eoan
Uname: Linux 5.0.0-36-generic x86_64
UpgradeStatus: Upgraded to eoan on 2019-11-18 (0 days ago)
UserGroups: adm audio cdrom dialout dip kvm lpadmin plugdev pulse sambashare sudo video
_MarkForUpload: True
dmi.bios.date: 07/30/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.11.2
dmi.board.name: 0N7TVV
dmi.board.vendor: Dell Inc.
dmi.board.version: A01
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.11.2:bd07/30/2019:svnDellInc.:pnXPS159550:pvr:rvnDellInc.:rn0N7TVV:rvrA01:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 15 9550
dmi.product.sku: 06E4
dmi.sys.vendor: Dell Inc.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux Edit question
Assignee:
No assignee Edit question
Solved by:
Felipe Moreno
Solved:
2019-11-21
Last query:
2019-11-21
Last reply:
2019-11-20

This question was originally filed as bug #1853075.

Felipe Moreno (felmoreno1726) said : #1

apport information

Which release did you upgrade from and what steps did you take, please?

Felipe Moreno (felmoreno1726) said : #3

I upgraded from 19.04 my steps where:

sudo apt update && sudo apt upgrade
sudo apt-get dist-upgrade
sudo do-release-upgrade

Bashing-om (bashing-om) said : #4

Booting the latest 5.3.0-23-generic kernel, do you get to the login screen ?

If so, what results when attempting to activate a virtual terminal ( key combo ctl+alt+F2) ?

log in here and show us the output of terminal command:
sudo lshw -C display

so we see the graphic's card and *IF* a driver is loaded.

-there is that process-

Felipe Moreno (felmoreno1726) said : #5

I don't get to the login screen. On the black screen all I see is:

Loading Linux 5.3.0-23-generic
Loading initial ram disk...

Crl+alt+F2 does nothing

Manfred Hampl (m-hampl) said : #6

Is it a completely black screen, or do you have text on it?

"Loading initial ram disk..." may indicate that something went wrong when creating the initramfs boot file.

Boot into an older kernel and execute the commands

sudo update-initramfs -u
sudo update-grub

Does this help, or do you still see the same problem?

Felipe Moreno (felmoreno1726) said : #7

After trying that out, I observe the same behavior. Back screen with two lines of text:
"Loading Linux 5.3.0-23-generic
Loading initial ram disk..."

Which idles indifinetely.

Manfred Hampl (m-hampl) said : #8

Does the system successfully boot the 5.3.0-23-generic kernel when selecting one of the recovery mode options in grub, or do they all end up with that "Loading initial ram disk..." message?

Felipe Moreno (felmoreno1726) said : #9

Booting with recovery mode also exhibits the same behaviour. I also tried with the proposed kernel, 5.3.0-24-generic and it's recovery mode. They all exhibit the same behaviour during boot.

Bashing-om (bashing-om) said : #10

Felipe Moreno; Hummm..

Though not likely a disk space issue - At this point would be nice to know:
Show us:
dpkg -l | grep linux-
df -h

-got to be a reason-

Felipe Moreno (felmoreno1726) said : #11

Running $ dpkg -l | grep linux-
gives:

ii binutils-x86-64-linux-gnu 2.33-2ubuntu1 amd64 GNU binary utilities, for x86-64-linux-gnu target
ii bluez-tools 2.0~20170911.0.7cb788c-2build1 amd64 Set of tools to manage Bluetooth devices for linux
ii console-setup-linux 1.191ubuntu3 all Linux specific part of console-setup
ii fonts-linuxlibertine 5.3.0-4 all Linux Libertine family of fonts
ii liblinux-epoll-perl 0.016-1 amd64 perl epoll module for O(1) multiplexing
ii libselinux1:amd64 2.9-2 amd64 SELinux runtime shared libraries
ii libselinux1-dev:amd64 2.9-2 amd64 SELinux development headers
ii libv4l-0:amd64 1.16.7-1 amd64 Collection of video4linux support libraries
ii libv4lconvert0:amd64 1.16.7-1 amd64 Video4linux frame format conversion library
ii linux-base 4.5ubuntu2 all Linux image base package
ii linux-firmware 1.183.2 all Firmware for Linux kernel drivers
ii linux-generic 5.3.0.24.28 amd64 Complete Generic Linux kernel and headers
ii linux-headers-5.3.0-23 5.3.0-23.25 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-23-generic 5.3.0-23.25 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-5.3.0-24 5.3.0-24.26 all Header files related to Linux kernel version 5.3.0
ii linux-headers-5.3.0-24-generic 5.3.0-24.26 amd64 Linux kernel headers for version 5.3.0 on 64 bit x86 SMP
ii linux-headers-generic 5.3.0.24.28 amd64 Generic Linux kernel headers
rc linux-image-4.15.0-62-generic 4.15.0-62.69 amd64 Signed kernel image generic
rc linux-image-4.15.0-65-generic 4.15.0-65.74 amd64 Signed kernel image generic
rc linux-image-5.0.0-32-generic 5.0.0-32.34 amd64 Signed kernel image generic
ii linux-image-5.0.0-36-generic 5.0.0-36.39 amd64 Signed kernel image generic
ii linux-image-5.3.0-23-generic 5.3.0-23.25 amd64 Signed kernel image generic
ii linux-image-5.3.0-24-generic 5.3.0-24.26 amd64 Signed kernel image generic
ii linux-image-generic 5.3.0.24.28 amd64 Generic Linux kernel image
ii linux-libc-dev:amd64 5.3.0-23.25 amd64 Linux Kernel Headers for development
rc linux-modules-4.15.0-62-generic 4.15.0-62.69 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-4.15.0-65-generic 4.15.0-65.74 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
ii linux-modules-5.0.0-36-generic 5.0.0-36.39 amd64 Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii linux-modules-5.3.0-23-generic 5.3.0-23.25 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-5.3.0-24-generic 5.3.0-24.26 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
rc linux-modules-extra-4.15.0-65-generic 4.15.0-65.74 amd64 Linux kernel extra modules for version 4.15.0 on 64 bit x86 SMP
rc linux-modules-extra-5.0.0-32-generic 5.0.0-32.34 amd64 Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii linux-modules-extra-5.0.0-36-generic 5.0.0-36.39 amd64 Linux kernel extra modules for version 5.0.0 on 64 bit x86 SMP
ii linux-modules-extra-5.3.0-23-generic 5.3.0-23.25 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-modules-extra-5.3.0-24-generic 5.3.0-24.26 amd64 Linux kernel extra modules for version 5.3.0 on 64 bit x86 SMP
ii linux-sound-base 1.0.25+dfsg-0ubuntu5 all base package for ALSA and OSS sound systems
ii pptp-linux 1.10.0-1build1 amd64 Point-to-Point Tunneling Protocol (PPTP) Client
ii skypeforlinux 8.27.0.85 amd64 Skype keeps the world talking, for free.
ii syslinux 3:6.04~git20190206.bf6db5b4+dfsg1-1 amd64 collection of bootloaders (DOS FAT and NTFS bootloader)
ii syslinux-common 3:6.04~git20190206.bf6db5b4+dfsg1-1 all collection of bootloaders (common)
ii syslinux-legacy 2:3.63+dfsg-2ubuntu9 amd64 Bootloader for Linux/i386 using MS-DOS floppies
ii util-linux 2.34-0.1ubuntu2 amd64 miscellaneous system utilities
ii v4l-utils 1.16.7-1 amd64 Collection of command line video4linux utilities

Then running $ df -h
gives:

Filesystem Size Used Avail Use% Mounted on
udev 7.8G 0 7.8G 0% /dev
tmpfs 1.6G 1.7M 1.6G 1% /run
/dev/nvme0n1p7 435G 306G 107G 75% /
tmpfs 7.8G 603M 7.2G 8% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 7.8G 0 7.8G 0% /sys/fs/cgroup
/dev/loop0 4.3M 4.3M 0 100% /snap/gnome-calculator/544
/dev/loop1 45M 45M 0 100% /snap/gtk-common-themes/1353
/dev/loop3 1.0M 1.0M 0 100% /snap/gnome-logs/81
/dev/loop4 90M 90M 0 100% /snap/core/7917
/dev/loop8 43M 43M 0 100% /snap/gtk-common-themes/1313
/dev/loop5 141M 141M 0 100% /snap/gnome-3-26-1604/98
/dev/loop7 1.0M 1.0M 0 100% /snap/gnome-logs/73
/dev/loop6 157M 157M 0 100% /snap/gnome-3-28-1804/110
/dev/loop2 4.3M 4.3M 0 100% /snap/gnome-calculator/536
/dev/loop9 3.8M 3.8M 0 100% /snap/gnome-system-monitor/107
/dev/loop10 15M 15M 0 100% /snap/gnome-characters/359
/dev/loop12 55M 55M 0 100% /snap/core18/1223
/dev/loop11 90M 90M 0 100% /snap/core/8039
/dev/loop13 157M 157M 0 100% /snap/gnome-3-28-1804/91
/dev/loop14 12M 12M 0 100% /snap/ngrok/20
/dev/loop15 182M 182M 0 100% /snap/spotify/36
/dev/loop17 55M 55M 0 100% /snap/core18/1265
/dev/loop18 3.8M 3.8M 0 100% /snap/gnome-system-monitor/111
/dev/loop16 121M 121M 0 100% /snap/ubuntu-clock-app/5
/dev/loop19 141M 141M 0 100% /snap/gnome-3-26-1604/97
/dev/loop20 12M 12M 0 100% /snap/ngrok/21
/dev/nvme0n1p1 496M 78M 419M 16% /boot/efi
/dev/loop21 15M 15M 0 100% /snap/gnome-characters/367
tmpfs 1.6G 16K 1.6G 1% /run/user/1000

Bashing-om (bashing-om) said : #12

 Felipe Moreno; Well -

All I can see is a possible conflict with:
ii libselinux1-dev:amd64 2.9-2 amd64 SELinux development headers
ii linux-libc-dev:amd64 5.3.0-23.25 amd64 Linux Kernel Headers for development

it is above my skill level and experience to know. I will eagerly await Manfred's continued advise.

-A know it all I am not -

Manfred Hampl (m-hampl) said : #13

Sorry, I have no idea why that kernel does not successfuly boot on your system.
My suggestion would have been to try the -proposed version of the kernel and/or the latest mainline kernel - exactly what's already requested in your bug report.

Felipe Moreno (felmoreno1726) said : #14

Thank you all for the support! The latest mainline kernel did the trick. It works wonders. Thanks!!

Felipe Moreno (felmoreno1726) said : #15

Just as note for future users that might run into this issue, I installed

linux-image-unsigned-5.4.0-050400rc8-generic_5.4.0-050400rc8.201911171930_amd64.deb
linux-modules-5.4.0-050400rc8-generic_5.4.0-050400rc8.201911171930_amd64.deb

From
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.4-rc8/

Thanks.