Ubuntu MATE Bionic Beaver alpha - Hibernate/Resume Failure - ASUS P8H67-M PRO

Bug #1759860 reported by Radu Axente
28
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Resume from hibernate failed

ProblemType: KernelOops
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-13-generic 4.15.0-13.14
ProcVersionSignature: Ubuntu 4.15.0-13.14-generic 4.15.10
Uname: Linux 4.15.0-13-generic x86_64
Annotation: This occurred during a previous hibernation, and prevented the system from resuming properly.
ApportVersion: 2.20.9-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: mihai 1761 F.... pulseaudio
Date: Thu Mar 29 15:35:03 2018
DuplicateSignature: hibernate/resume:System manufacturer System Product Name:3904
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: hibernate/resume
HibernationDevice: RESUME=UUID=21524dee-cba8-4f0e-8718-07509400c3f8
InstallationDate: Installed on 2018-03-29 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Alpha amd64 (20180307.1)
InterpreterPath: /usr/bin/python3.6
MachineType: System manufacturer System Product Name
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-13-generic root=UUID=47373a65-7f17-4d2d-a006-c7eebce02df4 ro quiet splash vt.handoff=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
Python3Details: /usr/bin/python3.6, Python 3.6.5rc1, python3-minimal, 3.6.4-1
PythonDetails: /usr/bin/python2.7, Python 2.7.14+, python-minimal, 2.7.14-4
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-13-generic N/A
 linux-backports-modules-4.15.0-13-generic N/A
 linux-firmware 1.173
SourcePackage: linux
Title: [System manufacturer System Product Name] hibernate/resume failure
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 04/27/2013
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 3904
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H67-M PRO
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr3904:bd04/27/2013:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnP8H67-MPRO:rvrRevX.0x:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.family: To be filled by O.E.M.
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Revision history for this message
Radu Axente (radax05) wrote :
tags: removed: need-duplicate-check
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
Revision history for this message
Radu Axente (radax05) wrote : Re: [System manufacturer System Product Name] hibernate/resume failure

Same PC, Ubuntu MATE 17.10 with Linux Kernel 4.15.02, 4.15.12, 4.15.13, 4.15.14 -> Hibernate & Resume from Hibernate WORK AS EXPECTED.

Same PC, Ubuntu MATE 17.10 with official Ubuntu Linux Kernels > 4.13.21 -> Hibernate & Resume from Hibernate DO NOT WORK !

Different PC -> same behaviour (Ubuntu MATE 17.10 and 18.04 alpha).

summary: - [System manufacturer System Product Name] hibernate/resume failure
+ Ubuntu MATE Bionic Beaver alpha - Hibernate/Resume Failure - ASUS
+ P8H67-M PRO
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.16 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16-rc7

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Radu Axente (radax05)
tags: added: kernel-bug-exists-upstream
Revision history for this message
Radu Axente (radax05) wrote :

Hibernate / Resume from Hibernate:

