Public bug reported: I am able to put my computer to suspend mode (STR) but not to hibernation mode (STD). I have already allocated enough of swap space on a separate disk partition. But it is not working.
I have not been able to isolate the problem between suspend and resume, and so 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 So far all the suspend tasks work okay; still no joy!! == My observations == I came across two interesting things in the dmesg output: 1. PCI HotPlug is always reporting existing devices while trying to resume. | [ 3098.516294] pciehp 0000:00:1c.5:pcie04: Device 0000:85:00.0 already exists at 0000:85:00, cannot hot-add | [ 3098.516300] pciehp 0000:00:1c.1:pcie04: Device 0000:02:00.0 already exists at 0000:02:00, cannot hot-add | [ 3098.516304] pciehp 0000:00:1c.5:pcie04: Cannot add device at 0000:85:00 | [ 3098.516307] pciehp 0000:00:1c.1:pcie04: Cannot add device at 0000:02:00 I suspect these devices (which happen to be for the ethernet and the wifi) are not allowing the suspend to proceed. A little bit of searching also led me to http://comments.gmane.org/gmane.linux.kernel.pci/19876 which indicates that this problem may be a regression. 2. ACPI is also complaining about AE_AML_PACKAGE_LIMIT exception, although only once, at the boot time. | [ 16.019199] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device | [ 16.019201] i915 0000:00:02.0: registered panic notifier | [ 16.024728] usb 3-1: USB disconnect, device number 2 | [ 16.344378] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x5) (20131115/exoparg2-420) | [ 16.344388] ACPI Error: Method parse/execution failed [\_SB_.PCI0.GFX0._DOD] (Node ffff8800b9a622f8), AE_AML_PACKAGE_LIMIT (20131115/psparse-536) | [ 16.344399] ACPI Exception: AE_AML_PACKAGE_LIMIT, Evaluating _DOD (20131115/video-1246) | [ 16.500280] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) | [ 16.502361] acpi device:04: registered as cooling_device7 This need not be of any consequence; just something I thought would be interesting. == Addtional information == 1. Earlier, I had blacklisted all tpm* modules after I had discovered that the tpm_tsi module was trying to access the TPM chip. The problem has existed before as well as after this blacklisting. FYI, the blacklist information is pasted below: | # remove all tpm (trusted platform module) drivers | # location: /lib/modules/$(uname -r)/kernel/drivers/char/tpm/* | blacklist tpm_atmel | blacklist tpm_i2c_atmel | blacklist tpm_i2c_infineon | blacklist tpm_i2c_nuvoton | blacklist tpm_i2c_stm_st33 | blacklist tpm_infineon | blacklist tpm_nsc | blacklist xen-tpmfront 2. Here is the output of the relevant commands directly from my terminal: [Sun 2014-04-27 IST 15:20:50] $ uname -a Linux xxxxxx 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [Sun 2014-04-27 IST 15:24:08] $ lsb_release -rd Description: Ubuntu 14.04 LTS Release: 14.04 [Sun 2014-04-27 IST 15:26:14] $ apt-cache policy linux-image-3.13.0-24-generic linux-image-3.13.0-24-generic: Installed: 3.13.0-24.46 Candidate: 3.13.0-24.46 Version table: *** 3.13.0-24.46 0 500 http://in.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 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 ** Affects: linux (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1313300 Title: Unable to hibernate HP6530b with fresh install of Ubuntu 14.04 Status in “linux” package in Ubuntu: New Bug description: I am able to put my computer to suspend mode (STR) but not to hibernation mode (STD). I have already allocated enough of swap space on a separate disk partition. But it is not working. I have not been able to isolate the problem between suspend and resume, and so 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 So far all the suspend tasks work okay; still no joy!! == My observations == I came across two interesting things in the dmesg output: 1. PCI HotPlug is always reporting existing devices while trying to resume. | [ 3098.516294] pciehp 0000:00:1c.5:pcie04: Device 0000:85:00.0 already exists at 0000:85:00, cannot hot-add | [ 3098.516300] pciehp 0000:00:1c.1:pcie04: Device 0000:02:00.0 already exists at 0000:02:00, cannot hot-add | [ 3098.516304] pciehp 0000:00:1c.5:pcie04: Cannot add device at 0000:85:00 | [ 3098.516307] pciehp 0000:00:1c.1:pcie04: Cannot add device at 0000:02:00 I suspect these devices (which happen to be for the ethernet and the wifi) are not allowing the suspend to proceed. A little bit of searching also led me to http://comments.gmane.org/gmane.linux.kernel.pci/19876 which indicates that this problem may be a regression. 2. ACPI is also complaining about AE_AML_PACKAGE_LIMIT exception, although only once, at the boot time. | [ 16.019199] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device | [ 16.019201] i915 0000:00:02.0: registered panic notifier | [ 16.024728] usb 3-1: USB disconnect, device number 2 | [ 16.344378] ACPI Exception: AE_AML_PACKAGE_LIMIT, Index (0x000000005) is beyond end of object (length 0x5) (20131115/exoparg2-420) | [ 16.344388] ACPI Error: Method parse/execution failed [\_SB_.PCI0.GFX0._DOD] (Node ffff8800b9a622f8), AE_AML_PACKAGE_LIMIT (20131115/psparse-536) | [ 16.344399] ACPI Exception: AE_AML_PACKAGE_LIMIT, Evaluating _DOD (20131115/video-1246) | [ 16.500280] ACPI: Video Device [GFX0] (multi-head: yes rom: no post: no) | [ 16.502361] acpi device:04: registered as cooling_device7 This need not be of any consequence; just something I thought would be interesting. == Addtional information == 1. Earlier, I had blacklisted all tpm* modules after I had discovered that the tpm_tsi module was trying to access the TPM chip. The problem has existed before as well as after this blacklisting. FYI, the blacklist information is pasted below: | # remove all tpm (trusted platform module) drivers | # location: /lib/modules/$(uname -r)/kernel/drivers/char/tpm/* | blacklist tpm_atmel | blacklist tpm_i2c_atmel | blacklist tpm_i2c_infineon | blacklist tpm_i2c_nuvoton | blacklist tpm_i2c_stm_st33 | blacklist tpm_infineon | blacklist tpm_nsc | blacklist xen-tpmfront 2. Here is the output of the relevant commands directly from my terminal: [Sun 2014-04-27 IST 15:20:50] $ uname -a Linux xxxxxx 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux [Sun 2014-04-27 IST 15:24:08] $ lsb_release -rd Description: Ubuntu 14.04 LTS Release: 14.04 [Sun 2014-04-27 IST 15:26:14] $ apt-cache policy linux-image-3.13.0-24-generic linux-image-3.13.0-24-generic: Installed: 3.13.0-24.46 Candidate: 3.13.0-24.46 Version table: *** 3.13.0-24.46 0 500 http://in.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages 100 /var/lib/dpkg/status 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 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1313300/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp