[HP Compaq 6530b Notebook PC] Unable to hibernate with Ubuntu 14.04

Bug #1313300 reported by Kunjesh Kaushik
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

I am unable to hibernation mode. I have already allocated enough of swap space on a separate disk partition.

I was testing hibernation support as suggested at https://wiki.ubuntu.com/DebuggingKernelHibernate and https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt. Specifically, I was testing using commands like the following:
cd /sys/power
echo shutdown > disk
echo platform > pm_test
echo disk > state

WORKAROUND: adding the "resume=" command line parameter with the specific path to the swap space of the separate disk partition.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: linux-image-3.13.0-24-generic 3.13.0-24.46 [modified: boot/vmlinuz-3.13.0-24-generic]
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: kunjesh 2374 F.... pulseaudio
CRDA:
 country IN:
  (2402 - 2482 @ 40), (N/A, 20)
  (5170 - 5250 @ 40), (N/A, 20)
  (5250 - 5330 @ 40), (N/A, 20), DFS
  (5735 - 5835 @ 40), (N/A, 20)
Date: Sun Apr 27 14:46:42 2014
InstallationDate: Installed on 2014-04-22 (4 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
MachineType: Hewlett-Packard HP Compaq 6530b
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-24-generic root=UUID=a0597d70-ce7b-4dcd-b7cb-30a9f760e21f ro quiet splash 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-3.13.0-24-generic N/A
 linux-backports-modules-3.13.0-24-generic N/A
 linux-firmware 1.127
SourcePackage: linux
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/07/2011
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68PDD Ver. F.20
dmi.board.name: 30DD
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 96.23
dmi.chassis.asset.tag: SGH9390GLT
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68PDDVer.F.20:bd12/07/2011:svnHewlett-Packard:pnHPCompaq6530b:pvrF.20:rvnHewlett-Packard:rn30DD:rvrKBCVersion96.23:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6530b
dmi.product.version: F.20
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Kunjesh Kaushik (kunjesh) 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
penalvch (penalvch) wrote :

Kunjesh Kaushik, 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-3.15-rc2

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.20
summary: - Unable to hibernate HP6530b with fresh install of Ubuntu 14.04
+ [HP Compaq 6530b Notebook PC] Unable to hibernate with Ubuntu 14.04
description: updated
Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

Tested with 3.15.0-031500rc2-generic. Details available in below. Bottomline --- bug still exists; I am unable to hibernate the device, although suspend still works well.

# booted with no_console_suspend, switched to VT-1

sudo su
cd /sys/power
cat disk pm_test state

lsmod > lsmod.output.txt
dmesg > dmesg-output.txt

echo devices > pm_test
echo platform > disk
echo disk > state
dmesg > dmesg-devices-platform.txt

echo core > pm_test
echo platform > disk
echo disk > state
dmesg > dmesg-core-platform.txt

# ^^ the only messages were from pciehp not able to hot-add existing devices

echo core > pm_test
echo reboot > disk
echo disk > state
dmesg > dmesg-core-reboot.txt

# ^^ pciehp still complained; no (machine) reboot happened
# just that the machine took a quick nap and woke up again
# but I guess, that is how the pm_test functionality works

echo none > pm_test
echo shutdown > disk
echo disk > state

# ^^ machine powered down and did not come up after reboot

# logged into desktop after booting up

dmesg > dmesg-after-reboot.txt
sudo pm-hibernate

# ^^ failed to resume after reboot yet again

dmesg > dmesg-after-pm-hibernate.txt

Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

only incremental message after 01-dmesg-devices-platform.txt (the last attachment) have been retained

Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

only incremental message after 02-dmesg-core-platform.txt have been retained

Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

dmesg after reboot and before pm-hibernate

Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

pm-suspend log recovered after rebooting

tags: added: kernel-bug-exists-upstream kernel-bug-exists-upstream-3.15.0-031500rc2-generic
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Kunjesh Kaushik, did this problem not occur in a release prior to Trusty?

tags: added: kernel-bug-exists-upstream-3.15-rc2
removed: kernel-bug-exists-upstream-3.15.0-031500rc2-generic
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

Hi Christopher,

Thanks a lot for help and support.

As it turns out, I have found the crux of the problem now and also worked around it. As I reviewed the dmesg output from my previous posts, I realized that hibernation image creation was working fine, as was restoring it when the kernel knew where to look.

To cut a long story short, when I helped the kernel find the hibernation image by adding the "resume=" command line parameter, it worked like a charm. I successfully did "sudo pm-hibernate" with both kernel versions 3.13.0-24-generic and 3.15.0-031500rc2-generic.

I am attaching the dmesg output for 3.13.0-24-generic. Please let me know how to proceed with this bug report.

Thanks,
Kunjesh.

penalvch (penalvch)
description: updated
Revision history for this message
Kunjesh Kaushik (kunjesh) wrote :

To answer your question about previous releases, I couldn't say as this is for the first installation of ubuntu on this machine.

PS: Although "sudo pm-hibernate" was working flawlessly, enountered bug https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1184262 while using the system menu. Successfully applied the workaround mentioned therein: https://bugs.launchpad.net/ubuntu/+source/systemd-shim/+bug/1184262/+attachment/3868749/+files/network-manager :-)

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.