public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* swsusp fails short on memory
@ 2004-05-26 14:35 Felipe Alfaro Solana
  2004-05-26 22:38 ` Nigel Cunningham
  2004-05-27 19:36 ` Pavel Machek
  0 siblings, 2 replies; 4+ messages in thread
From: Felipe Alfaro Solana @ 2004-05-26 14:35 UTC (permalink / raw)
  To: Kernel Mailinglist

Hello,

I'm somewhat ignorant on the inner workings of swsusp. I have a 256MB
laptop machine running 2.6.7-rc1-bk2 + ACPI + swsusp two swap
partitions, a 256MB swap partition on /dev/hda4 plus another 256MB swap
on /dev/hda5. When trying to hibernate to disk, swsusp fails with the
following error message:

PCMCIA: socket cf71302c: *** DANGER *** unable to remove socket power
Stopping tasks:
====================================================================|
Freeing memory: ..|
/critical section: counting pages to copy.[nosave pfn
0x2f2]...............................................................
(pages needed: 46305+512=46817 free: 19214)
Suspend Machine: Couldn't get enough free pages, on 27603 pages short
Suspend Machine: Suspend failed, trying to recover...
Fixing swap signatures... ok
Restarting tasks...<4>atkbd.c: Unknown key released (translated set 2,
code 0x7a on isa0060/serio0).
atkbd.c: This is an XFree86 bug. It shouldn't access hardware directly.
 done

What I can't unserstand is how swsusp fails with "couldn't get enough
free pages". cat /proc/swaps tells:

Filename                  Type            Size    Used    Priority
/dev/hda4                 partition       281128  0       0
/dev/hda5                 partition       281096  192     1

What going on here? Why does swsusp fail when there is plenty of free
swap space?

NOTE: The same happens while only using a big, 512MB swap partition.

Thanks.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-31 15:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-26 14:35 swsusp fails short on memory Felipe Alfaro Solana
2004-05-26 22:38 ` Nigel Cunningham
2004-05-27 19:36 ` Pavel Machek
2004-05-31 15:34   ` Felipe Alfaro Solana

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox