Re: 2.6.21-rc5: swsusp: Not enough free memory

Rafael J. Wysocki
2007-03-29T14:37:35Z

On Thursday, 29 March 2007 09:44, Jiri Slaby wrote:
> Hi,
>
> I'm getting this while trying to swsups the machine in -rc5, -rc4 is fine:
>
> Disabling non-boot CPUs
> CPU 1 is now offline
> SMP alternatives: switching to UP code
> CPU1 is down
> swsusp: critical section:
> swsusp: Need to copy 131380 pages
> swsusp: Not enough free memory
> Error -12 suspending
> Enabling non-boot CPUs ...
>
> # cat /sys/power/resume
> 8:6
> # cat /proc/swaps
> Filename Type Size Used Priority
> /dev/sda6 partition 1004020 0 -1
>
> Any other info needed?

Beats me. There were no changes that could result in such a thing between
-rc4 and -rc5, at least not in the swsusp department.

Could you please try to bisect?

> BTW. is this OK on resume?
> PM: Writing back config space on device 0000:02:00.0 at offset 1 (was 100006, w
> iting 100002)
> pnp: Failed to activate device 00:04.
> pnp: Failed to activate device 00:05.
> usbdev5.3_ep00: PM: resume from 0, parent 5-4 still 2
>
> # ll /sys/bus/pnp/devices/00\:0{4,5}/driver
> lrwxrwxrwx 1 root root 0 2007-03-29 09:16 /sys/bus/pnp/devices/00:04/driver
> -> ../../../bus/pnp/drivers/i8042 kbd
> lrwxrwxrwx 1 root root 0 2007-03-29 09:16 /sys/bus/pnp/devices/00:05/driver
> -> ../../../bus/pnp/drivers/i8042 aux

Well, I don't think so.

Greetings,
Rafael