Cannot hibernate (s2disk)

Hi there, i am using openSUSE 12.1 in my laptop. I used 12.4 and then did a fresh install when 12.1 was released. (laptop specs in signature)

uname -a
Linux laptop-sergio.husky01 3.1.0-1.2-desktop #1 SMP PREEMPT Thu Nov 3 14:45:45 UTC 2011 (187dde0) i686 athlon i386 GNU/Linux

The thing is that when I close the lid and/or press the hibernate button, the screen goes black and a message that says

Looking for splash system… splashy_start_system: error -10none
s2disk: Snapshotting system

and it goes like that forever. It even shut down once it was on battery and i left it “snapshotting” until the battery drained out.

I keep my system updated everyday with zypper update.

Please let me know if I could post any other details and/or logs to provide more info that could help me fix this problem.

Thanks!
-Sergio

On Mon, 16 Jan 2012 17:46:02 +0000, sergiom99 wrote:

> Hi there, i am using openSUSE 12.1 in my laptop. I used 12.4 and then
> did a fresh install when 12.1 was released. (laptop specs in signature)

How much swap space do you have?

Jim


Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Heres my partition and mem info.
Thanks for your reply!

# df -h
S.ficheros     Tamaño Usado  Disp Uso% Montado en
rootfs            20G  4,9G   14G  26% /
devtmpfs         929M  8,0K  929M   1% /dev
tmpfs            935M  384K  934M   1% /dev/shm
tmpfs            935M  768K  934M   1% /run
/dev/sda5         20G  4,9G   14G  26% /
tmpfs            935M     0  935M   0% /sys/fs/cgroup
tmpfs            935M     0  935M   0% /media
tmpfs            935M  768K  934M   1% /var/lock
tmpfs            935M  768K  934M   1% /var/run
/dev/sda6         80G   67G   12G  86% /home
# free
             total       used       free     shared    buffers     cached
Mem:       1913368    1472108     441260          0       4296     593748
-/+ buffers/cache:     874064    1039304
Swap:      2103292     183380    1919912


I have a similar problem, although on a desktop. I see that you have an NVIDIA GeForce Go 7150M. What drivers are you using?

For me, with Nvidia drivers 285.xx and newer I run into the exact same issue as you. With 280.xx everything works fine, though.

On 2012-01-16 22:06, sergiom99 wrote:

> Code:
> --------------------
> # free
> total used free shared buffers cached
> Mem: 1913368 1472108 441260 0 4296 593748
> -/+ buffers/cache: 874064 1039304
> Swap: 2103292 183380 1919912
> --------------------

Doesn’t look enough to me.


Cheers / Saludos,

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

Thanks Carlos. Never had a problem with this setup, neiter in 12.4 nor in the years of Kubuntu.

Might look into older nvidia driver. Thanks Lord.

I use the x11-video-nvidiaG02 driver 290.10-13.1.
How could I install the 285.xx drivers?

I have the nvidia repos enabled, but only this version appears in Yast2.
Thanks!

You would have to download the .run from Nvidia* and install it manually (aka the ‘hard’ way). But it is the 280.13 which is the last one which works for me. Did you actually have this problem on openSUSE 11.4? I have it in either one, 12.1 and 11.4. So if you did not have this problem before … hmmm.

*Oh wait, here is the link to the ftp with the 64bit version:
ftp://download.nvidia.com/XFree86/Linux-x86_64/280.13/

Thanks Lord!
I had no hibernation problems in 11.x

I have the same problem with two Thinkpad X60s laptops. Will not hibernate and just hangs at “Snapshotting System”. Only force shutting it down is possible after it hangs. These use Intel 945GM graphic cards. So I’m not sure it’s related the the graphics card. My swap space is 2GB and has not been an issue with 11.2 and 11.4 (skipped 11.3).

I’ll try increasing the swap and seeing if that helps.

I disabled nepomuk (but not akonadi) on my old T60 and now suspend works. However, please report about the outcome of increasing swap.

On 01/18/2012 09:26 AM, cookie170 wrote:
>
> I disabled nepomuk (but not akonadi) on my old T60 and now suspend
> works. However, please report about the outcome of increasing swap.

The swap size requirement for hibernation is that it must be as large as the
compressed size of RAM. For most loads, the content will compress by at least
a factor of 2 (usually larger), thus swap size >= 1/2 RAM should be enough.

If the swap space were too small, the hibernation process would fail with a
message saying that was the cause. Failing silently probably means some driver
is faulty.

Thanks cookie. I’ll try disabling nepomuk and see how it goes. I really don’t think it’s the swap size as I suspect the error message would be different as lwfinger suggests.

On 2012-01-18 16:57, Larry Finger wrote:
>
> The swap size requirement

Note: free swap before starting the hibernate procedure.


Cheers / Saludos,

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

I’ve never had nepomuk enabled in 12.1 and it never hibernated.

As Carlos suggested, I noted the swap status before closing the lid.
As sometimes it hibernates and most don’t i also noted the result. And I also took note of the enery status, since at some point I though that it might be related to battery/AC or charging/discharging status.

  • Hibernated: YES/NO (power source/status) / Swap: total - free - used
  • NO (battery) Swap: 2103292 215520 1887772
  • NO (charging) Swap: 2103292 0 2103292
  • YES (charging) Swap: 2103292 15388 2087904
  • YES (Battery) Swap: 2103292 0 2103292
  • NO (AC plugged) Swap: 2103292 102792 2000500

I sometimes have the snapshotting problem on my Samsung N230 Netbook. I had a real problem with OpenSuse 11.4. With 12.1 the problem mainly went away except for the times when it hangs like Sergiom99’s machine. It seems to be associated with LibreOffice and hangs mainly when I have LibreOffice Writer open. I suspect my problem is a memory problem. Does LibreOffice Writer use a load of memory? I don’t know.

Try closing most of the windows or apps down first.

Hope this helps.

On 2012-01-21 20:36, royduncan2 wrote:
> Does LibreOffice Writer use a load of memory? I don’t know.

Oh, yes, it does. Gigabytes.


Cheers / Saludos,

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

This might also get you going: http://forums.opensuse.org/english/get-technical-help-here/applications/425486-11-2-suspend-ram-disc-crashes.html

I have the same problem. I have an ASUS EeePC 1201T, 2 GB of RAM, 4 GB Swap, running 12.1. On 11.4 I didn’t had this problem. All I get is the snapshotting system info and then it’s frozen. I can’t even press SysRq+R+E+I+S+U+B.

Any ideas what I can try without killing the hard drive? :\

Thanks