ubuntu 11.04 will not wake up from suspend

Bug #787203 reported by Rob Nelson
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: firefox

I just loaded Ubuntu 11.04 on my Thinkpad R40, and now I find that whenever the computer goes to sleep, it will not wake up! I touch the keyboard to waken the system, and I can hear the hard drive start spinning, and my wireless indicator starts flashing, but the screen stays blank. Eventually, I need to hold down the power button to shut manually shut down the system and then re-start it. Since tow of the reasons I switched to Ubuntu were its alleged speed and power savings, this is extremely frustrating!

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.2
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Mon May 23 15:43:44 2011
FirefoxPackages:
 firefox 4.0.1+build1+nobinonly-0ubuntu0.11.04.2
 flashplugin-installer N/A
 adobe-flashplugin N/A
 icedtea-plugin N/A
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: firefox
UpgradeStatus: No upgrade log present (probably fresh install)
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: rob 1129 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'I82801DBICH4'/'Intel 82801DB-ICH4 with AD1981B at irq 11'
   Mixer name : 'Analog Devices AD1981B'
   Components : 'AC97a:41445374'
   Controls : 26
   Simple ctrls : 18
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw unknown'
   Mixer name : 'ThinkPad EC (unknown)'
   Components : ''
   Controls : 2
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
   Playback channels: Mono
   Limits: Playback 0 - 14
   Mono: Playback 7 [50%] [on]
DistroRelease: Ubuntu 11.04
HibernationDevice: RESUME=UUID=dac61b89-7789-4680-8e26-d27d68e88495
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
Lsusb:
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: IBM 289754U
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=83a3f296-da09-4d9e-bbc1-fb2539e6bf9e ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
Tags: natty
Uname: Linux 2.6.38-8-generic i686
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin nopasswdlogin plugdev sambashare tape video
dmi.bios.date: 10/13/2003
dmi.bios.vendor: IBM
dmi.bios.version: 1PET49WW (1.17 )
dmi.board.name: 289754U
dmi.board.vendor: IBM
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: IBM
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnIBM:bvr1PET49WW(1.17):bd10/13/2003:svnIBM:pn289754U:pvrNotAvailable:rvnIBM:rn289754U:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:
dmi.product.name: 289754U
dmi.product.version: Not Available
dmi.sys.vendor: IBM

Revision history for this message
Rob Nelson (unkierob) wrote :
affects: firefox (Ubuntu) → ubuntu
Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Rob,

Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal (press ctrl-alt-t to open a terminal):

apport-collect -p linux 787203

When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Also, once you've gathered the information as requested above, could you put the system to sleep again (by closing the lid) and then waking it up again (opening the lid)? One of three things might happen:

1- The system doesn't enter sleep at all on the second try, requiring powering it off as you have observed.
2- The system enters sleep and on resuming the second time, the screen might come back up fine.
3- The system enters sleep and on resuming the second time, it is still unresponsive as you have observed.

Please let me know how things behave.

Thanks!

Changed in ubuntu:
status: New → Incomplete
affects: ubuntu → linux (Ubuntu)
Revision history for this message
Rob Nelson (unkierob) wrote : AcpiTables.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Rob Nelson (unkierob) wrote : AlsaDevices.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : AplayDevices.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : ArecordDevices.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : BootDmesg.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : Card0.Codecs.codec97.0.ac97.0.0.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : Card0.Codecs.codec97.0.ac97.0.0.regs.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : IwConfig.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : Lspci.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : PciMultimedia.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : ProcModules.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : UdevDb.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : UdevLog.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote : WifiSyslog.txt

apport information

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

I followed your "apport" instructions--hopefully I've done this correctly and posted some useful information for you. I'll give the sleep trials a go later this evening and report back.

Thanks for trying to solve this!

-Rob

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

