CPU freezes and system reboots

Bug #1900166 reported by Manu
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux-signed-hwe-5.4 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

CPU freezes and system reboots due to "zram (lzo): Decompression failed! err=-22, page=XXXXX" after upgrade to linux-image-5.4.0-51-generic.

Previous version, linux-image-5.4.0-48-generic, works without problems.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: linux-image-5.4.0-51-generic (not installed)
ProcVersionSignature: Ubuntu 5.4.0-48.52~18.04.1-generic 5.4.60
Uname: Linux 5.4.0-48-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.18
Architecture: amd64
Date: Fri Oct 16 18:06:11 2020
InstallationDate: Installed on 2016-01-25 (1726 days ago)
InstallationMedia: Ubuntu-Server 14.04.3 LTS "Trusty Tahr" - Beta amd64 (20150805)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: linux-signed-hwe-5.4
Summary: CPU freezes and system reboots due to "zram (lzo): Decompression failed! err=-22, page=XXXXX" after upgrade to linux-image-5.4.0-51-generic - previous version linux-image-5.4.0-48-generic works.
UpgradeStatus: Upgraded to bionic on 2019-02-23 (600 days ago)

Revision history for this message
Manu (maxnu00) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux-signed-hwe-5.4 (Ubuntu):
status: New → Confirmed
Revision history for this message
Michele Primavera (michyprima) wrote :

I can confirm one of my VPS with linux-image-5.4.0-51-generic kept hanging, reverting back to -48 fixed the issue.

The issue seems to happen at random. At boot, right after boot, after 5 minutes from boot... but it always crashes sooner or later.

Sadly I was not able to get a log out of the crash.

Revision history for this message
Manu (maxnu00) wrote :

This issue seems also affect to Ubuntu 20.04 installer (ubuntu-20.04.1-desktop-amd64.iso). When enter in try mode, system freezes randomly.

Revision history for this message
Sylvain Falardeau (sylvainf) wrote :

Same problem for me on Ubuntu 20.04.1 with kernel linux-image-5.4.0-54-generic. I will try to
swapoff -a for now to see if it mitigate the problem. I gave the VM 2 more gigabytes of RAM
to reduce the need for swapping.

Revision history for this message
H.P.J. Groeneweg (groenewe) wrote :

Not sure if it helps, but I have a hunch this might have to do something with the CPU on which the kernel is running (CPU bugfixes maybe? spectre/meltdown and newer problems) In my case, I've not seen this problem with recent 5.4 kernels on CPU type 06-3c-03 (Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz), not on a CPU 06-9e-09 (Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz), but it does occur on older CPUs of type 06-25-05 and 06-2a-07 when running kernel 5.4.0 generic.

Recently tested kernels on Bionic/Focal, apt up-to-date and using most recent available microcode:
Linux version 5.4.0-65-generic 20.04 - CPU 06-2a-07 (16GB RAM) - bad blocks on zram when swapping.
Linux version 5.4.0-64-lowlatency 18.04 - CPU 06-9e-09 (16GB RAM) - no zram bad blocks.

Notes: I've seen the issue with recent 5.4 kernels for a while now, the bisecting Michele Primavera did seems plausible to me, so it's not 64=>65. Kernel 4.15 (Bionic) does not seem to cause zram corruption at all. I haven't tested Focal's kernel 5.8 yet...

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.