Bug 1811

Summary: Unable to resume from suspend on Lenovo Thinkpad T410 Laptop
Product: Mageia Reporter: Christophe Bertin <christophe.bertin2>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: Normal CC: dglent, marja11, pterjan, thierry.vignaud, tmb
Version: 1Keywords: PATCH, UPSTREAM
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: pm-utils CVE:
Status comment:
Attachments: lspcidrake -v
dmesg > /tmp/dmesg-withpatch.txt

Description Christophe Bertin 2011-06-15 15:43:12 CEST
The system hung after sorting from a suspend mode.
Hibernate works.
try to find answer on the web and I found that Ubunutu and Fedora users where having the same problem. One user give the script above that works for me :

#!/bin/sh
# Workaround for concurrency bug in xserver-xorg-video-intel 2:2.4.1-1ubuntu10.
# Save this as /etc/pm/sleep.d/00CPU

. "${PM_FUNCTIONS}"

case "$1" in
	hibernate|suspend)
		echo "Going to use a single Core..."
		for i in /sys/devices/system/cpu/cpu*/online ; do
			echo 0 >$i
		done
		;;
	thaw|resume) 
#		sleep 10	# run with one core for 10 secs
#		echo "Switching back to SMP..."
#		for i in /sys/devices/system/cpu/cpu*/online ; do
#			echo 1 >$i
#		done
		;;
	*)
		;;
esac


If it could be integrated into the main suspend function...
Comment 1 Marja Van Waes 2011-10-21 11:54:16 CEST
@ Christophe

Sorry for responding so late, we are very short on triagers

Do you still have the â/var/log/pm-suspend.log part of when this happened? If so, could you please attach it.

And the output of 
lspcidrake -v 
too please and the dmesg-withpatch.txt that results from
dmesg > /tmp/dmesg-withpatch.txt

According to our triage guide, I should ask you a lot more, but since you got the bug solved, the rest of the questions seem useless now.

Keywords: (none) => PATCH
CC: (none) => marja11, thierry.vignaud, tmb
Source RPM: (none) => pm-utils

Comment 2 Marja Van Waes 2011-10-21 13:01:36 CEST
Forgot to add the UPSTREAM keyword

Did you report upstream, Christophe, or if you know someone else did, could you please give the link to the bug report?

If you didn't, could you please report here: https://bugs.freedesktop.org/enter_bug.cgi and choose the pm-utils product

Thanks a lot.

Keywords: (none) => UPSTREAM

Comment 3 Christophe Bertin 2011-10-21 23:17:48 CEST
Created attachment 990 [details]
lspcidrake -v
Comment 4 Christophe Bertin 2011-10-21 23:18:27 CEST
Created attachment 991 [details]
dmesg > /tmp/dmesg-withpatch.txt
Comment 5 Christophe Bertin 2011-10-21 23:19:31 CEST
Do you still have the â/var/log/pm-suspend.log part -> no
lspcidrake -v -> in attach file
/tmp/dmesg-withpatch.txt -> in attach file
Did you report upstream, Christophe, or if you know someone else did, could you
please give the link to the bug report? -> no. I have not find a similar bug but I find the solution for my problem so I ve post the solution
Comment 6 Dimitrios Glentadakis 2011-11-07 19:47:45 CET
I have the same problem with the netbook MSI U110

I changed the action when the screen is closed from suspend to turn off the screen because after opening the screen cap i could nt use the netbook, it does nt want to wake up.

I did nt try the above script, i use vesa driver

CC: (none) => dglent

Marja Van Waes 2011-11-08 07:13:02 CET

Summary: Unable to resume from suspend on Lenovo Thinkpad T410 Laptop => Unable to resume from suspend on Lenovo Thinkpad T410 Laptop and netbook MSI U110

Comment 7 Marja Van Waes 2011-11-08 07:27:05 CET
@ pterjan

I saw your name in the changelogs of pm-utils and laptop-mode-tools, therefore cc'ing you

CC: (none) => pterjan

Comment 8 Marja Van Waes 2011-11-08 08:02:43 CET
(In reply to comment #7)
> @ pterjan
> 
> I saw your name in the changelogs of pm-utils and laptop-mode-tools, therefore
> cc'ing you

And because of what Ahmad said in the changelog of pm-utils:
Wed May 18 2011 ahmad <ahmad> 1.4.1-3.mga1

+ Revision: 99676
- Conflict with laptop-mode-tools, its functionalities overlap pm-utils, and
upstream thinks it should conflict
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=612710#59

I do not know whether or not this resume bug can have anything to do with that conflict
Comment 9 Marja Van Waes 2012-01-01 10:40:28 CET
We still don't have a maintainer for pm-utils
Comment 10 Dimitrios Glentadakis 2012-01-02 20:31:49 CET
I tried the above script but it did nt work in my netbook.
Comment 11 Marja Van Waes 2012-01-02 22:41:22 CET
(In reply to comment #10)
> I tried the above script but it did nt work in my netbook.

In that case, there are two different issues: Christophe's one that can be fixed with that script, and yours, that can't

You might want to file a seperate bug report for your issue. Please look here to see which files to attach to the new report:

https://wiki.mageia.org/en/Triage_guide#Suspend.2FHibernate_issues
Comment 12 Dimitrios Glentadakis 2012-01-04 18:54:51 CET
ok: https://bugs.mageia.org/show_bug.cgi?id=4019
Comment 13 Marja Van Waes 2012-01-04 21:01:06 CET
@ Dimitrios

Thx :)

Summary: Unable to resume from suspend on Lenovo Thinkpad T410 Laptop and netbook MSI U110 => Unable to resume from suspend on Lenovo Thinkpad T410 Laptop

Comment 14 Marja Van Waes 2012-04-13 16:49:07 CEST
3 months later, still no maintainer for pm-utils
Comment 15 Manuel Hiebel 2012-11-05 16:52:11 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 is end of life.  If you would still like to see 
this bug fixed and are able to reproduce it against a later version of Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 16 Manuel Hiebel 2012-12-02 14:31:52 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 is no 
longer maintained, which means that it will not receive any further security or 
bug fix updates. As a result we are closing this bug. 

If you can reproduce this bug against a currently maintained version of Mageia 
please feel free to click on "Version" change it against that version of Mageia and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX