* 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
* Re: swsusp fails short on memory
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
1 sibling, 0 replies; 4+ messages in thread
From: Nigel Cunningham @ 2004-05-26 22:38 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Kernel Mailinglist
Hi.
FWIW, it's talking about pages of memory, not on disk.
Regards,
Nigel
--
Nigel & Michelle Cunningham
C/- Westminster Presbyterian Church Belconnen
61 Templeton Street, Cook, ACT 2614.
+61 (2) 6251 7727(wk); +61 (2) 6254 0216 (home)
Evolution (n): A hypothetical process whereby infinitely improbable events occur
with alarming frequency, order arises from chaos, and no one is given credit.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: swsusp fails short on memory
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
1 sibling, 1 reply; 4+ messages in thread
From: Pavel Machek @ 2004-05-27 19:36 UTC (permalink / raw)
To: Felipe Alfaro Solana; +Cc: Kernel Mailinglist
Hi!
> 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:
You need just one swap partition (256MB
should be enough).
Try suspending from single user mode.
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: swsusp fails short on memory
2004-05-27 19:36 ` Pavel Machek
@ 2004-05-31 15:34 ` Felipe Alfaro Solana
0 siblings, 0 replies; 4+ messages in thread
From: Felipe Alfaro Solana @ 2004-05-31 15:34 UTC (permalink / raw)
To: Pavel Machek; +Cc: Kernel Mailinglist
On Thu, 2004-05-27 at 21:36, Pavel Machek wrote:
> Hi!
>
> > 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:
>
> You need just one swap partition (256MB
> should be enough).
> Try suspending from single user mode.
/proc/sys/vm/swappiness = 0 was the culprit of all my problems :)
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