FS#20372 - [kernel26] 2.6.35-2 breaks suspend to disk

Attached to Project: Arch Linux
Opened by Ramses de Norre (Ramses_de_Norre) - Wednesday, 04 August 2010, 18:17 GMT
Last edited by Tobias Powalowski (tpowa) - Tuesday, 28 September 2010, 08:59 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture i686
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 6
Private No

Details

Description:
Linux 2.6.35-2 from testing appears to break suspend to disk. I suspend by using s2disk (from uswsusp) through pm-utils. When running pm-hibernate I get the usual "s2disk: snapshotting system" message with a blinking cursor but while this stage should only take a few seconds it now seems to be stuck there. I hade to SysRq-B to hard reboot.

Additional info:
* package version(s)
kernel26 2.6.35-2
pm-utils 1.4.0-1
uswsusp 0.8-6

all other packages are at the current [core] version.

* config and/or log files etc.
See attached files for the output of lspci -vv and the contents of /var/log/pm-suspend.log

Steps to reproduce:
Run s2disk.
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Tuesday, 28 September 2010, 08:59 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.6.35.6-1
Comment by farvardin (farvardin) - Saturday, 21 August 2010, 15:57 GMT
I have kernel26-2.6.35.2-1 and I can confirm this bug is still present on my system. s2disk was working on kernel up to 2.6.34 (included).
(I'm using pm-powersave)
Comment by Alex (muu) - Sunday, 22 August 2010, 15:08 GMT
Kernel 2.6.35.3-1. Bug is still present.
Comment by Manuel (Abominable Snow Tux) - Monday, 23 August 2010, 19:56 GMT
I confirm this problem.
Comment by farvardin (farvardin) - Monday, 23 August 2010, 22:52 GMT
well, it seems it's a bit more complicated than that, because I've tested it again, and that also depends of the desktop manager: when using LXDE, I can suspend to disk using "s2disk", and it resumes well later, but when using kde4 started with kdm, then it is stuck according to the description provided for this bug. So probably it's not related to the kernel, but maybe to kde4/hal/dbus or something similar.
Comment by Alex (muu) - Tuesday, 24 August 2010, 04:23 GMT
I've disabled HAL and display manager (slim) in /etc/rc.conf. After the reboot I've tried to use s2disk from console. Result is the same: bug is still present. BTW, I'm using i3 as a WM and never use KDE4.
Comment by Manuel (Abominable Snow Tux) - Tuesday, 24 August 2010, 07:12 GMT
I encountered the problem in gnome 2.30
Comment by Alex (muu) - Sunday, 29 August 2010, 19:52 GMT
kernel26 2.6.35.4-1 - problem is still present.

BTW, look at this: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=586674#51 Unfortunately, trick with cpufreq governors didn't help me, my laptop still hangs up. Can someone try to repeat it?
Comment by farvardin (farvardin) - Monday, 30 August 2010, 06:15 GMT
I've tried with both "cpufreq-set -g ondemand" and "cpufreq-set -g performance", and with LXDE or from console mode it doesn't hangs. With KDE it does.
Comment by Alex (muu) - Monday, 30 August 2010, 07:20 GMT
I've tried to install LXDE and run "s2disk" from lxde-session and from console, with different governors. Result is the same: it hangs my system every time. Can you show your /etc/suspend.conf, /etc/rc.conf, lspci and lsmod?
Comment by Ramses de Norre (Ramses_de_Norre) - Thursday, 16 September 2010, 19:29 GMT
No progress on this? :(
Comment by Flat Eric (flateric) - Tuesday, 21 September 2010, 14:57 GMT
Tested with last kernel (2.6.35.5). For me, suspend to disk works from openbox but _not_ from KDE (4.5.1). Checking pm-suspend.log (with PM_DEBUG="true") but I can't find, where problem is. :(. Suspend to RAM works from all DE fine.
Comment by Flat Eric (flateric) - Wednesday, 22 September 2010, 05:57 GMT
Tested with last kernel (2.6.35.5). For me, suspend to disk works from openbox but _not_ from KDE (4.5.1). Checking pm-suspend.log (with PM_DEBUG="true") but I can't find, where problem is. :(. Suspend to RAM works from all DE fine.
Comment by farvardin (farvardin) - Wednesday, 22 September 2010, 07:53 GMT
Here are my own tests:

- s2disk from KDE: hangs
- s2disk from Gnome: hangs
- s2disk from XFCE: works
- s2disk from lxde: works
- s2disk from console: works

more interesting:

- s2disk from console (activated by alt+ctrl+F1 for example), when there is still an active gnome session running: it works too.



Comment by Ramses de Norre (Ramses_de_Norre) - Thursday, 23 September 2010, 19:35 GMT
Still the same with 2.6.35-5 here...
Comment by Flat Eric (flateric) - Tuesday, 28 September 2010, 08:56 GMT
Hello,

good news! For me, is s2disk with new kernel (2.6.35.6-1) working!

HW: ThinkPad Z61m
GPU: ATI x1400 - driver radeon
DE: KDE 4.5.1

Loading...