Can't suspend to ram, since linux3.11 and more

Bug #1606178 reported by xzu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

I can't suspend to ram since linux 3.11, with ubuntu12.04. Older version (3.8, 3.5 etc..) suspend perfectly.
So, I can't suspend with ubuntu 14.04 and 16.04. :(
Solutions from here (specially test newer kernels) don't work for me: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1566302
ASRock N68C-S UCC, with phenomIIx4 processor.

~$ uname -a
Linux DDX-STUDIO 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

~$ sudo dmidecode -t baseboard
# dmidecode 2.11
SMBIOS 2.4 present.

Handle 0x0002, DMI type 2, 15 bytes
Base Board Information
 Manufacturer: ASRock
 Product Name: N68C-S UCC
 Version:
 Serial Number:
 Asset Tag:
 Features:
  Board is a hosting board
  Board is replaceable
 Location In Chassis:
 Chassis Handle: 0x0003
 Type: Motherboard
 Contained Object Handles: 0

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: linux-image-4.4.0-28-generic 4.4.0-28.47
ProcVersionSignature: Ubuntu 4.4.0-28.47-generic 4.4.13
Uname: Linux 4.4.0-28-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/hwC1D0', '/dev/snd/pcmC1D3p', '/dev/snd/controlC1', '/dev/snd/by-path', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/controlC0', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CurrentDesktop: XFCE
Date: Mon Jul 25 12:00:17 2016
HibernationDevice: RESUME=UUID=3d14e312-ebd4-4129-9183-dcb17519893d
IwConfig:
 lo no wireless extensions.

 enp0s7 no wireless extensions.
Lsusb:
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 Bus 002 Device 004: ID 0810:0001 Personal Communication Systems, Inc. Dual PSX Adaptor
 Bus 002 Device 003: ID 058f:9360 Alcor Micro Corp. 8-in-1 Media Card Reader
 Bus 002 Device 002: ID 056a:00b2 Wacom Co., Ltd Intuos3 9x12
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-28-generic root=UUID=7411581c-dc6e-4be3-85ba-bf5ae0c61bbc ro splash quiet vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-28-generic N/A
 linux-backports-modules-4.4.0-28-generic N/A
 linux-firmware 1.157.2
RfKill:

SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 09/19/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: P1.60
dmi.board.name: N68C-S UCC
dmi.board.vendor: ASRock
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.60:bd09/19/2011:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnN68C-SUCC:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: To Be Filled By O.E.M.

Revision history for this message
xzu (xzurukneg) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

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

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
xzu (xzurukneg) wrote :

Note: for most of kernels tested, the suspend seem to work, the screen turn blank and cpu fan seem off, but the CD drive make a noise (same as when I boot) and then the system resume (with certain kernels, there is no way to resume).

With 4.7:
the login screen is a little strange: the mouse cursor flashes quickly, but then I can get the login normally.
Unfortunately, the suspend seem to work (no auto-resume) but in fact the system is not suspend, the CPU fan is still running (and the led indicate PC is on, not sleeping).
:/

tags: added: kernel-bug-exists-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
xzu (xzurukneg) wrote :

I'll test 3.5 kernel (suspend working with ubuntu12.04) for fun.

Please tell me if I can do something to help to resolve this issue, I'm still running 12.04 just because of that!

Revision history for this message
xzu (xzurukneg) wrote :

With "sudo pm-suspend" the system quickly auto-resume (nearly nothing happen).
No terminal output.

Revision history for this message
penalvch (penalvch) wrote :

xzu, the next step is to fully commit bisect from kernel 3.8 to 3.11 in order to identify the last good kernel commit, followed immediately by the first bad one. This will allow for a more expedited analysis of the root cause of your issue. Could you please do this following https://wiki.ubuntu.com/Kernel/KernelBisection ?

Please note, finding adjacent kernel versions is not fully commit bisecting.

Also, the kernel release names are irrelevant for the purposes of bisecting.

After the offending commit (not kernel version) has been identified, then please mark this report Status Confirmed.

Thank you for your help.

tags: added: latest-bios-1.60 regression-release trusty
removed: asrock n68c-s ucc
tags: added: kernel-bug-exists-upstream-4.7 needs-bisect
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
xzu (xzurukneg) wrote :

Please consider all this take time, and I also need to find workaround, and work to live.
Sorry for delay, I'll do this, but can't certify when.

Revision history for this message
xzu (xzurukneg) wrote :

Found it.
So with ubuntu 12.04:
ii linux-image-3.10.103-0310103-generic 3.10.103-0310103.201608311738 Linux kernel image for version 3.10.103 on 64 bit x86 SMP
=>suspend works

ii linux-image-3.11.0-031100rc1-generic 3.11.0-031100rc1.201307141935 Linux kernel image for version 3.11.0 on 64 bit x86 SMP
=>suspend don't work

Exactly the same symptoms as with other later kernels, with ubuntu 14.04 and 16.04.

Changed in linux (Ubuntu):
status: Expired → Confirmed
Revision history for this message
xzu (xzurukneg) wrote :

Is this enough? (not sure to understand the total process)

Revision history for this message
penalvch (penalvch) wrote :
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
xzu (xzurukneg) wrote :

I'm just a musician, not computer scientist.
All that seem quite "advanced".
Can you tell me what you're waiting for with your words.
English is not my own language, maybe reading you will help me to understand what is needed to do.
Anyway, any help welcome.

"After the offending commit (not kernel version) has been identified" => I don't get the sense of that. What do "offending commit" means?

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
xzu (xzurukneg) wrote :

I finally found some help from a friend and he explain me what you're waiting for. I think I'll can do that (or we), but that will take time. Can't tell when.

Revision history for this message
xzu (xzurukneg) wrote :

I'm supposed to bisect this week.

Revision history for this message
xzu (xzurukneg) wrote :

Well, someone help me and we finally don't do the bisect:
all I can say: the problem comes with the 3.11.0-031100rc1.201307141935 Linux kernel image for ubuntu kernel release.
We don't find the main kernel corresponding, and we esteemed that will be a very to big work for no guarantee.

So we try to find a solution with 16.04, because the goal of all this is to suspend with an higher kernel than 3.10 with my hardware.

We found it by first do:
 -disable usb wake up ( cat /proc/acpi/wakeup to check what is enable)
 -then, I need to first do sudo pm-suspend in the session. If I don't, I can't resume.
If I do first sudo pm-suspend in the session, then I can resume normally.
So I need to do this if I reboot.

So workaround found, this thread can be closed!

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.