Ubuntu hangs shortly after booting with kernel 4.13.0-36

Bug #1751098 reported by Nicolás Abel Carbone
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
High
Joseph Salisbury
Artful
Won't Fix
High
Joseph Salisbury

Bug Description

After upgrading to linux 4.13.0-36 my laptop hangs shortly after booting, even before logging in to the desktop. It starts with the interface being unresponsive but the mouse cursor moving, and shortly after that the mouse cursor also hangs intermittently and then permanently.

Linux 4.13.0-32 works fine.

My laptop is a Dell XPS 13 9360 with an Core i5 7200u.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: linux-image-4.13.0-36-generic 4.13.0-36.40
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
AudioDevicesInUse:
 USUARIO ORDEN DE ACCESO PID
 /dev/snd/controlC0: nicolas 2111 F.... pulseaudio
CurrentDesktop: ubuntu-communitheme:ubuntu:GNOME
Date: Thu Feb 22 10:56:06 2018
InstallationDate: Installed on 2018-02-02 (20 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0c45:670c Microdia
 Bus 001 Device 002: ID 0cf3:e301 Atheros Communications, Inc.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. XPS 13 9360
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.13.0-32-generic.efi.signed root=UUID=452f690d-29d8-46b1-88a4-4262b6d20734 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-4.13.0-32-generic N/A
 linux-backports-modules-4.13.0-32-generic N/A
 linux-firmware 1.169.3
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 11/21/2017
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.4.2
dmi.board.name: 05HM5Y
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.4.2:bd11/21/2017:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn05HM5Y:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.sys.vendor: Dell Inc.

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :
Changed in linux (Ubuntu):
importance: Undecided → High
tags: added: pti
tags: added: performing-bisect
Changed in linux (Ubuntu Artful):
importance: Undecided → High
Changed in linux (Ubuntu Artful):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu):
assignee: nobody → Joseph Salisbury (jsalisbury)
Changed in linux (Ubuntu Artful):
status: New → In Progress
Changed in linux (Ubuntu):
status: New → In Progress
Revision history for this message
Kristoffer Brissman (brisse) wrote :

This kernel (4.13.0-36.40) hangs for me as well, but it's much earlier in the boot process so it doesn't even get to the point where it would ask me for my dm-crypt password. The fallback image (4.13.0-32.35) boots fine though.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I started a kernel bisect between 4.13.0-32 and 4.13.0-36. The kernel bisect will require testing of about 7-10 test kernels.

I built the first test kernel, up to the following commit:
721530cf07670fc34547cf12b6f69b2c53e890dc

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1751098

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

Joseph, the bisected kernel (4.13.0-33) seems to have the bug. It hangs my laptop just as 4.13.0-36

Revision history for this message
Kristoffer Brissman (brisse) wrote :

