← Back to team overview

kernel-packages team mailing list archive

[Bug 1360753] Re: Kernel hibernate fails with "PM: Swap header not found!" when multiple swap spaces are enabled (even though the resume parameter is specific)

 

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

** Changed in: linux (Ubuntu)
       Status: Incomplete => Expired

-- 
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/1360753

Title:
  Kernel hibernate fails with "PM: Swap header not found!" when multiple
  swap spaces are enabled (even though the resume parameter is specific)

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  I am attempting to set up working hibernation in Linux (Which I define
  as hibernation that works no matter how full my RAM and swap are) and
  have found it to be impossible with any of the hibernation systems.
  this bug is about the failure using the "kernel" method, which is at
  least a well defined failure.

  My setup is the following:
  Kubuntu 14.04 amd64 with 32GiB RAM, and a 32GiB swap file, with a 32GiB swap partition that is enabled in a /etc/pm/sleep.d/ script and disabled on thaw. The UUID of the partition is set in both /etc/default/grub (GRUB_CMDLINE_LINUX_DEFAULT) and /etc/initramfs-tools/conf.d/resume.

  when /etc/pm/config.d/00sleep_module has SLEEP_MODULE=kernel then I
  can actually successfully hibernate and resume IF I swapoff the swap
  file first, which defeats the purpose. (SLEEP_MODULE=uswsusp is
  another story for another bug, and TuxOnIce has been broken for a
  year, which I know is not your concern)

  If I leave the swap file active then when I attempt to hibernate, here
  is the relevant portion of kern.log:

  Aug 23 20:46:50 Kary3 kernel: [ 1082.954288] PM: Using 3 thread(s) for compression.
  Aug 23 20:46:50 Kary3 kernel: [ 1082.954288] PM: Compressing and saving image data (1564322 pages)...
  Aug 23 20:46:50 Kary3 kernel: [ 1082.954310] PM: Image saving progress:   0%
  Aug 23 20:46:50 Kary3 kernel: [ 1083.561489] PM: Image saving progress:  10%
  Aug 23 20:46:50 Kary3 kernel: [ 1084.121086] PM: Image saving progress:  20%
  Aug 23 20:46:50 Kary3 kernel: [ 1084.628528] PM: Image saving progress:  30%
  Aug 23 20:46:50 Kary3 kernel: [ 1085.137493] PM: Image saving progress:  40%
  Aug 23 20:46:50 Kary3 kernel: [ 1085.762849] PM: Image saving progress:  50%
  Aug 23 20:46:50 Kary3 kernel: [ 1086.331736] PM: Image saving progress:  60%
  Aug 23 20:46:50 Kary3 kernel: [ 1086.931991] PM: Image saving progress:  70%
  Aug 23 20:46:50 Kary3 kernel: [ 1087.798796] PM: Image saving progress:  80%
  Aug 23 20:46:50 Kary3 kernel: [ 1089.088755] PM: Image saving progress:  90%
  Aug 23 20:46:50 Kary3 kernel: [ 1089.585940] PM: Image saving progress: 100%
  Aug 23 20:46:50 Kary3 kernel: [ 1089.635822] PM: Image saving done.
  Aug 23 20:46:50 Kary3 kernel: [ 1089.635827] PM: Wrote 6257288 kbytes in 6.67 seconds (938.12 MB/s)
  Aug 23 20:46:50 Kary3 kernel: [ 1089.636098] PM: S
  Aug 23 20:46:50 Kary3 kernel: [ 1089.636386] PM: Swap header not found!
  Aug 23 20:46:50 Kary3 kernel: [ 1089.636443] |
  Aug 23 20:46:50 Kary3 kernel: [ 1089.874934] PM: Basic memory bitmaps freed
  Aug 23 20:46:50 Kary3 kernel: [ 1089.874937] Restarting tasks ... done.

  (and then it starts trying to restore stuff, note that Xorg seems to
  be broken at this point: if I switch to or started from VT7 the system
  locks up, which does not happen on a successful hibernate and restore)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-generic 3.13.0.33.39
  ProcVersionSignature: Ubuntu 3.13.0-33.58-generic 3.13.11.4
  Uname: Linux 3.13.0-33-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  davidgro   4222 F.... pulseaudio
   /dev/snd/controlC0:  davidgro   4222 F.... pulseaudio
  Date: Sat Aug 23 23:06:16 2014
  HibernationDevice: RESUME=UUID=97769582-d21a-4da9-90f4-34c5bc5e32ad
  InstallationDate: Installed on 2011-12-17 (980 days ago)
  InstallationMedia: Kubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
  MachineType: Micro-Star International Co., Ltd. GT680R/GX680R/GT683R/GT683DXR/GX660DXR
  ProcEnviron:
   LANGUAGE=en_US
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcFB:
   
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-33-generic root=UUID=7ecb4502-e502-4626-9dbd-cfeda3f5e0aa ro resume=UUID=97769582-d21a-4da9-90f4-34c5bc5e32ad nomodeset
  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-33-generic N/A
   linux-backports-modules-3.13.0-33-generic  N/A
   linux-firmware                             1.127.5
  SourcePackage: linux
  StagingDrivers: rts5139
  UpgradeStatus: Upgraded to trusty on 2014-06-26 (58 days ago)
  dmi.bios.date: 09/01/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: E16F2IMS V3.0U
  dmi.board.asset.tag: To be filled by O.E.M.
  dmi.board.name: MS-16F2
  dmi.board.vendor: Micro-Star International Co., Ltd.
  dmi.board.version: To be filled by O.E.M.
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 10
  dmi.chassis.vendor: Micro-Star International
  dmi.chassis.version: To be filled by O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrE16F2IMSV3.0U:bd09/01/2011:svnMicro-StarInternationalCo.,Ltd.:pnGT680R/GX680R/GT683R/GT683DXR/GX660DXR:pvrTobefilledbyO.E.M.:rvnMicro-StarInternationalCo.,Ltd.:rnMS-16F2:rvrTobefilledbyO.E.M.:cvnMicro-StarInternational:ct10:cvrTobefilledbyO.E.M.:
  dmi.product.name: GT680R/GX680R/GT683R/GT683DXR/GX660DXR
  dmi.product.version: To be filled by O.E.M.
  dmi.sys.vendor: Micro-Star International Co., Ltd.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1360753/+subscriptions


References