Bug 647604 - IBM Thinkpad T400 suspend stopped working /sys/power/state Input/Output error
Summary: IBM Thinkpad T400 suspend stopped working /sys/power/state Input/Output error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 14
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-28 21:35 UTC by Felix Möller
Modified: 2010-11-23 22:00 UTC (History)
6 users (show)

Fixed In Version: pm-utils-1.3.1-4.fc14
Clone Of:
Environment:
Last Closed: 2010-11-23 22:00:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
/var/log/pm-suspend.log (5.13 KB, text/x-log)
2010-10-28 21:35 UTC, Felix Möller
no flags Details
Similar experience on a Lenovo Thinkpad X200s (5.48 KB, text/x-log)
2010-10-28 22:12 UTC, Robert Swain
no flags Details
pm-utils-bugreport-info.sh (5.46 KB, text/plain)
2010-11-01 08:06 UTC, Felix Möller
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.