Ubuntu MATE 17.10 - kernel 4.13.0-21-generic -> OK
Ubuntu MATE 17.10 - kernel 4.13.0-25-generic -> Resume does not work at all
(see https://ubuntuforums.org/showthread.php?t=2382336)
Ubuntu MATE 17.10 - kernel 4.15.2 (via ukuu) -> OK
Ubuntu MATE 17.10 - kernel 4.15.12 (via ukuu) -> OK
Ubuntu MATE 17.10 - kernel 4.15.13 (via ukuu) -> OK
Ubuntu MATE 17.10 - kernel 4.15.14 (via ukuu) -> OK

Upgrade to Ubuntu MATE 18.04 (from Ubuntu MATE 17.10) - kernel 4.15.0-13-generic -> the issue described in this bug report
Upgrade to Ubuntu MATE 18.04 (from Ubuntu MATE 17.10) - kernel 4.15.13 (via ukuu) -> the issue described in this bug report

Fresh Ubuntu MATE 18.04 - kernel 4.15.0-13-generic -> the issue described in this bug report
Fresh Ubuntu MATE 18.04 - kernel 4.15.14 (via ukuu)-> the issue described in this bug report
Fresh Ubuntu MATE 18.04 - kernel 4.15.14 (via ukuu)-> the issue described in this bug report
Fresh Ubuntu MATE 18.04 - kernel 4.16-rc6 (via ukuu)-> the issue described in this bug report
Fresh Ubuntu MATE 18.04 - kernel 4.16-rc7 (via ukuu)-> the issue described in this bug report
Fresh Ubuntu MATE 18.04 - kernel 4.16.0-041600rc7-> the issue described in this bug report

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Radu Axente (radax05) wrote :

Hibernate / Resume from Hibernate:

Fresh Ubuntu MATE 18.04 - kernel 4.16.0-041600rc7-lowlatency-> the issue described in this bug report

Revision history for this message
Radu Axente (radax05) wrote :

Same PC - test installations - same hardware:
Debian 9 (debian-testing-amd64-DVD-1.iso 2018-04-02 06:56 3.6G) with MATE DE, kernel 4.15.0-2-amd64

Hibernate / Resume from Hibernate works as expected!

Looks like it is not the kernel causing the Hibername / Resume from Hibernate issue.

Revision history for this message
Radu Axente (radax05) wrote :

Ubuntu MATE 18.04 Beta 2 (downloaded today) installed on the same PC.

Same issue with Hibernate / Resume from Hibernate.

Revision history for this message
Radu Axente (radax05) wrote :

Installed fresh Ubuntu Bionic 18.04 (release).

sudo pm-hibernate

-> Hibernate / Resume from Hibernate does not work. I've chosen to report the problem, but I was not asked to log in via Ubuntu One to create a bug report.

Installed Kernel 4.15.10 from here http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.15.10/ as recommended in this ticket https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1761831

Linux MRSPC3L 4.15.10-041510-generic #201803152130 SMP Thu Mar 15 21:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

sudo pm-hibernate

-> Hibernate / Resume from Hibernate does not work

Revision history for this message
Radu Axente (radax05) wrote :

As reported before, Ubuntu MATE 17.01 with ANY kernel 4.15.x or ANY kernel 4.16.x on the same PC -> Hibernate / Resume from Hibernate work perfectly!

Revision history for this message
Pavel (spvkgn) wrote :

After upgrade from 17.10 to 18.04 (via do-release-upgrade) my PC now fails to resume from hibernate.

Revision history for this message
Radu Axente (radax05) wrote :

Finally found a solution for this issue => you have to add the kernel parameter "resume=UUID=<UUID_OF_SWAP_PARTITION>" to the /etc/default/grub file: edit the file and afterwards sudo update-grub) or use Grub Customizer.

Questions:
1. Why the heck is this kernel parameter suddenly required in Ubuntu 18.04 ?
It was definitely not necessary in Ubuntu 16.10, 17.04, 17.10. No, it wasn't, on 3 PCs !!!

2. Why the heck is this kernel parameter not set automatically if it is required ?
It should be definitely set automatically. Would make everything easier for a simple user like me :-)

Revision history for this message
Geoff Hoff (gahoff) wrote :

Radu, take a look at this bug - https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1769297 As you suggested, adding the resume entry to grub worked around my inability to resume from hibernate, but the fix noted in bug #1769297 looks to be the real fix. I tested it successfully.

Revision history for this message
Radu Axente (radax05) wrote :

Thank you Geoff for pointing to the real solution. I am a bit scared of making this kind of changes to a system file, but I will give it a try. Anyway, looking forward to see the fix implemented by Canonical. Hibernate / Resume from hibernation is for me the solution for my PCs (not notebooks) since Windows XP :-) You can simply continue where you left off on PCs that are off about 16 hours a day.

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.