Bug 196732 - Resume from suspend causes X to hang
Summary: Resume from suspend causes X to hang
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11
Version: 6
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: X/OpenGL Maintenance List
QA Contact: David Lawrence
Depends On:
TreeView+ depends on / blocked
Reported: 2006-06-26 19:16 UTC by J.H.
Modified: 2007-11-30 22:11 UTC (History)
2 users (show)

Clone Of:
Last Closed: 2007-03-24 05:04:02 UTC

Attachments (Terms of Use)
xorg.conf file (3.44 KB, text/plain)
2006-06-27 16:44 UTC, J.H.
no flags Details
Xorg log from a failed resume (56.79 KB, text/plain)
2006-06-27 16:47 UTC, J.H.
no flags Details
Messages log (40.65 KB, application/octet-stream)
2006-06-27 16:58 UTC, J.H.
no flags Details

Description J.H. 2006-06-26 19:16:37 UTC
Description of problem:
Upon resume from a suspend to ram X does not resume.  The system comes up
without much issue (network comes back up and it's capable of sshing into the
machine and running diagnostics) but X spins off and uses 100% of the CPU. 
Doing an strace on the Xorg process shows that literally nothing is happening
(strace attachs but displays nothing).  Process exsists in Rs+ state accroding
to `ps`.  

Version-Release number of selected component (if applicable):
xorg starting with FC6-test1

How reproducible / Steps to Reproduce:
1) Suspend machine (echo mem > /sys/power/state) - backlight turns off to the
screen but last image on screen still present.
2) Resume machine backlight turns on, machine resumes.
3) Image on screen is still of that just before suspend.
4) Machine is responsive, hitting the power button invokes the proper shutdown
command.  If network is up sshing to the machine is possible.
Actual results:
Screen is frozen at the image prior to suspend.

Expected results:
Machine to come up and X to resume.

Additional info:

Only thing of note is that X has been acting odd as well, sometimes freezing
similar to the resume issue when opening apps though it's not as consistent. 
The same problems are there, X is hung, but the system is still alive.  Opening
Firefox (with about 100 tabs), evolution, openoffice and a few other large
programs might trigger the problem but it's not consistent

Hardware information:
IBM T42 w/ ATI 7500 graphics card
2ghz Pentium M

Comment 1 Mike A. Harris 2006-06-27 14:18:56 UTC
This could be an X server problem, a video driver problem, a kernel problem,
or any host of other potential causes.

Please attach your X server log file, config file, /var/log/messages
as individual uncompressed file attachments using the link below.

Comment 2 J.H. 2006-06-27 16:44:02 UTC
Created attachment 131616 [details]
xorg.conf file

Comment 3 J.H. 2006-06-27 16:47:45 UTC
Created attachment 131617 [details]
Xorg log from a failed resume

Comment 4 J.H. 2006-06-27 16:58:19 UTC
Created attachment 131618 [details]
Messages log

Pertinant section of the log file, from a bit before the suspend to a bit
afterwards.  NetworkManager & dhcp messages were stripped because of their
frequency and tendency to clutter the log file

Comment 5 Kevin Fenzi 2007-03-24 04:43:04 UTC
Hey J.H.: 
is this still happening with fc6 and/or current development? 

Note, that you should try 'pm-suspend' instead of just doing the 'echo mem >
/sys/power/state'. pm-suspend knows modules that should be unloaded, and various
other workarounds for issues. 

Comment 6 J.H. 2007-03-24 05:00:39 UTC
I have not seen this particular issue since test1 and I am now running the
2.6.19-1.2911.6.3.fc6 and am not seeing issues (and continuing to do echo mem >
/sys/power/state)  I'm fine with the bug being closed.

Comment 7 Kevin Fenzi 2007-03-24 05:04:02 UTC
ok. Thanks for the prompt reply. 

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