Fail to resume after hibernate. Image mismatch: architecture specific data

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

Bug Description

I'm running Ubuntu 21.04 on a laptop and have been using hibernate flawlessly for a couple of months.
More recently, resuming from hibernation stopped working and now falls back to complete restart.

This is what I get from dmesg:

[ 17.407048] kernel: PM: hibernation: resume from hibernation
[ 17.409714] kernel: PM: hibernation: Marking nosave pages: [mem 0x00000000-0x00000fff]
[ 17.409717] kernel: PM: hibernation: Marking nosave pages: [mem 0x0004f000-0x0004ffff]
[ 17.409718] kernel: PM: hibernation: Marking nosave pages: [mem 0x0009e000-0x000fffff]
[ 17.409721] kernel: PM: hibernation: Marking nosave pages: [mem 0xae6e9000-0xae6effff]
[ 17.409723] kernel: PM: hibernation: Marking nosave pages: [mem 0xaf0cd000-0xaf5abfff]
[ 17.409744] kernel: PM: hibernation: Marking nosave pages: [mem 0xb1e4c000-0xb1ed3fff]
[ 17.409747] kernel: PM: hibernation: Marking nosave pages: [mem 0xb2698000-0xb2698fff]
[ 17.409748] kernel: PM: hibernation: Marking nosave pages: [mem 0xb54af000-0xb54affff]
[ 17.409749] kernel: PM: hibernation: Marking nosave pages: [mem 0xb54d8000-0xb54d8fff]
[ 17.409751] kernel: PM: hibernation: Marking nosave pages: [mem 0xb7db3000-0xb7ffffff]
[ 17.409761] kernel: PM: hibernation: Marking nosave pages: [mem 0xb8759000-0xb87fffff]
[ 17.409765] kernel: PM: hibernation: Marking nosave pages: [mem 0xb8f9d000-0xb8ffffff]
[ 17.409767] kernel: PM: hibernation: Marking nosave pages: [mem 0xba6f5000-0xba7fffff]
[ 17.409773] kernel: PM: hibernation: Marking nosave pages: [mem 0xbbcec000-0xffffffff]
[ 17.410626] kernel: PM: hibernation: Basic memory bitmaps created
[ 17.481616] kernel: PM: Using 3 thread(s) for decompression
[ 17.481620] kernel: PM: Loading and decompressing image data (835177 pages)...
[ 17.481626] kernel: PM: hibernation: Image mismatch: architecture specific data
[ 17.481627] kernel: PM: hibernation: Read 3340708 kbytes in 0.01 seconds (334070.80 MB/s)
[ 17.482589] kernel: PM: Error -1 resuming
[ 17.482594] kernel: PM: hibernation: Failed to load image, recovering.
[ 17.482992] kernel: PM: hibernation: Basic memory bitmaps freed
[ 17.483572] kernel: PM: hibernation: resume failed (-1)

Here is some system information:

$ cat /proc/version_signature
Ubuntu 5.11.0-25.27-generic 5.11.22
$ cat /sys/power/state
freeze mem disk
$ cat /sys/power/disk
[platform] shutdown reboot suspend test_resume
$ cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-5.11.0-25-generic root=/dev/mapper/vgubuntu-root ro quiet splash resume=UUID=a2be2098-********* mem_sleep_default=deep
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: giacof 2186 F.... pulseaudio
 /dev/snd/controlC2: giacof 2186 F.... pulseaudio
 /dev/snd/controlC0: giacof 2186 F.... pulseaudio
CasperMD5json:
 {
   "result": "skip"
 }
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 21.04
InstallationDate: Installed on 2021-05-17 (71 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
MachineType: Dell Inc. Precision M4800
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=it_IT.UTF-8
 SHELL=/bin/bash
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.11.0-25-generic root=/dev/mapper/vgubuntu-root ro quiet splash resume=UUID=a2be2098-8e7d-4460-845d-c2b3b22def13 mem_sleep_default=deep
ProcVersionSignature: Ubuntu 5.11.0-25.27-generic 5.11.22
RelatedPackageVersions:
 linux-restricted-modules-5.11.0-25-generic N/A
 linux-backports-modules-5.11.0-25-generic N/A
 linux-firmware 1.197.2
StagingDrivers: ashmem_linux
Tags: hirsute staging
Uname: Linux 5.11.0-25-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo wireshark
_MarkForUpload: True
dmi.bios.date: 10/08/2018
dmi.bios.release: 65.25
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A25
dmi.board.name: 0T3YTY
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA25:bd10/08/2018:br65.25:svnDellInc.:pnPrecisionM4800:pvr00:rvnDellInc.:rn0T3YTY:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.name: Precision M4800
dmi.product.sku: 05CC
dmi.product.version: 00
dmi.sys.vendor: Dell Inc.

Revision history for this message
Chris Guiver (guiverc) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal:

apport-collect 1938221

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Revision history for this message
giacof (giacof) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected hirsute staging
description: updated
Revision history for this message
giacof (giacof) wrote : CRDA.txt

apport information

Revision history for this message
giacof (giacof) wrote : CurrentDmesg.txt

apport information

Revision history for this message
giacof (giacof) wrote : HookError_ubuntu.txt

apport information

Revision history for this message
giacof (giacof) wrote : IwConfig.txt

apport information

Revision history for this message
giacof (giacof) wrote : Lspci.txt

apport information

Revision history for this message
giacof (giacof) wrote : Lspci-vt.txt

apport information

Revision history for this message
giacof (giacof) wrote : Lsusb.txt

apport information

Revision history for this message
giacof (giacof) wrote : Lsusb-t.txt

apport information

Revision history for this message
giacof (giacof) wrote : Lsusb-v.txt

apport information

Revision history for this message
giacof (giacof) wrote : PaInfo.txt

apport information

Revision history for this message
giacof (giacof) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
giacof (giacof) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
giacof (giacof) wrote : ProcInterrupts.txt

apport information

Revision history for this message
giacof (giacof) wrote : ProcModules.txt

apport information

Revision history for this message
giacof (giacof) wrote : PulseList.txt

apport information

Revision history for this message
giacof (giacof) wrote : RfKill.txt

apport information

Revision history for this message
giacof (giacof) wrote : UdevDb.txt

apport information

Revision history for this message
giacof (giacof) wrote : WifiSyslog.txt

apport information

Revision history for this message
giacof (giacof) wrote : acpidump.txt

apport information

Revision history for this message
giacof (giacof) wrote :

I don't like to make all those log files publicly available: they might contain sensitive data.
How can they made visible to devs only?

Revision history for this message
giacof (giacof) wrote :
Revision history for this message
giacof (giacof) wrote :
Revision history for this message
Terry Rudd (terrykrudd) wrote :

does this behavior persist using the 5.11.0-26.28 in proposed? And can you confirm you didn't see this problem on 5.11.0-24? Thanks - Terry

Revision history for this message
giacof (giacof) wrote :

I confirm hibernate is working with 5.11.0-26.28 kernel.
It does work on 5.11.0-24 too, but I'm having another issue with it: the nvidia driver does not work, since the package linux-modules-nvidia-390-5.11.0-24-generic is missing from the repositories.

Revision history for this message
giacof (giacof) wrote :

Yet another issue: after resuming, the desktop is corrupted

Revision history for this message
Alberto Milone (albertomilone) wrote :

You might want to install the linux-modules-nvidia-390-5.11.0-26-generic package from proposed.

Revision history for this message
giacof (giacof) wrote (last edit ):

Thank you, I have already installed it. The missing one is for 5.11.0-24, as I said before.

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.