Suspend/resume works in 2.6.29-0.19.rc0.git9.fc11.i686, but fails in later versions
Hi, I run Fedora Rawhide on a Dell Latitude X1 and want to report on failing suspend/resume on the latest kernel snapshots. Smolt is currently not working in Rawhide, but an old profile of my laptop can be found in [1]
In kernel-2.6.29-0.19.rc0.git9.fc11.i686 I have suspend(to ram)/resume working, but in later versions, I am not able to get my laptop to resume. I have tested these later kernels:
kernel-2.6.29-0.24.rc0.git13.fc11.i686 kernel-2.6.29-0.25.rc0.git14.fc11.i686 kernel-2.6.29-0.28.rc1.fc11.i686 kernel-2.6.29-0.31.rc1.git2.fc11.i686 kernel-2.6.29-0.35.rc1.git4.fc11.i686
None of them seems to let me wake up from suspend to ram. I have used normal kwin (no desktop effects, no compiz). When I open the lid, my wlan led lights up, but there is no hdd activity, and the keyboard is dead.
Here's dmesg of the working kernel http://fpaste.org/paste/1459
Please let me know how I can test further and what logs to provide.
best regards,
MartinG
(please CC me on replies)
[1] http://www.smolts.org/client/show/pub_01507560-2bed-4c14-94a5-c72964bb4b84
Quoted 15 lines
Hi, I run Fedora Rawhide on a Dell Latitude X1 and want to report on failing suspend/resume on the latest kernel snapshots. Smolt is currently not working in Rawhide, but an old profile of my laptop can be found in [1]
In kernel-2.6.29-0.19.rc0.git9.fc11.i686 I have suspend(to ram)/resume working, but in later versions, I am not able to get my laptop to resume. I have tested these later kernels:
kernel-2.6.29-0.24.rc0.git13.fc11.i686 kernel-2.6.29-0.25.rc0.git14.fc11.i686 kernel-2.6.29-0.28.rc1.fc11.i686 kernel-2.6.29-0.31.rc1.git2.fc11.i686 kernel-2.6.29-0.35.rc1.git4.fc11.i686
Quoted 8 lines
None of them seems to let me wake up from suspend to ram. I have used normal kwin (no desktop effects, no compiz). When I open the lid, my wlan led lights up, but there is no hdd activity, and the keyboard is dead.
Here's dmesg of the working kernel http://fpaste.org/paste/1459
Please let me know how I can test further and what logs to provide.
Can you boot non-working kernel, and try "cd /sys/devices/system/cpu; echo 0 > cpu1/online; echo 1 > cpu1/online" ?
If it breaks, try just doing "echo 0 > online" followed by s2ram. That should work.
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 5 lines · Pavel Machek
Can you boot non-working kernel, and try "cd
/sys/devices/system/cpu; echo 0 > cpu1/online; echo 1 > cpu1/online" ?If it breaks, try just doing "echo 0 > online" followed by s2ram. That should work.
Ok, thanks for the reply. This is what I've tried (I have a single core (old) cpu):
# uname -r 2.6.29-0.35.rc1.git4.fc11.i686 # cd /sys/devices/system/cpu # find .|grep online ./online # cat online 0 # echo 0 > online; echo 1 > online -bash: online: Permission denied -bash: online: Permission denied # chmod +rw online # echo 0 > online; echo 1 > online -bash: echo: write error: Input/output error -bash: echo: write error: Input/output error
Yep, I am a bit confused - any hints appreciated!
-MartinG
Quoted 24 lines · MartinG
Quoted 5 lines · Pavel Machek
Can you boot non-working kernel, and try "cd
/sys/devices/system/cpu; echo 0 > cpu1/online; echo 1 > cpu1/online" ?If it breaks, try just doing "echo 0 > online" followed by s2ram. That should work.
Ok, thanks for the reply. This is what I've tried (I have a single core (old) cpu):
# uname -r 2.6.29-0.35.rc1.git4.fc11.i686 # cd /sys/devices/system/cpu # find .|grep online ./online # cat online 0 # echo 0 > online; echo 1 > online(quoted diff) +0
-2-bash: online: Permission denied -bash: online: Permission denied# chmod +rw online # echo 0 > online; echo 1 > online(quoted diff) +0
-2-bash: echo: write error: Input/output error -bash: echo: write error: Input/output error
Quoted 1 line
Yep, I am a bit confused - any hints appreciated!
Ok, that is not going to work on single core. Can you try if suspending works in init=/bin/bash mode?
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 2 lines · Pavel Machek
Ok, that is not going to work on single core. Can you try if suspending works in init=/bin/bash mode?
Hi, I forgot to mention that I'm running on a crypted disk. So "init=/bin/bash" fails. But I booted kernel-2.6.29-0.41.rc2.fc11.i686 using "1" as a kernel parameter, and put the laptop to suspend by
# echo -n mem > /sys/power/state
But still, I was not able to resume it - black screen, keyboard dead.
Could it be related to my disk encryption? I though "everybody" encrypted their laptop these days?
I set it up during installation (full disk encryption, I get prompted for passphrase as the first thing during boot).
This is my layout:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
12G 7,5G 4,5G 63% /
/dev/mapper/VolGroup00-LogVol02
14G 12G 1,6G 88% /home
/dev/sda1 190M 51M 130M 29% /boot
tmpfs 614M 76K 614M 1% /dev/shm# mount /dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/mapper/VolGroup00-LogVol02 on /home type ext3 (rw) /dev/sda1 on /boot type ext3 (rw) tmpfs on /dev/shm type tmpfs (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) fusectl on /sys/fs/fuse/connections type fusectl (rw) nfsd on /proc/fs/nfsd type nfsd (rw)
I'd be happy to test further - please let me know what info I can provide. Thanks.
-MartinG
Hi!
Quoted 7 lines
Quoted 2 lines
Ok, that is not going to work on single core. Can you try if suspending works in init=/bin/bash mode?
Hi, I forgot to mention that I'm running on a crypted disk. So "init=/bin/bash" fails. But I booted kernel-2.6.29-0.41.rc2.fc11.i686 using "1" as a kernel parameter, and put the laptop to suspend by
# echo -n mem > /sys/power/state
Hmm, ok.
Quoted 4 lines
But still, I was not able to resume it - black screen, keyboard dead.
Could it be related to my disk encryption? I though "everybody" encrypted their laptop these days?
Not me...
Quoted 2 lines
I'd be happy to test further - please let me know what info I can provide. Thanks.
Well, git bisect is always an option...? Or getting disk encryption out of place? Trying minimal config?
Pavel
Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Quoted 2 lines · Pavel Machek
Well, git bisect is always an option...? Or getting disk encryption out of place? Trying minimal config?
Wow, git bisect seems like a pretty powerful tool - I've never used it before, but will try to look into it.
FWIW, I am able to suspend/resume *once* with kernel-2.6.29-0.73.rc3.git2.fc11.i686, but on the second try, I am not able to resume.
Same goes for kernel-2.6.29-0.74.rc3.git3.fc11.i686, ie. powerup ok, suspend ok, resume ok, suspend again ok, resume not ok -> freeze (no keyboard, black screen, no hdd action, hard reset needed).
I'll look into git and try to download and compile a couple of kernels. I'll post back if I have any success.
Thanks,
MartinG