Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#14939 - [kernel26] After suspending to disk, boots from scratch rather than resume

Attached to Project: Arch Linux
Opened by David (alleluia20) - Wednesday, 03 June 2009, 15:53 GMT
Last edited by Thayer Williams (thayer) - Monday, 08 June 2009, 23:38 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Tobias Powalowski (tpowa)
Pierre Schmitz (Pierre)
Thayer Williams (thayer)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Yesterday I suspended to *disk* using the KDE4 "leave" menu. After turning my computer on today, I obtained a fresh boot rather than a resume. And when opening Firefox (Gran Paradiso), it told that it had been unproperly closed (as though there had been a hardware shutdown).
This task depends upon

Closed by  Thayer Williams (thayer)
Monday, 08 June 2009, 23:38 GMT
Reason for closing:  Not a bug
Comment by Roman Kyrylych (Romashka) - Wednesday, 03 June 2009, 17:06 GMT
Did suspend to disk work for you in the past? What kernel version do you use? Please provide some logs.
Comment by David (alleluia20) - Wednesday, 03 June 2009, 20:57 GMT
Well, I have been with Arch for less than two months so far. I used to use Debian sid and suspend to disk did work. Some logs are (you see the gap in the times between suspending and booting):

Jun 3 05:55:49 myhost kernel: b44: eth0: powering down PHY
Jun 3 05:55:49 myhost kernel: wlan0: disassociating by local choice (reason=3)
Jun 3 05:55:51 myhost kernel: [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
Jun 3 14:45:34 myhost kernel: Linux version 2.6.29-ARCH (root@T-POWA-LX) (gcc version 4.4.0 (GCC) ) #1 SMP PREEMPT Wed May 20 07:06:02 UTC 2009
Jun 3 14:45:34 myhost kernel: KERNEL supported cpus:
Jun 3 14:45:34 myhost kernel: Intel GenuineIntel
Comment by Thayer Williams (thayer) - Sunday, 07 June 2009, 16:25 GMT
I don't use KDE so it's difficult for me to troubleshoot, but I assume that KDE uses pm-utils as a back-end for power management. Have you installed/configured pm-utils? If not, refer to the wiki article:

http://wiki.archlinux.org/index.php/Pm-utils

After following the instructions (make sure you modify the grub entry as instructed and reboot), you test basic hibernate/suspend functions by running the following in a terminal:

$ sudo pm-hibernate
$ sudo pm-suspend

The former should suspend-to-disk and the latter should suspend-to-ram.
Comment by David (alleluia20) - Monday, 08 June 2009, 21:55 GMT
Yes, I had pm-utils installed. Suspending to ram worked OK. After modifying grub according to that wiki, suspending to disk seems to resume more or less correctly (except some specific processes).
Comment by Thayer Williams (thayer) - Monday, 08 June 2009, 23:38 GMT
Glad to hear it, David...I'm closing this ticket for now. If you continue to have trouble with hibernation now that pm-utils is properly configured, have a look at this ticket (currently open):

http://bugs.archlinux.org/task/12841

Loading...