Description of problem:
As per title, Thinkpad T440s running Fedora 21 beta (with all updates applied) will not resume from suspend, but requires a hard restart.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Suspend system via any method (close lid, press power button, press alt-power under the battery menu, run pm-suspend)
I can hear CPU fan starting and blowing air, but laptop still acts like it is in suspend - display is off, power button still blinks...
Laptop wakes up from sleep appropriately.
I have two boot drives, first is 500GB HDD and other is 16GB SSD. I have /boot, /boot/efi and /home partitions on regular drive and my / partition on ssh drive.
I have the same problem as Valent described, on my Thinkpad X240 running Fedora Workstation 21 beta (Gnome), fully updated. Once suspended, the only way to get get out of the suspend state, is by holding down the power button to force a system power off and then boot it up again. The only difference is that I don't hear any noise at all from the fan when I try to resume.
When I tried Fedora 21 beta, XFCE4 spin on the same computer it did NOT present any problems at all with suspend/resume!! It worked flawlessly.
I use Legacy boot on a 1TB Samsung SSD 840 EVO (/). I also have a 16BG SSD but that is only used as a quick data backup.
(In reply to Peter Thorstenson from comment #1)
> I have the same problem as Valent described, on my Thinkpad X240 running
> Fedora Workstation 21 beta (Gnome), fully updated. Once suspended, the only
> way to get get out of the suspend state, is by holding down the power button
> to force a system power off and then boot it up again. The only difference
> is that I don't hear any noise at all from the fan when I try to resume.
> When I tried Fedora 21 beta, XFCE4 spin on the same computer it did NOT
> present any problems at all with suspend/resume!! It worked flawlessly.
> I use Legacy boot on a 1TB Samsung SSD 840 EVO (/). I also have a 16BG SSD
> but that is only used as a quick data backup.
After seeing Peter's message I tried suspend/resume on XFCE but I still got same result. I could hear hdd spinning up and cpu fan working, but power led would still be in suspend mode - just blinking, with screen off.
But with LXDE suspend/resume works flawlessly! In LXDE suspend works as expected with "pm-suspend" command and resume also works with power button.
Created attachment 958090 [details]
LXDE suspend and resume kernel messages
After suspend/resume worked in LXDE I tried logging out of LXDE and logging into GNOME 3, now suspend/resume also worked in GNOME 3 also!
But after reboot suspend/resume wouldn't work in any combination... I tried again logging into XFCE then into LXCE -> fail, straight to XFCE -> fail, straing into LXDE - > fail.
I tried "dmesg > dmesg_before; echo mem > /sys/power/state; dmesg > dmesg_after" as per instructions but in all cases only dmesg_before was created.
After reading https://01.org/linuxgraphics/documentation/how-debug-suspend-resume-issues-0 I had no clue what to do next...
Then I tried choosing debugging kernel in GRUB menu, and bingo! Now suspend/resume works every time in every envirnment.
Created attachment 958092 [details]
On Mon, Nov 17, 2014 at 1:04 AM, Andrew Lutomirski <firstname.lastname@example.org> wrote:
> On Sun, Nov 16, 2014 at 4:01 PM, email@example.com
> <firstname.lastname@example.org> wrote:
>> Just a quick update - i got suspend/resume to once randomly work in
>> LXDE environment, but after that again everytime it failed.
>> Then I tried using "debugging" kernel on GRUB menu, and now each time
>> I tried suspend/resume in all environments (GNOME 3, LXDE, Cinnamon,
>> XFCE) it worked every time as expected.
> This smells like a no_console_suspend and/or whatever the new drm or
> i915 fast suspend/resume thing is. Are there interesting boot
> parameters that differ between working and non-working configurations?
There is no difference in boot kernel parameters - http://fpaste.org/151332/83812141/raw/
I noticed that now that suspend/resume works it is a bit slower to suspend. On
"normal" kernel suspend is instant, when I enter "pm-suspend" or press
suspend via GUI screen just goes black right away.
With "debugging" kernel when I issue suspend command first I see lock
screen, then screen goes black, then it blinks once more with lock
screen and then it goes off.
I ran across this: https://bbs.archlinux.org/viewtopic.php?id=187624
[SOLVED]Laptop doesn't resume after suspending to ram
Okay, problem is solved. Solution is disabling USB 3.0 support in BIOS. This problem is actual for all Thinkpad E[4-5]40 and T[4-5]40.
I tried it, but it didn't help me. :(
(In reply to Peter Thorstenson from comment #7)
> I ran across this: https://bbs.archlinux.org/viewtopic.php?id=187624
> [SOLVED]Laptop doesn't resume after suspending to ram
> Okay, problem is solved. Solution is disabling USB 3.0 support in BIOS. This
> problem is actual for all Thinkpad E[4-5]40 and T[4-5]40.
> I tried it, but it didn't help me. :(
Have you tried also using "debugging" kernel? Now suspend/resume work great on my Lenovo T440s.
Created attachment 958704 [details]
suspend freeze log
These are syslog messages from successful suspend and unsucesfull resume... from the log it seams like suspend works ok, but there are no messages after that because resume fails early in the resume process so as system is not up nothing gets written into log.
I also tried pinging to see if machine is up but only that display is off, but nope, as power button is incicating by blinking - machine hasn't resumed...
Created attachment 958705 [details]
this is syslog of one working suspend and resume with debugging kernel
In this log there are clearly labeled log messaged from suspend and resume.
This suspend and resume works but only with debugging kernel, with regular kernel resume doesn't work.
Thanks to this bugreport  now suspend and resume work as expected on Fedora 21, finally!
Issue was with missing TPM modules! One solution would be to disable TPM in EFI/BIOS and other to install missing kernel-modules-extra package.
Now resume finally works!
Also suspend now takes almost twice long, and screen blinks quite few more times like this: on-pressed_suspend-off-on-off-on-off
But main thing is that both suspend and resume work now as expected.
*********** MASS BUG UPDATE **************
We apologize for the inconvenience. There are a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 21 kernel bugs.
Fedora 21 has now been rebased to 3.18.3-201.fc21. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel.
If you experience different issues, please open a new bug report for those.
Still works without issues with latest kernel.
Thanks for the update!