Rafael J. Wysocki wrote: > On Monday 26 June 2006 08:37, Stefan Seyfried wrote: > ]-- snip --[ > >>>4)Results once X has started (with 3D acceleration enabled; this is the >>>ati driver in xorg 6.9, with the dri module loaded). We have already >>>done chvt 1. Somehow, the fact that the dri module has ever been loaded, >>>even if X is then stopped, and the radeon and drm kernel modules are >>>removed(!) is enough to make the machine hang. >>> >>> ALL of the above leave the machine totally hung. >> >>I'd say this is a Kernel and/or X server bug, nothing we (suspend-"crew" :-) >>can do much about. Reporting this bug on the linux kernel mailing list and >>maybe in the X.org bug tracking system might be a good idea. > > > Just to clarify: if you stop X and unload the radeon and drm modules before > suspend, the machine hangs, but does it hang during suspend or during > resume? > > Rafael >
Dear Rafael, It hangs during resume. I'm copying an email below which I originally sent to the thinkpad mailing list; this has some more details. Regards, Richard ------------------------ Dear All, This is really weird. Having fixed the GL issues, I now discovered that suspend fails. Previously, the machine was very reliable: chvt 1; echo 3 > /proc/acpi/sleep and it would wake up every time. Now, I found that it suspends fine (and the crescent light comes on), but it fails to resume: the HDD powers up, the crescent doesn't go out, thereafter, it is totally dead. I spent several hours tracing this, but here is the most revealing test series: TEST 1) Boot up with "linux single". Very few modules are loaded. echo 3 > /proc/acpi/sleep. It sleeps (and resumes) happily, and repeatedly. TEST 2) Restart, to avoid bias. Again, boot up with "linux single". modprobe drm; modprobe radeon echo 3 > /proc/acpi/sleep. It sleeps (and resumes) happily, and repeatedly. TEST 3) linux single modprobe drm; modprobe radeon startx STOP x [drm and radeon modules are automatically removed when X shuts down] echo 3 > /proc/acpi/sleep Result: it suspends fine, but will not wake up! Pressing Fn-F4 spins up the HDD and CPU fan, but nothing else. TEST 4) Running X, but without the "Load dri" line is fine. Test 5) Running X, with "load dri", AND with Mesa installed is fine. I repeated this with both kernel 2.6.16.20 and 2.6.17.1 and 2.6.12. The results are identical (except that 2.6.16 needs to use echo mem > /sys/power/state instead of echo 3 > /proc/acpi/sleep) My conclusion is that something in Xorg does something to the graphics card which interferes with resume. Any ideas? Thanks very much! Richard -- [EMAIL PROTECTED] ** http://www.richardneill.org Richard Neill, Trinity College, Cambridge, CB21TQ, U.K. Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Suspend-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/suspend-devel
