Suspend to disk: erratic behavior (openSuse 11.3)

When the system tries to go to hibernate (suspend to disk), sometimes appears the suspension screen (green background with a bar decreasing), and then the user session come back without Internet connection and several services with unpredictable behavior.
Other times, the system can suspend to disk normally, but when I try to start the system again, it hangs up with a black screen, like a console, saying “Looking for splash system…”.
Theses behaviors happen by clicking in Leave → Hibernate or by means Power Management".

Any idea?
Thank you in advance.

Hardware?
Was this a clean install or an upgrade? If Upgrade from what version?
How much memory and how big is the swap?

Thank you for your answer.
I have an AMD Athlon™ XP 2500+ CPU running at 1822 MHz on ASUS A7V8X-X motherboard with 1GB of RAM
Swap is 2GB.
This same hardware went to suspend to disk properly with openSuse 11.2.
Thanks again!

Swap and memory seem ok.

You still did not say if this was an upgrade or a clean install. Upgrades can leave old and possibly incorrect config files.

Have you loaded any and all updates?

I beg your pardon… It was a clean installation.

I have the exact same issue. Mine was a update install from OpenSUSE 11.2 though.
And its pretty random… any clues on how to get about debugging this?

Found the following in the /var/log/warn file

Syncing filesystems … done.
Freezing user space processes … (elapsed 0.01 seconds) done.
Freezing remaining freezable tasks … (elapsed 0.01 seconds) done.
Suspending console(s) (use no_console_suspend to debug)
Disabling non-boot CPUs …
PM: Not enough free memory
PM: Error -12 creating hibernation image

I got 2.5 GB for swap 2GB RAM
It worked like a charm in 11.2.

Fresh Install, 2 gig swap.

I’m also seeing this coming out of hibernate, as everyone said it’s random when it will start but after the first it will always happen.

Same problem and behaviour with my up-to-date openSuSE 11.4

# uname -a
Linux 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 +0200 i686 athlon i386 GNU/Linux

with 4GB of RAM , swap partition of 8 GB (newly reformatted with mkswap)

Jul 28 17:55:47 kernel: [25192.427150] ACPI: Preparing to enter system sleep state S4
Jul 28 17:55:47 kernel: [25192.827917] PM: Saving platform NVS memory
Jul 28 17:55:47 kernel: [25192.832608] Disabling non-boot CPUs ...
Jul 28 17:55:47 kernel: [25192.832738] PM: Creating hibernation image:
Jul 28 17:55:47 kernel: [25192.833004] PM: Need to copy 388581 pages
Jul 28 17:55:47 kernel: [25192.833004] PM: Normal pages needed: 117965 + 1024, available pages: 107635  <------------
Jul 28 17:55:47 kernel: [25192.833004] PM: Not enough free memory                                       <------------
Jul 28 17:55:47 kernel: [25192.833004] PM: Error -12 creating hibernation image                         <------------
Jul 28 17:55:47 kernel: [25192.833975] ACPI: Waking up from system sleep state S4

What is the difference between “need to copy”, “pages needed” and “available pages” ?
Here my memory stats :

# free
             total       used       free     shared    buffers     cached
Mem:       4081584    1297212    2784372          0      42460     726288
-/+ buffers/cache:     528464    3553120
Swap:      8385532          0    8385532

Thx for any help

Don’t have an answer but having 0 swap used is not normal there is usually is a small amount used even if the system is not using swap.

So it looks like the swap system is not working thus you can not save the mem image. There was a thread about this about 2-3 months back but I don’t remember that it was resolved or not.

On 2010-07-25 14:36, aecordoba wrote:
> When the system tries to go to hibernate (suspend to disk), sometimes
> appears the suspension screen (green background with a bar decreasing),

Edit /etc/suspend.conf, and check this line:

splash = n

this will disable the progress bar and you will instead see a text display
that says a bit of what is happening, and you may get a chance to see
something.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 2011-07-29 11:06, jeancle wrote:
> Thx for any help

Try “swapon -s” as root.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)