T500 Suspend to RAM is flaky

Bug #272307 reported by Jason Smith
38
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
New
Undecided
Unassigned

Bug Description

Suspend to ram results in a frozen machine on resume. Hibernate is not even being attempted at this time. System specs are a Lenovo Thinkpad T500 with an intel X4500HD. No ATI card. lspci attached. There is no interesting kernel log after suspend. I suspect it doesn't get to the point where it can write a log to the hard drive.

***Workaround for those with this issue***
Install the linux-image-rt package and related rt packages
edit your /boot/grub/menu.lst, and remove quite and splash from the rt entries (sometimes video screws up with splash?)
Copy /usr/lib/pm-utils/defaults to /etc/pm/config.d/defaults
make your suspend modules read: SUSPEND_MODULES="uhci_hcd ehci_hcd"
Rejoice!

Revision history for this message
Jason Smith (jassmith) wrote :
Revision history for this message
engin (enginalper) wrote :

I second this. The system goes to sleep fine but does not resume properly. In my case it is blank screen and not even the magic SysRq keys work.

The following seems to work sometimes when run from a tty:

pm-suspend --quirk-vbe-post --quirk-vbestate-restore --quirk-dpms-on

Revision history for this message
Jason Smith (jassmith) wrote :

Yeah, pm-suspend --quirk-vbemode-restore --quirk-dpms-on gives me one suspend. The second suspend after that always freezes however.

Jason Smith (jassmith)
description: updated
Revision history for this message
nickolai (nickolai) wrote :

When trying to suspend-to-ram or hibernate on either a T500 and a W500 (with integrated Intel graphics selected in the BIOS on the W500), 8.10 beta (up-to-date as of October 22nd, kernel 2.6.27-7, amd64) hangs when X runs after resume.

Resuming to a text-mode VT works fine (with both suspend-to-ram and hibernate), but as soon as I switch VTs to X, the system freezes with a partially-rendered X screen contents, and the kernel appears to hang (wired network stops responding to pings, capslock does not toggle, etc).

Attempting any of the workarounds suggested in this bug report so far does not help (either unloading USB modules or the various vbe quirks). Hangs occur both with and without hardware DRI support (i.e. both when using and not using the i915 kernel driver).

Would be happy to test suggestions or provide more specific information.

Revision history for this message
nickolai (nickolai) wrote :

After some additional testing, it seems that, at least for my W500, "pm-suspend --quirk-s3-mode --quirk-s3-bios --quirk-vbemode-restore" provides one suspend-resume cycle, but as in Jason's case, a second suspend attempt freezes the system.

Revision history for this message
nickolai (nickolai) wrote :

In my case, I was able to get the laptop to resume from suspend-to-RAM more than once by disabling the "Intel TXT Feature" in the BIOS (it's under the "Security" and then "Security Chip" menus). Hope that helps.

Revision history for this message
Trey Pick (treympick) wrote :

I found a solution here:

http://www.thinkwiki.org/wiki/Install_Ubuntu_8.10_(Intrepid_Ibex)_on_a_Thinkpad_T400 in the section about Suspend/Hibernate. Apparently they found it was an issue with multiprocessor concurrency, and resolved the issue by disabling one core on suspend and enabling on resume. Have been using this fix for about 5 days without any suspend/resume problems.

Revision history for this message
Jonas Pedersen (jonasped) wrote :

This looks to be a duplicate of bug #276943. Marking this one as duplicate. Please test the proposed fix in bug #276943.

Revision history for this message
lhotari (lartsa) wrote :

I had this problem on 9.04 Jaunty with Lenovo T500 (2082-8WG). The system was upgraded from Intrepid 8.10 and I had done some tweaks for suspend/resume earlier. For my setup the resume stalled and the moon-led did not go out. I happened to test resume/suspend from the 9.04 LiveCD (64bit) and resume/suspend worked as it should. I got the problem fixed by removing laptop-mode-tools and acpi-support with purge and reinstalling them after that.
sudo apt-get remove --purge laptop-mode-tools acpi-support
I also removed all earlier tweaks from /etc/hal/fdi/information directory (l had lenovo.fdi there).
After rebooting the resume/suspend worked well. I use the integrated Intel graphics and I have glx/dri/compiz enabled in X. ATI graphics is much louder and the performance was quite bad in my setup (minimizing/maximizing windows was very slow). Now I'm happy with my Lenovo T500 Ubuntu 9.04 setup.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.