← Back to team overview

kernel-packages team mailing list archive

[Bug 808698] [NEW] System freeze when hibernate fails

 

You have been subscribed to a public bug:

$ swapon -s; free -m
Filename				Type		Size	Used	Priority
/dev/sda5                               partition	1998844	5784	1
/dev/sdb5                               partition	4193276	0	0
             total       used       free     shared    buffers     cached
Mem:          2012       1961         50          0         17        474
-/+ buffers/cache:       1470        542
Swap:         6046          5       6041

/var/log/syslog snippet
Jul 11 10:08:58 BaylyJ4 kernel: [  888.017366] PM: Creating hibernation image:
Jul 11 10:08:58 BaylyJ4 kernel: [  888.020009] PM: Need to copy 218761 pages
Jul 11 10:08:58 BaylyJ4 kernel: [  888.020009] PM: Normal pages needed: 157118 + 1024, available pages: 70060
Jul 11 10:08:58 BaylyJ4 kernel: [  888.020009] PM: Not enough free memory
Jul 11 10:08:58 BaylyJ4 kernel: [  888.020009] PM: Error -12 creating hibernation image

When hibernating, if there isn't enough free memory, the hibernate file
cannot be created (as expected), however instead of the system reporting
this and returning to the previous state, it appears to freeze allowing
no input - Ctrl + Alt + F1 doesn't give me a shell login prompt. The
machine will remain running indefinitely and has to be power cycled.
Upon restart, I am given a standard login prompt.

Expected behaviour would be that the OS returns the user to a state
where they can safely close any critical applications.

As an aside, I'm investigating why my system will not hibernate when I
have a total of 6GBi swap (2GBi + 4GBi), of which 5MBi is used, and only
2GBi of RAM installed.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: acpid 1.0.10-5ubuntu4
ProcVersionSignature: Ubuntu 2.6.35-30.54-generic 2.6.35.13
Uname: Linux 2.6.35-30-generic i686
NonfreeKernelModules: nvidia
Architecture: i386
Date: Mon Jul 11 10:34:40 2011
ExecutablePath: /usr/sbin/acpid
InstallationMedia: Ubuntu 10.04.2 LTS "Lucid Lynx" - Release i386 (20110211.1)
ProcEnviron: PATH=(custom, no user)
SourcePackage: acpid

** Affects: linux (Ubuntu)
     Importance: Medium
         Status: Incomplete


** Tags: apport-bug i386 maverick
-- 
System freeze when hibernate fails
https://bugs.launchpad.net/bugs/808698
You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu.