ASUS B150M Gaming hibernate/resume failure

Bug #1761831 reported by Radu Axente
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Ubuntu MATE 18.04 Beta 2 - ASUS B150M Gaming motherboard - Hibernate / Resume from Hibernate - does not work

ProblemType: KernelOops
DistroRelease: Ubuntu 18.04
Package: linux-image-4.15.0-13-generic 4.15.0-13.14 [modified: boot/vmlinuz-4.15.0-13-generic]
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/controlC1: mihai 1718 F.... pulseaudio
 /dev/snd/controlC0: mihai 1718 F.... pulseaudio
Date: Fri Apr 6 20:19:49 2018
DuplicateSignature: hibernate/resume:System manufacturer System Product Name:0601
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: hibernate/resume
HibernationDevice: RESUME=UUID=73c50cf6-8865-4b1e-8bc6-859390fe5c03
InstallationDate: Installed on 2018-04-06 (0 days ago)
InstallationMedia: Ubuntu-MATE 18.04 LTS "Bionic Beaver" - Beta amd64 (20180404)
InterpreterPath: /usr/bin/python3.6
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
 Bus 001 Device 004: ID 0781:5567 SanDisk Corp. Cruzer Blade
 Bus 001 Device 003: ID 046a:0023 Cherry GmbH CyMotion Master Linux Keyboard G230
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: System manufacturer System Product Name
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-13-generic root=UUID=01246553-6d0b-4885-8882-fdd7299f9693 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.5, 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
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
Title: [System manufacturer System Product Name] hibernate/resume failure
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 12/22/2016
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0601
dmi.board.asset.tag: Default string
dmi.board.name: B150M PRO GAMING
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev X.0x
dmi.chassis.asset.tag: Default string
dmi.chassis.type: 3
dmi.chassis.vendor: Default string
dmi.chassis.version: Default string
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0601:bd12/22/2016:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnB150MPROGAMING:rvrRevX.0x:cvnDefaultstring:ct3:cvrDefaultstring:
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 :

Installed kernel 4.16 from here http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.16/

Hibernate / Resume from Hibernate does not work.

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

Please, is it possible to check / fix Hibernate / Resume from Hibernate ?
I have only Desktop PCs and Hibernate is one of the main features of an OS I use.
Sleep works but is not an option for Desktop PCs that are offline (down) for more than 14 hours a day.
Thank you.

See also: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1759860

Additional information:
Acer X3-710 PC - Ubuntu MATE 17.10 and kernel 4.15.x / 4.16.x
- Hibernate / Resume from Hibernate works as expected

Acer X3-710 PC - Ubuntu MATE 18.04 Beta 2 fresh install or upgrade from Ubuntu MATE 17.10 and kernel 4.15.x / 4.16.x
- Hibernate / Resume from Hibernate does NOT WORK

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

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

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

Please try nvidia proprietary driver.

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

Ubuntu MATE-18.04 - daily build - 21.04.2018 - Uname: Linux 4.15.0.15-generic x86_64

Additional Drivers - NVIDIA Corporation: GM107 [GeForce GTX 750 Ti]
- Using NVIDIA driver metapackage from nvidia-driver-390 (proprietary, tested)

Same issue. Hibernate works (sudo pm-hibernate), but Resume from Hibernate doesn't (PC starts normal, like starting the PC after a shutdown).

Cannot submit automatic issue report. It reports "DuplicateOf: https//bugs.launchpad.net/bugs/176831" (this issue report).

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

Ubuntu MATE-18.04 - daily build - 21.04.2018 - Uname: Linux 4.15.0.15-generic x86_64

Additional Drivers - NVIDIA Corporation: GM107 [GeForce GTX 750 Ti]
- Using NVIDIA binary driver-version 340.106 from ndivia-340 (proprietary)

Same issue. Hibernate works (sudo pm-hibernate), but Resume from Hibernate doesn't (PC starts normal, like starting the PC after a normal shutdown).

Cannot submit automatic issue report, "DuplicateOf: https://bugs.launchpad.net/bugs/176831 (this issue report).

Will remove the nVidia graphic card, and re-install Ubuntu MATE-18.04 daily build (21.04.2018), but I have no hope that it will work.

Please check:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1759860 (just the Intel CPU and the available Intel GPU) - specially this comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1759860/comments/7

Looks like there is no issue with Debian 9 and Linux Kernels 4.15 / 4.16.

Please also check my comments here: https://ubuntu-mate.community/t/hibernation-broken-in-kernel-4-13-0-25/15736

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

Ubuntu MATE-18.04 - daily build - 21.04.2018 - Kernel 4.16.3-041603.201804190730 (via ukuu)

Additional Drivers - NVIDIA Corporation: GM107 [GeForce GTX 750 Ti]
- Using NVIDIA binary driver-version 340.106 from ndivia-340 (proprietary)

Same issue, hibernate works, resume from hibernate - error!

Cannot automatically submit issue reports "UnreportableReason: This is not an official Ubuntu package. Please remove any third party package and try again."

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

While booting (ALT+F1) following message are shown:

