System froze during suspension since Linux kernel v5.3.0-42, but v5.3.0-40 works

Bug #1870746 reported by Jason Kowk
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hello, I found that my system froze during the suspension process since Linux kernel v5.3.0-42.

When the display switches to a blank terminal with a cursor on the top-left corner, the system got stuck. Sometimes I was able to switch to a virtual TTY with Control+Alt+[F2-F7], but it got stuck as well within a few seconds. Also, I've noticed that the backlight of my keyboard stays on indefinitely after the system froze, even though I've set a timeout for it to turn off.

I've tried the ways to debug system crash mentioned in the Community Help Wiki, but with no luck. But it seems that I was able to connect to my computer via SSH if I was not connected to it before it froze, otherwise the SSH server will freeze as well.

After some investigation, I found some information in "/var/log/syslog" that might be useful. I've found that "systemd-sleep[5261]: Suspending system..." was the last message that was logged to that file if the system froze, although there might be one more random or garbage message follow it.

ProblemType: Bug
DistroRelease: Ubuntu 19.10
Package: xorg 1:7.7+19ubuntu12
ProcVersionSignature: Ubuntu 5.3.0-40.32-generic 5.3.18
Uname: Linux 5.3.0-40-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
.proc.driver.nvidia.gpus.0000.01.00.0: Error: [Errno 21] 是個目錄: '/proc/driver/nvidia/gpus/0000:01:00.0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.suspend: suspend hibernate resume
.proc.driver.nvidia.suspend_depth: default modeset uvm
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 435.21 Sun Aug 25 08:17:57 CDT 2019
 GCC version: gcc version 9.2.1 20191008 (Ubuntu 9.2.1-9ubuntu2)
ApportVersion: 2.20.11-0ubuntu8.7
Architecture: amd64
BootLog: Error: [Errno 13] 拒絕不符權限的操作: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: KDE
Date: Sat Apr 4 16:08:25 2020
DistUpgraded: Fresh install
DistroCodename: eoan
DistroVariant: ubuntu
DkmsStatus:
 nvidia, 435.21, 5.3.0-40-generic, x86_64: installed
 nvidia, 435.21, 5.3.0-42-generic, x86_64: installed
 nvidia, 435.21, 5.3.0-45-generic, x86_64: installed
ExtraDebuggingInterest: I just need to know a workaround (Update: Yes, if it's not too technical)
GraphicsCard:
 Intel Corporation UHD Graphics 630 (Mobile) [8086:3e9b] (prog-if 00 [VGA controller])
   Subsystem: Dell UHD Graphics 630 (Mobile) [1028:0922]
   Subsystem: Dell Device [1028:0922]
InstallationDate: Installed on 2019-10-20 (166 days ago)
InstallationMedia: Kubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0bda:5538 Realtek Semiconductor Corp. Integrated_Webcam_HD
 Bus 001 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
 Bus 001 Device 004: ID 8087:0aaa Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 7590
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.3.0-40-generic root=UUID=4ddf851b-8d25-493d-92b4-e10623bc1531 ro quiet splash nouveau.modeset=0 vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/22/2019
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.3.0
dmi.board.name: 0JKGD4
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.3.0:bd07/22/2019:svnDellInc.:pnInspiron7590:pvr:rvnDellInc.:rn0JKGD4:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 7590
dmi.product.sku: 0922
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.99-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 19.2.8-0ubuntu0~19.10.3
version.libgl1-mesa-glx: libgl1-mesa-glx N/A
version.nvidia-graphics-drivers: nvidia-graphics-drivers-* N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.20.5+git20191008-0ubuntu1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.0.1-1ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20190815-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.16-1

Revision history for this message
Jason Kowk (jasonhk) wrote :
Jason Kowk (jasonhk)
description: updated
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Can you please try some older kernels to see if the problem really is new in 5.3?

https://kernel.ubuntu.com/~kernel-ppa/mainline/?C=M;O=D

affects: xorg (Ubuntu) → linux (Ubuntu)
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jason Kowk (jasonhk) wrote :

I know that suspension works on kernel v5.3.0-40.

summary: - System froze during suspension since Linux kernel v5.3.0-42.
+ System froze during suspension since Linux kernel v5.3.0-42, but
+ v5.3.0-40 works
tags: added: regression-update
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
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.