Re: [swsusp] not enough memory [solved with 2.6.17-rc3]

From: Richard Mittendorfer
Date: Mon May 01 2006 - 23:51:50 EST


Also sprach Richard Mittendorfer <delist@xxxxxxx> (Sat, 18 Feb 2006 00:58:14 +0100):
> On my 64MB notebook I get the following message, when going swsusp:
>
> ..
> swsusp: Need to copy 15526 pages
> swsusp: Not enough free memory
> Error -12 suspending
> ..
>
> # free
> total used free shared buffers cached
> Mem: 62760 59884 2876 0 3828 16052
> -/+ buffers/cache: 40004 22756
> Swap: 200804 30316 170488
>
> If I end all apps but the XServer it works. I've allready added some
> more swapspace, but that didn't help. So, how much memory will I need
> for a successful suspend or better (since i can't stuff any more into
> it) is there a way to minimize the amount needed?

Seems fixed with 2.6.17-rc3. Field-testet on the loaded box several times.

_._. .._ _ .... . ._. . __..__ _._. .._ _ .... . ._. .
libre powermanagement[2300]: suspend to disk.
libre powermanagement[2309]: Found some modules loaded .. unloading
libre kernel: ACPI: PCI interrupt for device 0000:05:00.0 disabled
libre kernel: ath_pci: driver unloaded
libre kernel: Stopping tasks: ====================================================|
libre kernel: Shrinking memory... ^H-^H\^Hdone (10007 pages freed)
libre kernel: ACPI: PCI interrupt for device 0000:00:13.1 disabled
libre kernel: ACPI: PCI interrupt for device 0000:00:13.0 disabled
libre kernel: swsusp: Need to copy 6061 pages
libre kernel: ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNKA] -> GSI 11 (level, low) -> IRQ 11
libre kernel: PCI: Setting latency timer of device 0000:00:13.0 to 64
libre kernel: ACPI: PCI Interrupt 0000:00:13.1[B] -> Link [LNKB] -> GSI 11 (level, low) -> IRQ 11
libre kernel: PCI: Setting latency timer of device 0000:00:13.1 to 64
libre kernel: Restarting tasks... done
libre powermanagement[2344]: Reloading modules ..
_._. .._ _ .... . ._. . __..__ _._. .._ _ .... . ._. .

big THX,

ritch
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/