Suspend-to-disk (hibernate) and suspend-to-ram do not work anymore

Bug #117555 reported by Anastasios Hatzis
32
This bug affects 4 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned
linux-source-2.6.20 (Ubuntu)
Won't Fix
Medium
Unassigned

Bug Description

I experience problems with suspend-to-disk (hibernate) and suspend-to-ram. I use an IBM Thinkpad T41p. Originally I had installed Kubuntu 6.10 where both features worked fine. After upgrading to Kubuntu 7.04 (Feisty Fawn) I am not able to suspend or hibernate, I can only shutdown regular.

$ uname -a
Linux hugomobil 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux
I have installed all upgrades as of today, May 29th.

Example with suspend-to-disk, whatever I use (KDE icons or /etc/acpi/hibernate.sh):
The screens is getting screwed up (like a TV during a biiiig storm), I can only see black with some colored whirled stripes. Mouse and keyboard are not working anymore. The LED lights of SHIFT-LOCK (CAPS-LOCK?) and this "half-moon" are blinking. There is no activity on the hard-disk. This doesn't change and the system seems to be frozen, so I have to do a hard switch off of my laptop.

After restarting the laptop KDE seems to load the last session where I made a regular shutdown (which still works fine), but not of the session I had as I tried to suspend.

With suspend-to-ram is the same problem.

Both suspend-features worked great in Kubuntu 6.10 (including loading the image from disk/ram).

Revision history for this message
Brian Murray (brian-murray) wrote :

