[HP EliteBook 8740w] suspend/resume failure

Bug #1255700 reported by Michiel Janssens
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Put system in suspend. Quickly wake it up via sleep button on the keyboard. (within about 3 to 5 seconds) System goes on briefly (about 3 to 5 seconds), crashes and reboots.
This crash happened with the lid closed all the time and a separate keyboard connected.

This issue also happens with the lid open, but mostly I don't have a separate keyboard connected. In that case it will only wake up by pushing the power button. Lid opening doesn't trigger a wake, but I guess I will have to file a separate bug report for that.

WORKAROUND: If I wait much longer (say a minute or longer) before waking the system, resume works perfectly.

WORKAROUND: Press power button instead of suspend button.

ProblemType: KernelOops
DistroRelease: Ubuntu 13.10
Package: linux-image-3.11.0-13-generic 3.11.0-13.20
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
Annotation: This occured during a previous suspend and prevented it from resuming properly.
ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: michiel 2740 F.... pulseaudio
 /dev/snd/controlC0: michiel 2740 F.... pulseaudio
Date: Wed Nov 27 22:04:05 2013
ExecutablePath: /usr/share/apport/apportcheckresume
Failure: suspend/resume
HibernationDevice: RESUME=UUID=9d9a11d9-b882-4b87-9926-e8da9e04d900
InstallationDate: Installed on 2013-10-27 (31 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
InterpreterPath: /usr/bin/python3.3
MachineType: Hewlett-Packard HP EliteBook 8740w
MarkForUpload: True
PccardctlStatus:
 Socket 0:
   3.3V
  16-bit
  PC Card
   Subdevice 0 (function 0) bound to driver "pata_pcmcia"
ProcCmdline: /usr/bin/python3 /usr/share/apport/apportcheckresume
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
ProcFB: 0 radeondrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.11.0-13-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash radeon.dpm=1
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: Daemon not responding.
RelatedPackageVersions:
 linux-restricted-modules-3.11.0-13-generic N/A
 linux-backports-modules-3.11.0-13-generic N/A
 linux-firmware 1.116
SourcePackage: linux
Title: [Hewlett-Packard HP EliteBook 8740w] suspend/resume failure
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

dmi.bios.date: 06/13/2012
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68CAD Ver. F.22
dmi.board.name: 1520
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 33.31
dmi.chassis.asset.tag: CNU1152Q9W
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68CADVer.F.22:bd06/13/2012:svnHewlett-Packard:pnHPEliteBook8740w:pvr:rvnHewlett-Packard:rn1520:rvrKBCVersion33.31:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP EliteBook 8740w
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Michiel Janssens (janssensm) 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
Michiel Janssens (janssensm) wrote : Re: [Hewlett-Packard HP EliteBook 8740w] suspend/resume failure

Tested with 3.12.0-031200-generic #201311031935, same issue exists. No difference.

Also attached cat /proc/acpi/wakeup > wakeup

Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, could you please test the latest upstream kernel available (not the daily folder) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc1

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: latest-bios-f.22 needs-upstream-testing regression-potential
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-v3.13-rc1
removed: needs-upstream-testing
Revision history for this message
Michiel Janssens (janssensm) wrote :

Tested with upstream kernel 3.13.0-031300rc1.201311221535.
Same results for this particular issue.

But with this upstream kernel the system doesn't shutdown properly.
It begins shutting down, screen goes blank. After that it's non-responsive, power/fan/leds ar still on.
I then have to long-press the power button to force shutdown.
This only appears with upstream kernel, not with current kernel 3.11.0-13.20

Another thing I noticed:
The reported issue appears when suspending for the first time since booting the system.
However, when waiting a minute after first suspend to wake it up, the issue seems almost gone. Resuming from suspend within 2 seconds is possible, multiple times.

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

Michiel Janssens, did this problem not occur in a release prior to Saucy?

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Michiel Janssens (janssensm) wrote :

Hi Christopher,
This also occurred in raring, but I did not report it then, all main kernel versions.
Decided after a while to go experimenting with raring with UEFI Bios options enabled, in the hope that it would respond better, but came to conclusion that it's a very experimental option in my systems BIOS.
So when Saucy came out I turned UEFI off and using the default BIOS settings since saucy fresh install

Before saucy I was running WIndows 7, but cannot recall if this issue happened there.
Running encrypted disk at the moment so installing windows dualboot must be done on an external esata disk.
If this is an option worth investigating please let me know.

penalvch (penalvch)
tags: added: raring
Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, one may test suspend via a live environment, so no need to install on esata at this point.

Despite this, for regression testing purposes, could you please test for this in Precise via http://releases.ubuntu.com/precise/ and advise to the results?

tags: added: kernel-bug-exists-upstream-v3.13-rc2
removed: kernel-bug-exists-upstream-v3.13-rc1
Revision history for this message
Michiel Janssens (janssensm) wrote :

Hi Christopher,

Did some testing as you requested via live usb.
In 12.04 and 12.04.3 the issue is the same.

Also saw that mainline kernel v3.13-rc2 was available, so tested with that also.
No difference, and like v3.13-rc1 shutdown doesn't work.

Changed the tag from kernel-bug-exists-upstream-v3.13-rc1 to kernel-bug-exists-upstream-v3.13-rc2, if thats ok.

penalvch (penalvch)
tags: added: precise
removed: regression-potential
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, quick follow up question, when you wake it via the sleep button on the keyboard within 3-5 seconds, has the system finished suspending?

Revision history for this message
Michiel Janssens (janssensm) wrote :

Hi Christopher,
Every time I test resume, the system is finshed suspending, so screen is off, disks are of, only power led is fading in and out, indicating that its in suspend mode.
Waking the laptop via sleep button is not possible. Only the power button short-press wakes the system.

Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, for regression testing purposes, could you please test for this in live Lucid via http://old-releases.ubuntu.com/releases/lucid/ ?

description: updated
Changed in linux (Ubuntu):
importance: Medium → Low
Revision history for this message
Michiel Janssens (janssensm) wrote :

Tested from live usb:
10.04.4 has same issues as reported, going into suspend takes a few seconds longer then saucy.
10.04 won't suspend. When suspending, screen goes black, leds stay on. Then after 10-15 seconds the screen turns back on again. Shutdown works however.

Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, the issue you are reporting is an upstream one. Could you please report this problem through the appropriate channel (may want to start with linux-pm) by following the instructions _verbatim_ at https://wiki.ubuntu.com/Bugs/Upstream/kernel#KernelTeam.2BAC8-KernelTeamBugPolicies.Overview_on_Reporting_Bugs_Upstream ?

Please provide a direct URL to your post once you have made it so that it may be tracked.

Thank you for your understanding.

tags: added: lucid
Changed in linux (Ubuntu):
status: Incomplete → Triaged
summary: - [Hewlett-Packard HP EliteBook 8740w] suspend/resume failure
+ [HP EliteBook 8740w] suspend/resume failure
Revision history for this message
Michiel Janssens (janssensm) wrote :

Hi Chirstopher,

The direct url to my post to linux-pm mailinglist:
http://marc.info/?l=linux-pm&m=138617691100712&w=2

tags: added: kernel-bug-exists-upstream-v3.13-rc3
removed: kernel-bug-exists-upstream-v3.13-rc2
Revision history for this message
Michiel Janssens (janssensm) wrote :

It has been a while.
Tested again. Bios still the same.
Now with v4.3-wily kernel. Still the same result.
Now tested with Windows 10 also. Got the same result there too.
I think this really is a bios issue, probably wont be fixed if I ask HP, because its an older model.
And I've learned to live with it.

Better to close the bug report.

penalvch (penalvch)
tags: added: bios-outdated-f.50 kernel-bug-exists-upstream-4.3
removed: kernel-bug-exists-upstream-v3.13-rc3 latest-bios-f.22
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Michiel Janssens (janssensm) wrote :

Sorry, you are correct that in the posted log, the outdated bios was used.

Output of sudo dmidecode -s bios-version && sudo dmidecode -s bios-release-date:
68CAD Ver. F.50
07/07/2014

Comment #16 testing was done with this latest bios installed.

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

Michiel Janssens, could you please provide the missing information following https://wiki.ubuntu.com/DebuggingKernelSuspend ?

tags: added: latest-bios-f.50
removed: bios-outdated-f.50
Changed in linux (Ubuntu):
importance: Low → Medium
status: Confirmed → Incomplete
Revision history for this message
Michiel Janssens (janssensm) wrote :

Did a suspend resume test, with 15.10, kernel v4.3.
No external monitors connected.

Executed:
sudo sh -c "sync && echo 1 > /sys/power/pm_trace && pm-suspend"
several seconds after suspend (system is really suspended, blue suspend light is glowing), put it in resume with power button.
As before, other lights go on very shortly, system crashes (all lights off, sound of hdd shutting down not normally, same as long-pressing power button while system running), few seconds after that, system boots by itself, so not resumed.
Did same test with an extra udev rule so that resume with external mouse or keyboard works, same behaviour.

Added dmesg_crash.txt and cat /proc/acpi/wakeup output

Revision history for this message
Michiel Janssens (janssensm) wrote :
Revision history for this message
penalvch (penalvch) wrote :

Michiel Janssens, if you remove the parameter radeon.dpm=1 does this change anything?

Revision history for this message
Michiel Janssens (janssensm) wrote :

In the initial report the parameter radeon.dpm=1 was used.
However in newer kernels this setting is default, so dpm is enabled by default.

Nevertheless tested latest kernel v4.3 with parameter radeon.dpm=0, no effect

Also tested with parameter pcie_aspm=force and pcie_aspm=off, no effect
pm-suspend with several combinations of quircks --quirk-s3-bios --quirk-vbe-post --quirk-vbemode-restore, no effect.

penalvch (penalvch)
Changed in linux (Ubuntu):
status: Incomplete → Triaged
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.