You are not logged in.

#1 2011-06-10 10:16:33

solstice
Member
Registered: 2006-10-27
Posts: 245
Website

pm-suspend fails to resume and pm-hibernate just blank half a second

hi.
I just saw that ubuntu 11.04 manages to make suspend work on my desktop pc. Well it seems to do a pm-suspend-hybrid because it takes some times to write to disk.

So I would like to make it work on archlinux. I have installed kernel26-2.6.38.8-1, pm-utils, upower

So I changed the line in grub1 config to
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/46209430-52e9-4d73-accd-2775bc078852 resume=/dev/disk/by-uuid/fb056260-637e-4fee-bedf-49d3d9a02626 ro quiet vga=869

* first: pm-suspend suspend the pc. but when I press the button to resume I just got a blank screen powered up. It seems the kernel is not even up. Because I see the suspend hook in /var/log/pm-suspend.log but nothing for the resume neither a resume log and nothing in /var/log/messages.log about a resume or a failed resume.

* for pm-hibernate that I run from a console
it blanks the screen and show up the console again after half a second. When I look at /var/log/messages.log, I see it shuts down the devices but initiates a wake-up right after it just finished !

I don't know where to start to trouble shoot that. the arch wiki page for pm-utils gives me no clue on what is wrong
and I got no idea which hook vould be wrong and what to change to pm-utils config

NOTE: I have not changed anything to pm-utils config after installing it

I would prefer to use the vanilla kernel

Last edited by solstice (2011-06-10 10:19:03)

Offline

#2 2011-06-10 11:40:43

dobedo
Member
From: Belgium
Registered: 2008-10-04
Posts: 113

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

solstice wrote:

* first: pm-suspend suspend the pc. but when I press the button to resume I just got a blank screen powered up. It seems the kernel is not even up. Because I see the suspend hook in /var/log/pm-suspend.log but nothing for the resume neither a resume log and nothing in /var/log/messages.log about a resume or a failed resume.

Do you have the resume hook in mkinitcpio.conf ?

Offline

#3 2011-06-10 12:50:46

solstice
Member
Registered: 2006-10-27
Posts: 245
Website

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

yes

HOOKS="base udev autodetect sata usbinput keymap resume filesystems consolefont"

and I run

mkinitcpio -p kernel26

after the change

Once, the system has resumed (from suspend), I can ping it from another PC on the LAN but not ssh into it (it works any other time). ssh does not respond with anything

Last edited by solstice (2011-06-10 16:01:55)

Offline

#4 2011-06-20 22:06:13

amsri
Member
Registered: 2011-06-17
Posts: 48

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

I have the same problem. Hibernation seems to work after switching off gnome 3 screen lock option but resume from suspend does not. I can suspend but cannot resume after suspend. When I resume I just get blank screen (nothing there) and no key works. I am running 2.6.39 ARCH on HP Pavillion DV6.

EDIT: I have incorporated resume HOOK and removed autodetect as per pm-utils wiki. I also ran the command to regenerate kernel image.

Last edited by amsri (2011-06-20 22:08:28)

Offline

#5 2011-06-28 20:13:34

amsri
Member
Registered: 2011-06-17
Posts: 48

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

I think I have tried almost all the suggestions found in wiki and forums but it is always blank upon resume. Could somebody help please.

Offline

#6 2011-07-19 20:37:56

wulax
Member
Registered: 2006-02-20
Posts: 30

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

I also have this problem with Gnome 3 and from the command line.

Pm-hibernate works perfectly.

Pm-suspend seems to suspend fine, it reports success for all the hooks in /var/log/pm-suspend.log. The problem is nothing seems to happen after I resume from suspend. Nothing about resuming is reported in the log after the success in suspending.

I do have the 'resume' hook in mkinitcpio.conf. I have not tried without it but that doesn't seem to matter according to posts here I think. The same goes for 'autodetect'.

I have no idea what could be wrong or where to start looking.

Offline

#7 2011-07-20 06:18:09

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

Do you have Sandy Bridge Hardware?
see https://bbs.archlinux.org/viewtopic.php … 70#p938170

Offline

#8 2011-07-20 08:23:26

StenM
Member
Registered: 2011-07-03
Posts: 33

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

If "kernel" pm-utils doesn't work, you could try to use it with different back-ends. Perhaps,  using uswsusp could solved your problem. See: https://wiki.archlinux.org/index.php/Uswsusp.

Also, if you use graphic driver with KMS, you shouldn't use "vga=" parameter for kernel. See KMS (Kernel Mode Setting) at https://wiki.archlinux.org/index.php/Intel

S-

Offline

#9 2011-07-20 14:32:15

wulax
Member
Registered: 2006-02-20
Posts: 30

Re: pm-suspend fails to resume and pm-hibernate just blank half a second

Sorry for not specifying which hardware I was talking about...

65kid wrote:

Do you have Sandy Bridge Hardware?
see https://bbs.archlinux.org/viewtopic.php … 70#p938170

No, it's an AMD Sempron and an (AM2) Asus M2V motherboard.

StenM wrote:

If "kernel" pm-utils doesn't work, you could try to use it with different back-ends. Perhaps,  using uswsusp could solved your problem. See: https://wiki.archlinux.org/index.php/Uswsusp.

Also, if you use graphic driver with KMS, you shouldn't use "vga=" parameter for kernel. See KMS (Kernel Mode Setting) at https://wiki.archlinux.org/index.php/Intel

I'm using the 'nvidia' drivers with a Geforce 7600. I tried it with 'nouveau' drivers (without vga=xxx) but that resulted in garbeled graphics after resuming from pm-hibernate. Pm-hibernate works fine with the 'nvidia' drivers though. I can't remember if the 'nouveau' drivers worked with pm-suspend.

I suppose I will have to try using another backend. Good suggestion.

Offline

Board footer

Powered by FluxBB