Re: swsusp: fix error handling in "not enough swap space"
From: Grzegorz Piotr Jaskiewicz
Date: Fri Apr 23 2004 - 22:19:32 EST
Hi
I am unable to suspend to swap nowdays, getting message 'not enough
swapspace'.
My swap space is 1172704k in size (1GB).
nalesnik:~# fdisk -l /dev/hda
Disk /dev/hda: 40.0 GB, 40007761920 bytes
255 heads, 63 sectors/track, 4864 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 146 1172713+ 82 Linux swap
/dev/hda2 147 1605 11719417+ 83 Linux
/dev/hda3 1606 4864 26177917+ 83 Linux
Here's the message I got after issuing 'echo "4" >/proc/acpi/sleep':
...
/critical section: counting pages to copy..[nosave pfn
0x463].................................................................
(pages needed: 10056+512=10568 free: 18599)
Alloc pagedir
..[nosave pfn 0x463]...............................critical section/:
done (10056 pages copied)
blk: queue c6d40e00, I/O limit 4095Mb (mask 0xffffffff)
Writing data to swap (10056 pages): .<0> Kernel panic:
Not enough swapspace when writing data
_
this is PCG-C1VE sony vaio picture book, dmesg attached. Kernel version
2.6.6-rc2-bk2.
Attachment:
dmesg.txt.bz2
Description: Binary data