Bug 647604

Summary: IBM Thinkpad T400 suspend stopped working /sys/power/state Input/Output error
Product: [Fedora] Fedora Reporter: Felix Möller <mail>
Component: pm-utilsAssignee: Jaroslav Škarvada <jskarvad>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 14CC: bostjan.lah, jskala, jskarvad, opensource, pknirsch, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pm-utils-1.3.1-4.fc14 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-23 22:00:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
/var/log/pm-suspend.log
none
Similar experience on a Lenovo Thinkpad X200s
none
pm-utils-bugreport-info.sh none

Description Felix Möller 2010-10-28 21:35:05 UTC
Created attachment 456339 [details]
/var/log/pm-suspend.log

I had suspend working on my notebook for several Fedora versions. It broke recently.

Debugging it I found out that it fails with 
# echo mem > /sys/power/state 
bash: echo: Write-Error: Input/Output-Error


pm-utils-1.3.1-3.fc14.i686
# uname -a
Linux thinkpad 2.6.35.6-46.fc14.i686.PAE #1 SMP Tue Oct 19 03:06:38 UTC 2010 i686 i686 i386 GNU/Linux

Comment 1 Robert Swain 2010-10-28 22:12:08 UTC
Created attachment 456346 [details]
Similar experience on a Lenovo Thinkpad X200s

Suspend fails at the same point as the aforementioned poster, except in my /usr/lib64/pm-utils/pm-functions at line 295 I have an echo -n.

I have pm-utils-1.3.1-2.fc14.x86_64 installed.

If I cat /sys/power/state I observe:

$ cat /sys/power/state 
mem disk

If there is anything you would like me to try or any further information you wish to obtain from me, please ask.

Comment 2 Robert Swain 2010-10-29 22:26:48 UTC
This issue is fixed for me with the kernel update to:

kernel.x86_64       2.6.35.6-48.fc14

Comment 3 Felix Möller 2010-10-31 08:50:53 UTC
In fact I can "echo mem > /sys/power/state" now without error.
But the system hangs on suspend every time. I just see the blue plymouth screen...

Comment 4 Jaroslav Škarvada 2010-10-31 10:06:19 UTC
Seems like kernel problem. Could you provide output of pm-utils-bugreport-info.sh?

Comment 5 Felix Möller 2010-11-01 08:06:32 UTC
Created attachment 456809 [details]
pm-utils-bugreport-info.sh

Here is the output of pm-utils-bugreport-info.sh.

My systems suspends fine with "echo mem > /sys/power/state". However it does not work from the menu (gnome) and from the terminal with "pm-suspend"...

Comment 6 Jaroslav Škarvada 2010-11-01 09:27:18 UTC
Log looks good. I do not have here T400 for testing now but I will try to get one. Can you try without video quirks? Create file in /etc/pm/config.d with content: 

HOOK_BLACKLIST=98video-quirk-db-handler

If it doesn't help try to blacklist other hooks from the log above. Maybe one of the hook is causing problem. Please report result.

Comment 7 Felix Möller 2010-11-01 10:35:48 UTC
Hi Jaroslav thanks alot for your suggestion:

HOOK_BLACKLIST=98video-quirk-db-handler

fixes the problem for me.

What do you need to really fix this?
At what time is http://cgit.freedesktop.org/pm-utils/tree/video-quirks/20-video-quirk-pm-lenovo.quirkdb?h=video-quirks used?

Comment 8 Jaroslav Škarvada 2010-11-05 16:48:37 UTC
Thanks for info. It seems the quirks DB is not shipped with pm-utils. Please try to download latest quirk DB from http://pm-utils.freedesktop.org/releases/ and unpack it to /usr/lib/pm-utils (or /usr/lib64/pm-utils/ for 64 bit) and retest.

Comment 9 Jaroslav Škarvada 2010-11-09 11:45:48 UTC
Please try following scratch build:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2589652

It incorporates all quirks. Also pm-utils-bugreport-info.sh was updated. If you still encounter the problem, please post output of pm-utils-bugreport-info.sh from the above scratch build. It should reveal more information now.

Comment 10 Jaroslav Škarvada 2010-11-18 15:15:34 UTC
Update was pushed through Bodhi, if it does not resolve your problem, feel free to reopen.

Comment 11 Fedora Update System 2010-11-18 15:22:05 UTC
pm-utils-1.3.1-4.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/pm-utils-1.3.1-4.fc14

Comment 12 Fedora Update System 2010-11-19 00:05:02 UTC
pm-utils-1.3.1-4.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update pm-utils'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/pm-utils-1.3.1-4.fc14

Comment 13 Fedora Update System 2010-11-23 22:00:30 UTC
pm-utils-1.3.1-4.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.