Thanks for taking the time to report this bug and helping to make Ubuntu better. Unfortunately we can't fix it, because your description doesn't yet have enough information.
Please include as attachments the following additional information, if you have not already done so (please pay attention to lspci's additional options), as required by the Ubuntu Kernel Team:
1. Please include the output of the command 'uname -a' in your next response. It should be one, long line of text which includes the exact kernel version you're running, as well as the CPU architecture.
2. Please run the command 'dmesg > dmesg.log' and attach the resulting file 'dmesg.log' to this bug report.
3. Please run the command 'sudo lspci -vvnn > lspci-vvnn.log' and attach the resulting file 'lspci-vvnn.log' to this bug report.
For your reference, the full description of procedures for kernel-related bug reports is available at https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks in advance!

Revision history for this message
Nick (morrownr) wrote :
Download full text (9.6 KiB)

Since the OP hasn't responded I'll attached the requested info since my T23 shows the same problems (I run Gnome instead of KDE):

$ uname -a > Linux xxx 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux

dmesg attached.

lspci-vvnn.log:

00:00.0 Host bridge [0600]: Intel Corporation 82830 830 Chipset Host Bridge [8086:3575] (rev 02)
 Subsystem: IBM ThinkPad A/T/X Series [1014:021d]
 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
 Latency: 0
 Region 0: Memory at d0000000 (32-bit, prefetchable) [size=256M]
 Capabilities: [40] Vendor Specific Information
 Capabilities: [a0] AGP version 2.0
  Status: RQ=32 Iso- ArqSz=0 Cal=0 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3- Rate=x1,x2,x4
  Command: RQ=1 ArqSz=0 Cal=0 SBA- AGP+ GART64- 64bit- FW- Rate=x1

00:01.0 PCI bridge [0604]: Intel Corporation 82830 830 Chipset AGP Bridge [8086:3576] (rev 02) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap- 66MHz+ UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 96
 Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
 Memory behind bridge: c0100000-c01fffff
 Prefetchable memory behind bridge: e0000000-ebffffff
 Secondary status: 66MHz+ FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
 BridgeCtl: Parity- SERR- NoISA+ VGA+ MAbort- >Reset- FastB2B-

00:1d.0 USB Controller [0c03]: Intel Corporation 82801CA/CAM USB (Hub #1) [8086:2482] (rev 01) (prog-if 00 [UHCI])
 Subsystem: IBM ThinkPad A/T/X Series [1014:0220]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin A routed to IRQ 11
 Region 4: I/O ports at 1800 [size=32]

00:1d.1 USB Controller [0c03]: Intel Corporation 82801CA/CAM USB (Hub #2) [8086:2484] (rev 01) (prog-if 00 [UHCI])
 Subsystem: IBM ThinkPad A/T/X Series [1014:0220]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin B routed to IRQ 11
 Region 4: I/O ports at 1820 [size=32]

00:1d.2 USB Controller [0c03]: Intel Corporation 82801CA/CAM USB (Hub #3) [8086:2487] (rev 01) (prog-if 00 [UHCI])
 Subsystem: IBM ThinkPad A/T/X Series [1014:0220]
 Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
 Latency: 0
 Interrupt: pin C routed to IRQ 11
 Region 4: I/O ports at 1840 [size=32]

00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 41) (prog-if 00 [Normal decode])
 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- ...

Read more...

Revision history for this message
Anastasios Hatzis (ahatzis) wrote :

sorry for the delay.

Revision history for this message
Anastasios Hatzis (ahatzis) wrote :

$ uname -a
 Linux hugomobil 2.6.20-16-generic #2 SMP Wed May 23 01:46:23 UTC 2007 i686 GNU/Linux

I wonder if a lack of free hard disk space is a potential reason for the observed phenomena (freezing with no error message)? Maybe the upgrade from 6.10 to 7.04 has consumed some disk space reserves I had before? Unfortunately, I can't verify this within the next 10 hours and I don't know how much disk-space is really needed for suspend or hibernate... eventually as much as the RAM I have (1.5GB)?

Changed in linux-source-2.6.20:
assignee: brian-murray → ubuntu-kernel-team
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
malte (dmz17) wrote :

I can confirm this. Only happens when the restricted NVIDIA driver is enabled/in use.
Thinkpad T61p.

Revision history for this message
Launchpad Janitor (janitor) wrote : This bug is now reported against the 'linux' package

Beginning with the Hardy Heron 8.04 development cycle, all open Ubuntu kernel bugs need to be reported against the "linux" kernel package. We are automatically migrating this bug to the new "linux" package. However, development has already began for the upcoming Intrepid Ibex 8.10 release. It would be helpful if you could test the upcoming release and verify if this is still an issue - http://www.ubuntu.com/testing . If the issue still exists, please update this report by changing the Status of the "linux" task from "Incomplete" to "New". We appreciate your patience and understanding as we make this transition. Thanks!

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
Fernando Miguel (fernandomiguel) wrote :

I'm not the original poster but I cannot hibernate or suspend my laptop with kernel 2.6.27-1
I also have a nVidia card.

Changed in linux:
status: Incomplete → New
Revision history for this message
Erik Edelmann (erik-edelmann) wrote :

I'm not original poster either, but I also have the problem with non-working suspend and hibernate with xubuntu 8.10 beta on my HP compaq nc8430 laptop; when I choose either alternative from the 'quit' window in xfce, the window disappears, but nothing else happens (as if I had chosen 'cancel').

I also installed KDE, and tried the 'suspend-to-ram' and 'suspend-to-disk' alternatives from the 'leave' menu, but again, nothing happened.

$ uname -a
Linux porter 2.6.27-6-generic #1 SMP Tue Oct 7 04:15:04 UTC 2008 i686 GNU/Linux

Output of the commands 'dmesg' and 'sudo lspci -vvnn' attached.

Revision history for this message
Anastasios Hatzis (ahatzis) wrote :

I am the original poster.

Today I could verify successfully that suspend-to-disk (hibernate) and suspend-to-ram, both works fine again on my notebook!

Please note, I haven't been able to test the 8.10 ("Intrepid Ibex") pre-releases yet, since this notebook is my production computer and I have no clue about any side-effects that may occur with a parallel 8.10 installation.

Since I submitted the bug, I upgraded from one Kubuntu version to the next, including all the Linux updates whenever offered by apt-get/Adept. The most recent version-upgrade was to Kubuntu 8.04 LTS ("Hardy Heron").

I have checked occasionally, if hibernate + suspend works again, but until today with negative results (same behavior as described in my original post).

I am not 100% sure, since which udpate hibernate + suspend works properly. However, yesterday I got the upgrade to 2.6.24-21-generic:

$ uname -a
Linux pcc-adm-7 2.6.24-21-generic #1 SMP Mon Aug 25 17:32:09 UTC 2008 i686 GNU/Linux

After the next reboot I missed the hibernate + suspend options that usually are in the Leave (Log-off?) dialog of KDE.

I rebooted again, and here both options are back in the Log-off dialog. First tested hibernate: OK, then suspend: OK.

Can someone else confirm this?

Revision history for this message
Erik Edelmann (erik-edelmann) wrote :

Encouraged by the OP's success, I just tried again on my laptop with 8.10 beta (see my previous posting for more details) after updating all packages (apt-get update && apt-get dist-upgrade) and now it works for me too.

Thanks!

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

Hi Anastasios,

Since you are the original bug repoter and have confirmed this is resolved for you I am marking this bug "Fix Released".

For those of you still experiencing issues, please open a new report. Also please note that even though you may be experiencing the same symptoms of the orignal bug reporter, suspend/resume issues are typically hardware specific and as such should have separate reports open for them. Thanks.

Changed in linux:
status: New → Fix Released
Revision history for this message
Anastasios Hatzis (ahatzis) wrote : Re: [Bug 117555] Re: Suspend-to-disk (hibernate) and suspend-to-ram do not work anymore

Many thanks for fixing the problem. I'm really happy.

Anastasios

Revision history for this message
paulchang6@yahoo.com (paulchang6) wrote :

I still got the same problem with T41 after a fresh install of Ubuntu 8.10.

@uname -a
Linux xxx 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 UTC 2008 i686 GNU/Linux

Revision history for this message
paulchang6@yahoo.com (paulchang6) wrote :

This is the output from "lspci".

I also got a weird problem with the CISCO AIRONET 350 wireless card. Sometimes, it works; sometimes, it doesn't.

Revision history for this message
paulchang6@yahoo.com (paulchang6) wrote :

Also, after the computer recovers from "suspend", the wireless connection is lost.

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.

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.