[0.000000] [Firmware Bug]: TSC_DEADLINE disabled due to Errata; please update microcode to version 0xb2 (or later)
[0.000000] ACPI BIOS Error (bug): Failure looking up [\SP.PCIO.XHC.RHUB.HS11], AE_NOT_FOUND (20180105/dswload-211)
[0.000000] ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20180105/psobject-252)
[0.000000] ACPI Error: AE_NOT_FOUND, (SSDT:xh_rvp08) while loading table (20180105/tbxfload-228)
[0.000000] ACPI Error: 1 table load failures, 8 successful (20180105/tbxfload-246)

Ubuntu Bionic Beaver (development branch) MRSPC4L tty1

Don't think this is an issue for my MAIN ISSUE (Hibernate / Resume from Hibernate).
Reason: I receive such / similar messages on my PCs (3 / three) running Ubuntu MATE 17.10 where Hibernate / Resume from Hibernate work perfectly with Linux Kernel 4.15.x / 4.16.x (installed via ukuu).

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

You may want to try 4.15.0-10-generic. A user reported that it's a regression started from 4.15.0-12-generic.

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

Fresh install of Ubuntu 18.04 (release) - both MATE / GNOME (vanilla):

- Hibernate / Resume from Hibernate does not work

Installed kernel 4.15.0-10-generic, as recommended - both MATE / GNOME (vanilla):

- Hibernate / Resume from Hibernate does not work.

Unfortunately, cannot report the issue automatically, as I am not offered the login to Ubuntu ONE as before Ubuntu release 18.04.

As stated before, same PC:
- Ubuntu MATE or GNIME (vanilla) 17.10 with ANY kernel 4.15.x -> Hibernate / Resume from Hibernate works perfectly
- Ubuntu MATE or GNOME (vanilla) 17.10 with ANY kernel 4.16.x (x = [1,3]) -> Hibernate / Resume from Hibernate works perfectly
- Linux Mint 18.3 with ANY kernel 4.15.x and ANY kernel 4.16.x (as before) -> Hibernate / Resume from Hibernate works perfectly
- Debian 9 with ANY kernel 4.15.x and ANAY kernel 4.16.x (as before) -> Hibernate / Resume from Hibernate works perfectly

So sad :(

I'd like to help you further in debugging this issue, because fixing it is very important to me! Hibernate / Resume from Hibernate do NOT WORK on any of the 3 PCs I own.
Because of this issue I will stick with Ubuntu (MATE) 17.10 until the issue is fixed or I decide to move to another distro where this issue is not existent / fixed.

Thank you :)

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

According to this:
Acer X3-710 PC - Ubuntu MATE 17.10 and kernel 4.15.x / 4.16.x
- Hibernate / Resume from Hibernate works as expected

Acer X3-710 PC - Ubuntu MATE 18.04 Beta 2 fresh install or upgrade from Ubuntu MATE 17.10 and kernel 4.15.x / 4.16.x
- Hibernate / Resume from Hibernate does NOT WORK

Sounds like it's not a kernel issue.

When the resume failed, does the led turns on/off when you press caps lock?

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

For all 3 (three) PCs (Acer X3-710, B150M Gaming Pro and ASUS P8H67-M PRO):

1. Ubuntu MATE 17.10 & kernel 4.15.x / 4.16.x => Hibernate / Resume from Hibernate works perfectly

2. Ubuntu MATE 17.10 & kernel 4.13.0.21 => Hibernate / Resume from Hibernate works perfectly

3. Ubuntu MATE 17.10 & kernel 4.13.0.y (y >=25) => Hibernate / Resume from Hibernate does not work at all
- PC restarts and a few seconds later the monitor goes black and shortly after in suspend mode
- keyboard is frozen / dead
- pressing any key of the keyboard does nothing, pressing Caps-Lock does nothing
- see https://ubuntu-mate.community/t/hibernation-broken-in-kernel-4-13-0-25/15736

4. Ubuntu MATE 18.04 & kernel 4.15.x (x = any available) / 4.16.x (x <= 3) => Hibernate / Resume from Hibernate does not work
- PC starts as if I would've rebooted it instead of resuming it from hibernate
- I can work normally but previous state / session is not restored
- the error window appears stating that "This occurred during a previous hibernation, and prevented the system from resuming properly" - unfortunately it does not offer submit any other bug reports (even if I click "Continue")
- it's the same behaviour: for any of the listed PCs when upgraded from 17.10 to 18.04 or fresh install of 18.04 (Beta 1, Beta 2
 or Release)

This is the reason why I do not thing that kernels 4.15 / 4.16 are the reason for this issue, but I may be totally wrong.

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

Adding the kernel parameter "resume=UUID=<UUID_OF_SWAP_PARTITION>" in the /etc/default/grub file, solved the issue.

Hibernate / Resume from Hibernate does work as expected now.

Just wondering why this worked without the named parameter in Ubuntu 16.10, 17.04. 17.10...

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Then I guess this is the same one as LP: #1769297?

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

Suppose it is the same as https://bugs.launchpad.net/bugs/1769297

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :

Thanks. I'll mark this as a duplicate then.

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.