That one ( http://kernel.ubuntu.com/~jsalisbury/lp1751098/ ) booted successfully for me.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Kristoffer, can you run uname -a to confirm you booted the test kernel? Nicolas reports the test kernel does not boot.

Revision history for this message
Kristoffer Brissman (brisse) wrote :

$ uname -a
Linux kristoffer-ubuntu-desktop 4.13.0-33-generic #36~lp1751098Commit721530cf07670 SMP Thu Feb 22 17:22:43 UTC 201 x86_64 x86_64 x86_64 GNU/Linux

Perhaps we are facing two different bugs?

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

Maybe we are facing different bugs. In my case, it does boot, but it hangs shortly after. If I hurry, I am even able to log in to the desktop.

Revision history for this message
Kristoffer Brissman (brisse) wrote :

Sounds like different bug indeed. For me it hangs pretty much immediately after GRUB and I don't even see the plymouth screen with the Ubuntu logo or the password promt for dm-crypt. Tried many times, same result every time.

I have quite different system specs as well, not the Dell laptop mentioned earlier, but rather a desktop based on the AMD Ryzen CPU.

Perhaps I should wait and see how this goes and I'f I encounter the problem after Joseph's issue is fixed then I file my own bug report?

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

@Kristoffer, yes sounds like a different bug. I'll continue the bisect with Nicolas. Probably best to open a separate bug report indeed.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
9c58aebfd9d8c8d5b156898656c5c180a36e7a63

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1751098

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

Tested the new kernel. It still has the bug.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
b73948811b253d868aba711e1b8cfcc045c9cc50

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1751098

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

The kernel also has the bug.
Please keep doing the bisect and I will gladly keep trying them.

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

I ended up updating to Ubuntu 18.04 dev. An update to the BIOS of my laptop made it completely unstable to the point of not booting most of the time. Ubuntu 18.04 seems to work fine so far.

Revision history for this message
bmaupin (bmaupin) wrote :

Kristoffer, did you file your bug report yet? I think I'm experiencing the exact same issue. After Grub, my system hangs with the 4.13.0-36 kernel. I just see a flashing cursor. 4.13.0-32 boots fine.

I'm using Ubuntu 16.04.3 on a Thinkpad T430u with an Intel i5-3317U.

Revision history for this message
Kristoffer Brissman (brisse) wrote :

No, I did not make bug report yet, but I've tried a bunch of different kernels to try and find out where the issue started.

I tried kernels from:
https://launchpad.net/ubuntu/artful/+source/linux
And:
http://kernel.ubuntu.com/~kernel-ppa/mainline/?C=N;O=D

The last good kernel was, as in your case 4.13.0-32.35 and the first bad was 4.13.0-33.36. The ones from the mainline repo does not seem to have the issue, nor did the 4.13.0-33 that Joseph posted earlier in this thread.

Revision history for this message
bmaupin (bmaupin) wrote :
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

I built the next test kernel, up to the following commit:
1039796b23f7e844ed797ee3adc951a5e3c22b4b

The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/lp1751098

Can you test that kernel and report back if it has the bug or not? I will build the next test kernel based on your test results.

Thanks in advance

Revision history for this message
Nicolás Abel Carbone (nicocarbone) wrote :

I am sorry Joseph.

An update to my laptop's BIOS completely borked my Ubuntu 17.10 installation and I had to upgrade to Ubuntu 18.04 dev.

I don't think I can test the new kernel :/

Changed in linux (Ubuntu Artful):
status: In Progress → Incomplete
Changed in linux (Ubuntu):
status: In Progress → Incomplete
Revision history for this message
Marty Pitt (martypitt) wrote :

Hi

I'm having similar symptons to the original issue after upgrading from 17.10 -> 18.04

Specifically:

I'm able to boot past GRUB and login.
Shortly after login the UI becomes unresponsive
Then the mouse freezes
Then completely dead.

My laptop is similar to the original post: Dell XPS 15
As this feels slightly in the realm of graphics, I'm ising the inbuilt Intel graphics, not the nvidia GPU.

Similar to the original post, the fallback kernel works for me, though the versions differ from the original.

Problem occurs on 4.15.0-20-generic
Using 4.13.0-39-generic seems to work.

Please let me know what other information I can provide to assist.

@Nicolas: How did you get past this?

Thx

Revision history for this message
Tom (tom-lorinthe) wrote :

Dell XPS 15 - Same issue. I first upgraded Ubuntu 17.10->18.0. That worked but shutdown was very slow. Then I reinstalled 18.04 today to get a fresh start. But after boot, when entering password, laptop freezes completely. I also try "try Ubuntu" and that also fails.

Terrible; laptop completely unusable now :( 18.04 might be released but highly discouraged to install it yet on XPS...

Revision history for this message
Mathieu St-Gelais (mathieu-stgelais) wrote :

After a fresh install of Ubuntu 18.04 (about an hour ago) on my Gigabyte P55W v5, and same problem: right after logging in, everything freezes... and that's about it. I waited for 15 minutes, and nothing happened.

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

The original bug reporter is unable to reproduce this bug, so would it be possible for others affected to test the latest mainline kernel? It is available for download from:

http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.17-rc3

Revision history for this message
Andy Whitcroft (apw) wrote : Closing unsupported series nomination.

This bug was nominated against a series that is no longer supported, ie artful. The bug task representing the artful nomination is being closed as Won't Fix.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu Artful):
status: Incomplete → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.