Thinkpad T61 Suspend hangs on resume

Bug #218882 reported by Jonathan Blackhall
22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I am using the Hardy Heron beta. Suspend and resume used to work perfectly for me (I think), but recently it has been taking a long time to resume from suspend. After initiating resume, the backlight turns on and there is an underscore "_" displayed. After about 15-20 seconds of this, a few error messages flash across the screen and then it fully resumes. I have no problems after logging back in. I am on a Thinkpad T61 with Intel X3100 graphics using Hardy Heron beta with all recent updates. I am attaching a dmesg. Let me know what else you need.

Tags: cft-2.6.27
Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote :
Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Andy Stanford-Clark (andysc) wrote :

seeing the same on T61 with Nvidia graphics card.

Sometimes the flashing _ stays for about 1 minute, then the login prompt comes up... other times it "never" (OK, as long as my patience lasts) returns.

Oh, and the crescent moon standby LED flashes all this time as well.

Revision history for this message
Leann Ogasawara (leannogasawara) wrote :

The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test:

1) If you are comfortable installing packages on your own, the linux-image-2.6.27-* package is currently available for you to install and test.

--or--

2) The upcoming Alpha5 for Intrepid Ibex 8.10 will contain this newer 2.6.27 Ubuntu kernel. Alpha5 is set to be released Thursday Sept 4. Please watch http://www.ubuntu.com/testing for Alpha5 to be announced. You should then be able to test via a LiveCD.

Please let us know immediately if this newer 2.6.27 kernel resolves the bug reported here or if the issue remains. More importantly, please open a new bug report for each new bug/regression introduced by the 2.6.27 kernel and tag the bug report with 'linux-2.6.27'. Also, please specifically note if the issue does or does not appear in the 2.6.26 kernel. Thanks again, we really appreicate your help and feedback.

Revision history for this message
Jeffrey Baker (jwbaker) wrote :

I had the same problem in Hardy on a ThinkPad X61. The problem is caused by SATA ALPM. It is a bug in the 2.6.24 kernel in Hardy, and it is not present in 2.6.27 (Intrepid). Therefore I am closing this bug. If you still see this bug in Intrepid, please reopen it.

Revision history for this message
Andy Stanford-Clark (andysc) wrote :

Just tried Intrepid Alpha 5 live CD, and ThinkPad T61 does not resume from sleep.

I suspends fine, and when you wake it up, the CD spins for a short while, and the fan comes on, but nothing on the screen, and nothing else. Required power cycle to start it again.

It works fine on Hardy, so this looks like a regression.

I'm assuming there's nothing that stops this working on LiveCD.. i.e. should I have done a proper installation to test it properly?

Revision history for this message
A. Bram Neijt (bneijt) wrote :

Attached is an excerpt from /var/log/message for (what I think) was the failed resume. The following errors are mentioned:
Sep 21 18:48:09 owl gnome-screensaver-dialog: pam_sm_authenticate: Called
Sep 21 18:48:09 owl gnome-screensaver-dialog: pam_sm_authenticate: username = [bram]
Sep 21 18:48:09 owl gnome-screensaver-dialog: Error attempting to parse .ecryptfsrc file; rc = [-5]
Sep 21 18:48:09 owl gnome-screensaver-dialog: Unable to read salt value from user's .ecryptfsrc file; using default
Sep 21 18:48:52 owl kernel: [ 1494.408543] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep 21 18:57:28 owl NetworkManager: <info> starting...
Sep 21 18:57:28 owl NetworkManager: <WARN> nm_dbus_manager_start_service(): Could not acquire the NetworkManager service as it is already taken.
Sep 21 18:57:28 owl NetworkManager: <info> disconnected by the system bus.
Sep 21 18:57:28 owl NetworkManager: <WARN> main(): Failed to start the dbus manager.

and

Sep 21 19:00:23 owl gnome-power-manager: (bram) Resuming computer
Sep 21 19:00:29 owl gnome-screensaver-dialog: pam_sm_authenticate: Called
Sep 21 19:00:29 owl gnome-screensaver-dialog: pam_sm_authenticate: username = [bram]
Sep 21 19:00:29 owl gnome-screensaver-dialog: Error attempting to parse .ecryptfsrc file; rc = [-5]
Sep 21 19:00:29 owl gnome-screensaver-dialog: Unable to read salt value from user's .ecryptfsrc file; using default
Sep 21 19:00:29 owl kernel: [ 2182.700287] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Sep 21 19:01:31 owl bonobo-activation-server (bram-9171): could not associate with desktop session: Failed to connect to socket /tmp/dbus-jpAjze1FVq: Connection refused
Sep 21 19:01:36 owl bonobo-activation-server (bram-9320): could not associate with desktop session: Failed to connect to socket /tmp/dbus-jpAjze1FVq: Connection refused
Sep 21 19:01:40 owl kernel: [ 2253.865896] iwlagn 0000:03:00.0: PCI INT A disabled
Sep 21 19:01:45 owl exiting on signal 15
Sep 21 19:45:55 owl syslogd 1.5.0#2ubuntu6: restart.