I left Firefox running and left my laptop on while I was out (I have it set to "Put computer to sleep when inactive for :10). When I returned and pressed the power button to wake it up, the hard drive started spinning and a two-line text message flashed in the upper left corner of the screen (too fast for me to read it). My other indicator lights came on (power, wireless radio) and the hard drive kept spinning, but the screen stayed blank. The pointer was there, and I could control it with the touchpad, but I couldn't get the screen back without shutting down manually (holding the power button) and then re-starting.

I'll try another test while I have dinner.

-Rob

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

The second trial had a similar, though not identical result: When I pressed the power button to wake up the laptop, the hard drive started spinning, and a solid (non-blinking) cursor appeared in the upper left corner of the screen, but no message. The pointer did not appear. Had to manually re-start.

Both of these cases were with the laptop plugged into an AC source, in case that makes any difference.

-Rob

Daniel Manrique (roadmr)
Changed in linux (Ubuntu):
status: Incomplete → New
Revision history for this message
Daniel Manrique (roadmr) wrote :

Rob,

Thanks for your testing.

I notice your system has an AMD graphics card. Did you install the additional driver for this card? (look for the "Additional Drivers" icon under Applications ). This might be relevant as it looks like a display problem.

Also, could I ask you to do another quick test?

Put the system to sleep, then wake it up, and once it's up, press Ctrl+Alt+F1 to switch to a virtual console.

If you are able to switch to a console (which will have a login prompt), log in with your username and password. Type this command to get the kernel log:

dmesg > dmesg-1.txt

Then to reboot the system (so you don't need to push the power button to do so):

sudo reboot

Once you've rebooted, please attach the dmesg-1.txt file (should be in your user's home directory).

Also, if you are unable to switch to a virtual console, please also let me know.

Thanks for your help with running all these tests!

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

When I open the Additional Drivers application it tells me "No proprietary drivers are in use on this system."

After the system went to sleep this morning and I tried to wake it up, I got the same response as last night (black screen, unblinking cursor). Ctrl-Alt-F1 failed to do anything, so I had to again shut it down with the power button and re-start. After the system was back up and running, I opened a virtual console and generated the dmeg-1.txt file -- do you want me to send that to you?

I've also been having a problem that the system can't find my CD/DVD drive (Question #158715). Could these both be an indication of some underlying problem with trying to run Ubuntu on this particular machine? For example, did IBM engineer the R40 so tightly to Windows standards (it even says "Designed for Microsoft Windows XP" right on the case) that there's too many barriers for Ubuntu to overcome? When I use my old hard drive (with XP still installed) everything seems to work fine, so I don't think there are any hardware problems. Could I have somehow messed up the Ubuntu installation?

Sorry to be such a bother.

-Rob

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

I tried it again this morning with the laptop running on battery power instead of an AC connection, and had the same result, except this time there was no cursor--just a black screen when I tried to wake it up.

-Rob

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Rob,

Some of the hardware in the R40 seems a bit strange, the CD detection problem is strange, however the problem you're seeing with resume is not so uncommon, specific models sometimes have quirky suspend/resume behavior and without the manufacturer's help it can be difficult to properly implement these functions.

I noticed you mention the system is a bit old, and indeed the BIOS dates from 2003. Usually, hardware support for slightly older systems is better in newer versions of Ubuntu, but still, your system may work better with a previous version. So one possible thing to try is for you to check with an older version of Ubuntu, perhaps 10.10 (Maverick Meerkat) or 10.04 (Lucid Lynx). If you are able to download and burn to CD, start a Live CD session and check whether the system is able to suspend and resume, and also whether Linux "sees" your CD drive, it would be helpful to know the results of these tests.

You can get previous releases here:

http://releases.ubuntu.com/

So from here, if you report indicating that things worked in a previous version but now they don't, it's a good starting point, since we know that Ubuntu worked at some point.

However if it doesn't work with older versions, then it means suspend/resume on your system hasn't been correctly implemented. In this case I might ask you to try some other debugging procedures to get more information on what might be going wrong, and then turn this in to Ubuntu developers, see if they can help figure it out.

Thanks for your help testing this!

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

So, I spent hours this afternoon downloading 10.04 from the Ubuntu site and followed the instructions to make a bootable USB drive. When I try to boot from this drive, however, I get the following message: "Unknown keyword in configuration file: gfxboot"
Then the following sequence repeats over and over and over:
vesamenu.c32: not a COM32R image
boot:
vesamenu.c32: not a COM32R image
boot:
vesamenu.c32: not a COM32R image
boot:
This is all getting more that a little bit frustrating, I'm afraid!!

-Rob

Revision history for this message
Daniel Manrique (roadmr) wrote :

Hi Rob,

I'm sorry to hear the 10.04 USB is giving you trouble to run.

I found some tips on how to solve the "Unknown keyword" problem:

http://alexsleat.co.uk/2010/11/27/how-to-fix-unknown-keyword-in-configuration-file-ubuntu-usb-boot/

If possible, you could also try burning to a CD and booting from that.

Let me know if this helps move things forward in any way.

Revision history for this message
Kornel Jahn (cornail) wrote : apport information

AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: korn 1832 F.... pulseaudio
 /dev/snd/pcmC0D0p: korn 1832 F...m pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xfc020000 irq 48'
   Mixer name : 'Conexant CX20561 (Hermosa)'
   Components : 'HDA:14f15051,17aa211c,00100000 HDA:14f12c06,17aa2122,00100000'
   Controls : 16
   Simple ctrls : 8
Card29.Amixer.info:
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 7VHT12WW-1.01'
   Mixer name : 'ThinkPad EC 7VHT12WW-1.01'
   Components : ''
   Controls : 1
   Simple ctrls : 1
Card29.Amixer.values:
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
DistroRelease: Ubuntu 11.04
HibernationDevice: RESUME=UUID=93e6efe9-2937-4181-bc8d-8ee463e5a19e
InstallationMedia: Kubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427)
MachineType: LENOVO 2765D2G
Package: linux (not installed)
PccardctlIdent:
 Socket 0:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-2.6.38-8-generic root=UUID=481b1cd2-5241-4e72-bf80-e4cd6e88007e ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
RelatedPackageVersions:
 linux-restricted-modules-2.6.38-8-generic N/A
 linux-backports-modules-2.6.38-8-generic N/A
 linux-firmware 1.52
Tags: natty
Uname: Linux 2.6.38-8-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare vboxusers
WifiSyslog:
 Jun 4 10:05:34 pumphaus kernel: [ 2808.319003] show_signal_msg: 3 callbacks suppressed
 Jun 4 10:05:34 pumphaus kernel: [ 2808.319008] npviewer.bin[2156]: segfault at 14 ip 00000000f62d8b1a sp 00000000ffced0f8 error 4 in libflashplayer.so[f5cd2000+bc1000]
dmi.bios.date: 01/09/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7UET56WW (2.02 )
dmi.board.name: 2765D2G
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr7UET56WW(2.02):bd01/09/2009:svnLENOVO:pn2765D2G:pvrThinkPadT400:rvnLENOVO:rn2765D2G:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 2765D2G
dmi.product.version: ThinkPad T400
dmi.sys.vendor: LENOVO

Revision history for this message
Kornel Jahn (cornail) wrote : AcpiTables.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : AlsaDevices.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : AplayDevices.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : BootDmesg.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : Card0.Codecs.codec.1.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : IwConfig.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : Lspci.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : Lsusb.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : PciMultimedia.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : ProcCpuinfo_.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : ProcModules.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : RfKill.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : UdevDb.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote : UdevLog.txt

apport information

Revision history for this message
Kornel Jahn (cornail) wrote :

The wake-up bug also affects me on ThinkPad T400 using Kubuntu 11.04 x86-64.

Revision history for this message
Rob Nelson (unkierob) wrote :

Hi Daniel,

I tried both the fixes to get 10.04 to boot from the USB drive and neither worked. (In case #1, the recommended change to the code had already been done; in case #2, once I got into the "help" menu, I was in an endless loop that kept returning me to that menu no matter what option I selected.) I've got a newsletter deadline I'm working under now, so I need to return to XP so I can get that done. Maybe I can continue to experiment with Ubuntu at some later time. Sorry. :(

-Rob

Revision history for this message
Phil Evans (pae9) wrote :

Hi,

I also have what I take to be this problem. I have a very different system to those above, I have a Dell Studio XPS (L501X). Suspend/resume worked fine on 10.10. On 11.04 suspend works fine; on resume the hard drive lighjt flashes, the computer seems to wake up, the screen powers on, but then everything locks. I cannot get a virtual terminal, and have to hold the pwoer button for 4 seconds to power off; nothing else works.

I have not tried apport yet (I can do if you want, although since this page is getting full I'll wait until it's requested).

However, I did follow the advice on https://wiki.ubuntu.com/DebuggingKernelSuspend and used the system RTC to gain some information. The relevant dmesg entries appear to be:

[ 1.549795] Magic number: 0:846:372
[ 1.549797] hash matches /build/buildd/linux-2.6.38/drivers/base/power/main.c:535
[ 1.549831] pci 0000:ff:00.0: hash matches
[ 1.549834] pci 0000:02:00.0: hash matches

Where lspci gives me:

ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 05)
and
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

among other things. I am guessing this means the problem is in the control of the Intel graphics card? But I am not an expert (or anywhere near) in these matters. As I say, there were no problems in Ubuntu 10.10.....!

Revision history for this message
J Louie (joan-louie) wrote :

Just wanted to add in, I think I have a similar problem. I can successfully put my computer (Lenovo T61) into sleep and when I try to resume, all the lights come on but the screen is all messed up and the only thing I can see is the mouse cursor (which I can also move). But, when I type in my user name and password (I can't actually see what I'm doing on the screen), it resumes back to my desktop like normal. I've tried this 4 times in a row and it worked all 4 times. This doesn't particularly bother me, assuming it keeps working. Just thought I'd add this, in case it works for anyone else too, as a temporary solution. If you need me to provide more information with apport, please let me know.

Revision history for this message
Vineeth K A (vineethka) wrote :

I have a MacBook 4.1 with Ubuntu 11.04
After putting it to suspend or if it goes into suspend, it cannot be woken up.

Revision history for this message
Daniel Manrique (roadmr) wrote :

@ PhilEvans, @Joan Louie, @Vinneth K A:

Suspend/resume problems tend to be strongly hardware-dependent, thus, even if your symptoms seem similar to the original report, the underlying cause may be completely different. Thus I'd appreciate if you could please file separate bugs on your problems by running this command in a terminal:

apport-bug linux

then answering the questions that pop up. Please be sure to indicate:

1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).

Thanks!

---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

Revision history for this message
farchumbre (farchumbre) wrote :

hi
i have the same problem with thinkpad x300.
it was working a month ago. and if I try with ubuntu 11.04 from a usb key it works fine.
therefore, it should be a problem with a recent update and it is not hardware dependent.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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