← Back to team overview

kernel-packages team mailing list archive

[Bug 903321] Re: Hibernation fails irreversibly ("not enough swap space")

 

[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/903321

Title:
  Hibernation fails irreversibly ("not enough swap space")

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  Most of the times (but not always) when I hibernate, the error message
  appears: "MP: not enough swap space" and the hibernation hangs
  forever. Or it seems to complete (meaning the power goes off) but then
  when I turn on the computer it fresh boots instead of resuming.

  If the swap space is really insufficient, and if this is really the
  cause of the issue, there are at least a couple of bugs:

  1. Hibernation should be atomic: either it can complete succesfully or
  it should be reversed completely, or not be initiated at all. It must
  be guaranteed that the system never ever finds itself in an
  intermediate state where hibernation cannot complete but cannot be
  reversed. All conditions that are needed to complete succesfully
  should be checked before the hibernation is initiated. Checking
  whether there is enough swap space is particularly easy, I guess.

  2. I din't choose the amount of swap space when I installed ubuntu,
  nor did I change it afterwards, nor did I ever increase the amount of
  RAM after installation. The size of the swap partition is the one that
  was proposed by the installer by default. The installer should propose
  by default a swap partition size that is guaranteed to allow the
  system to function properly, including hibernation. AND if the user
  chooses a size for the swap partition that _may_ be insufficient a
  warning should be issued before allowing the installation to begin.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linux-image-3.0.0-14-generic 3.0.0-14.23
  ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
  Uname: Linux 3.0.0-14-generic i686
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  teo        2030 F.... pulseaudio
   /dev/snd/pcmC0D0p:   teo        2030 F...m pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfebf8000 irq 49'
     Mixer name	: 'Realtek ALC660-VD'
     Components	: 'HDA:10ec0660,10430000,00100001 HDA:10573055,10431316,00100700'
     Controls      : 25
     Simple ctrls  : 16
  Date: Mon Dec 12 19:25:51 2011
  HibernationDevice: RESUME=UUID=b1b3e5fe-38e2-44c9-9e48-4564cd9f4d66
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  MachineType: ASUSTeK Computer Inc. M51Sn
  ProcEnviron:
   PATH=(custom, user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-14-generic root=UUID=173acbf5-26a0-49e3-8d2b-f1c142582cbf ro quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-14-generic N/A
   linux-backports-modules-3.0.0-14-generic  N/A
   linux-firmware                            1.60
  SourcePackage: linux
  StagingDrivers: zram
  UpgradeStatus: Upgraded to oneiric on 2011-12-07 (4 days ago)
  UserAsoundrc:
   pcm.!default { type pulse }
   ctl.!default { type pulse }
   pcm.pulse { type pulse }
   ctl.pulse { type pulse }
  dmi.bios.date: 12/24/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 303
  dmi.board.asset.tag: ATN12345678901234567
  dmi.board.name: M51Sn
  dmi.board.vendor: ASUSTeK Computer Inc.
  dmi.board.version: 1.0
  dmi.chassis.asset.tag: ATN12345678901234567
  dmi.chassis.type: 10
  dmi.chassis.vendor: ASUSTeK Computer Inc.
  dmi.chassis.version: 1.0
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr303:bd12/24/2007:svnASUSTeKComputerInc.:pnM51Sn:pvr1.0:rvnASUSTeKComputerInc.:rnM51Sn:rvr1.0:cvnASUSTeKComputerInc.:ct10:cvr1.0:
  dmi.product.name: M51Sn
  dmi.product.version: 1.0
  dmi.sys.vendor: ASUSTeK Computer Inc.

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