You are not logged in.

#1 2008-08-27 16:02:29

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Suspend to ram, resume problem

I've got problem with my PC going back from suspend to ram. Suspending seems to work but resuming from s2ram makes Arch freeze. 

When i press my power button everything 'sounds' like it's resuming but in the end i get black screen or something like "Arch Linu" on black screen (part of message from TTY).

Log doesn't say anything special

śro, 27 sie 2008, 16:53:16 CEST: Running hooks for suspend.
/usr/lib/pm-utils/sleep.d/00clear suspend: success.
/usr/lib/pm-utils/sleep.d/01grub suspend: not applicable.
/usr/lib/pm-utils/sleep.d/05led suspend: not applicable.
/usr/lib/pm-utils/sleep.d/10NetworkManager suspend: success.
/usr/lib/pm-utils/sleep.d/11netcfg suspend: success.
/usr/lib/pm-utils/sleep.d/49bluetooth suspend: not applicable.
/usr/lib/pm-utils/sleep.d/50modules suspend: not applicable.
/usr/lib/pm-utils/sleep.d/55battery suspend: success.
/usr/lib/pm-utils/sleep.d/65alsa suspend: success.
/usr/lib/pm-utils/sleep.d/90clock suspend: success.
/usr/lib/pm-utils/sleep.d/94cpufreq suspend: success.
/usr/lib/pm-utils/sleep.d/95led suspend: not applicable.
/usr/lib/pm-utils/sleep.d/98smart-kernel-video suspend: success.
/usr/lib/pm-utils/sleep.d/99video suspend: success.
śro, 27 sie 2008, 16:53:18 CEST: performing suspend

I've been already trying different things to make my suspend work  (pm-suspend, s2ram, echo mem > /sys/power/state), but no luck so far.

My PC specs are:

Pentium D 805 2,66GHz
GeForce 7600GT (nvidia proprietary driver)
M/B: Asus P5LD2 -VM

Offline

#2 2008-08-27 16:07:39

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Suspend to ram, resume problem

Have you tried using various quirks?  I don't know about s2ram but pm-suspend can use the following ones:

$ sudo pm-suspend --help
pm-suspend [options]

Options can change how suspend or hibernate is done.
somebody is calling me totally wrong.

Video quirk handler options:

  --quirk-dpms-on
  --quirk-dpms-suspend
  --quirk-radeon-off
  --quirk-reset-brightness
  --quirk-s3-bios
  --quirk-s3-mode
  --quirk-vbe-post
  --quirk-vbemode-restore
  --quirk-vbestate-restore
  --quirk-vga-mode3
  --quirk-none

Offline

#3 2008-08-27 16:09:00

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Re: Suspend to ram, resume problem

I've already tried few of them but I'll give them all a try.

EDIT: Unfortunately it doesn't work with any of those. I tried also killing X server and then suspending but the results are still the same sad

Last edited by hash (2008-08-27 16:32:14)

Offline

#4 2008-08-27 16:58:17

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Suspend to ram, resume problem

I have found that the hibernate-script works rather well with uswsusp. Maybe you should try that.


Arch - It's something refreshing

Offline

#5 2008-08-27 17:07:21

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Re: Suspend to ram, resume problem

whargoul wrote:

I have found that the hibernate-script works rather well with uswsusp. Maybe you should try that.

Isn't hibernate-script suspending to disk?

About uswsusp - it works for me the same as pm-supend, s2ram etc. = black screen after resume

Offline

#6 2008-08-27 17:31:09

whargoul
Member
From: Odense, Denmark
Registered: 2005-04-04
Posts: 546

Re: Suspend to ram, resume problem

hash wrote:
whargoul wrote:

I have found that the hibernate-script works rather well with uswsusp. Maybe you should try that.

Isn't hibernate-script suspending to disk?

About uswsusp - it works for me the same as pm-supend, s2ram etc. = black screen after resume

Not only. The hibernate-script can call after s2ram for suspend-to-ram. I have found a higher succes rate by using the hibernate-script instead of calling s2ram directly.


Arch - It's something refreshing

Offline

#7 2008-08-28 12:41:05

hash
Member
From: Poland
Registered: 2008-07-31
Posts: 111

Re: Suspend to ram, resume problem

I configured hibernate-script the way as it is advised on archwiki but still the same problem hmm

/var/log/hibernate.log

Starting suspend at śro, 27 sie 2008, 20:39:25 CEST
hibernate: [01] Executing CheckLastResume ...
hibernate: [01] Executing CheckRunlevel ...
hibernate: [01] Executing LockFileGet ...
hibernate: [01] Executing NewKernelFileCheck ...
hibernate: [10] Executing EnsureUSuspendCapable ...
hibernate: [11] Executing XHacksSuspendHook1 ...
hibernate: [59] Executing RemountXFSBootRO ...
hibernate: [89] Executing SaveKernelModprobe ...
hibernate: [91] Executing ModulesUnloadBlacklist ...
hibernate: [95] Executing XHacksSuspendHook2 ...
hibernate: [97] Executing VbetoolSaveState ...
hibernate: [98] Executing CheckRunlevel ...
hibernate: [99] Executing DoUSuspend ...
hibernate: Running /usr/sbin/s2ram  -f ...

Offline

Board footer

Powered by FluxBB