This is from the same hardware as mentioned in the bug. Hope this helps, I have not had the time to do more testing but have removed cryptfs-utils since then, which should solve at least one of the mentioned errors.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Suspend/resume is working fine for me on current Intrepid (2.6.27-7.10 and the past few versions before that).

Model: T61
BIOS: 2.10 (7LETB0WW)
Graphics: Intel GM965/GL960

Revision history for this message
Matt Zimmerman (mdz) wrote :
Matt Zimmerman (mdz)
Changed in linux:
status: Triaged → Incomplete
Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote : Re: [Bug 218882] Re: Thinkpad T61 Suspend hangs on resume

I think the BIOS update might have fixed this. I just tried and I still get
a brief error message print out but it doesn't take nearly as long to resume
I don't think. I forget how long things took originally since I don't
actually use Suspend that much. Can anyone else confirm?

Revision history for this message
joe williams (joetify) wrote :

I am using the ibex with all updates and suspend and resume work properly. The issue I am seeing is that upon resuming my wireless does not work. It shows up in ifconfig but does not find any networks. Anyone else see something similar? Also, I have installed the latest BIOS update.

Revision history for this message
Andreas Jonsson (sonofjon) wrote :

I can confirm the same behavior as described by Joe Williams. Suspend and resume works, but wireless is non-functioning after resume. Tried simple things as restarting networking:

sudo /etc/init.d/networking restart

and disabling and enabling networking and wireless in the NetworkManager Applet. Neither action led to an improvement.

How can I diagnose the problem further?

I am running up-to-date Intrepid.

Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote :

My wireless continues to work after suspending and resuming on the T61 (I
have the Intel AGN card). I haven't tried Hibernate. Have you tried
installing the BIOS update suggested by Matt Zimmerman above?

Revision history for this message
Andreas Jonsson (sonofjon) wrote :

My BIOS is up-to-date:

$ sudo dmidecode -s bios-version
7LETC4WW (2.24 )

Yet, I still experience the wireless being dead after resume-from-suspend.

But I have found a fix for the problem, outlined here: https://bugs.edge.launchpad.net/ubuntu/+source/linux-restricted-modules/+bug/272300/comments/23

The following is the wireless card section of the output from

$ lshal

udi = '/org/freedesktop/Hal/devices/pci_168c_1014'
  info.linux.driver = 'ath_pci' (string)
  info.parent = '/org/freedesktop/Hal/devices/pci_8086_2841' (string)
  info.product = 'AR5212 802.11abg NIC' (string)
  info.subsystem = 'pci' (string)
  info.udi = '/org/freedesktop/Hal/devices/pci_168c_1014' (string)
  info.vendor = 'Atheros Communications Inc.' (string)
  linux.hotplug_type = 2 (0x2) (int)
  linux.subsystem = 'pci' (string)
  linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0' (string)
  pci.device_class = 2 (0x2) (int)
  pci.device_protocol = 0 (0x0) (int)
  pci.device_subclass = 0 (0x0) (int)
  pci.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0' (string)
  pci.product = 'AR5212 802.11abg NIC' (string)
  pci.product_id = 4116 (0x1014) (int)
  pci.subsys_product_id = 1418 (0x58a) (int)
  pci.subsys_vendor = 'IBM' (string)
  pci.subsys_vendor_id = 4116 (0x1014) (int)
  pci.vendor = 'Atheros Communications Inc.' (string)
  pci.vendor_id = 5772 (0x168c) (int)

Revision history for this message
Matt Zimmerman (mdz) wrote :

Thanks for the reference, Andreas. You and joe williams appear to be experiencing bug 272300, and the original reporter of this bug (Jonathan) says that his problem no longer exists (possibly corrected by a BIOS update). Thus, I'm closing this bug as invalid.

Changed in linux:
status: Incomplete → Invalid
Revision history for this message
Launchpad Janitor (janitor) wrote : Kernel team bugs

Per a decision made by the Ubuntu Kernel Team, bugs will longer be assigned to the ubuntu-kernel-team in Launchpad as part of the bug triage process. The ubuntu-kernel-team is being unassigned from this bug report. Refer to https://wiki.ubuntu.com/KernelTeamBugPolicies for more information. Thanks.

Revision history for this message
Cyril Jaquier (cyril-jaquier) wrote :

I'm also affected (Jaunty). I have a T61 with nVidia graphics and use uswsusp. Suspend to ram works fine, no problem at all. Hibernate (suspend to disk) also "works" but resume take ages. The system starts, hangs during 1-2 minutes and then resumes properly. After resume, wireless works fine (Intel PRO 4965).

I also tried a 2.6.30-rc3 kernel but no improvement.

Revision history for this message
Jonathan Blackhall (johnny-one-eye) wrote : -Hi-
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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