hibernate (suspend-to-disk) is very slow

Bug #185703 reported by Sebastian Urban on 2008-01-24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
linux-source-2.6.22 (Ubuntu)

Bug Description

Binary package hint: linux-source-2.6.22

Although suspend to disk works fine on my ThinkPad R61 it is very slow.

Suspending takes about 90-120 seconds and resuming the same time again. Windows Vista on the same machine only needs about 20-30 seconds.
The machine has 2 GB of RAM and the swap partition has a size of 3 GB.

Can there be something done about the suspend speed?

Albert Cardona (cardona) wrote :

I have the same problem in feisty. Suspend takes about 15 to 40 seconds. Apple laptops in year 2001 suspended in under 2 seconds ... one wonders.
At least it doesn't fail: in gutsy, there is no suspend AT ALL for Thinkpads with ATI cards.

Thinkpad T60p
Ubuntu 7.04 Feisty dist-upgraded to 2008-01-25
Linux pad 2.6.20-16-generic #2 SMP Tue Dec 18 05:45:12 UTC 2007 i686 GNU/Linux
ATI FireGL 5250 : 01:00.0 VGA compatible controller: ATI Technologies Inc Unknown device 71d4
02:00.0 Ethernet controller: Intel Corporation 82573L Gigabit Ethernet Controller
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)

The Hardy Heron Alpha series is currently under development and contains an updated version of the kernel. It would be helpful if you could test the latest Hardy Alpha release: http://www.ubuntu.com/testing . You should be able to then test the new kernel via the LiveCD. If you can, please verify if this bug still exists or not and report back your results. We'll keep this report open against the actively developed kernel but against 2.6.22 this will be closed. Thanks.

Changed in linux:
status: New → Incomplete
Changed in linux-source-2.6.22:
status: New → Won't Fix

I'm using a fresh install of Hardy beta (from a CD image downloaded about 1 week ago) and I still have this problem.

Sameer Morar (smorar) wrote :

I can confirm that I experience this problem too.

I am running the current version of Hardy.

I am using a Toshiba Tecra M4 with 1 Gig of ram, and a 2 Gig swap partition.

Hi Guys,

Sorry for the delayed response. Per the kernel team's bug policy, can you please attach the following information. Please be sure to attach each file as a separate attachment.

* uname -a > uname-a.log
* cat /proc/version_signature > version.log
* dmesg > dmesg.log
* sudo lspci -vvnn > lspci-vvnn.log

It will also probably be helpfult to wait to capture your dmesg output after a suspend/resume cycle. For more information regarding the kernel team bug policy, please refer to https://wiki.ubuntu.com/KernelTeamBugPolicies . Thanks again and we appreciate your help and feedback.

Sebastian Urban (surban) wrote :
Sebastian Urban (surban) wrote :
Sebastian Urban (surban) wrote :
Sebastian Urban (surban) wrote :
Changed in linux:
status: Incomplete → Confirmed
karlrt (karlrt) wrote :

hi, i got a thinkpad t61, and my suspend takes 50 sec, starting afterwards about 70 sec! so im better of booting normally.

here are my kernel logs, i can provide additional information if needed!

karlrt (karlrt) wrote :
karlrt (karlrt) wrote :
karlrt (karlrt) wrote :

Hi Guys,

Just to see if it makes a difference, care to test the Intrepid Ibex 8.10 kernel? It was most recently rebased with the upstream 2.6.25 kernel and is currently available in the following PPA:


If you are not familiar with how to install packages from a PPA basically do the following . . .

Create the file /etc/apt/sources.list.d/kernel-ppa.list to include the following two lines:

deb http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main
deb-src http://ppa.launchpad.net/kernel-ppa/ubuntu hardy main

Then run the command: sudo apt-get update

You should then be able to install the linux-image-2.6.25 kernel package. After you've finished testing you can remove the kernel-ppa.list file and run 'sudo apt-get update' once more. Please let us know your results. Thanks.

Changed in linux:
assignee: nobody → ubuntu-kernel-team
importance: Undecided → Medium
status: Confirmed → Triaged
karlrt (karlrt) wrote :

well, didnt quite work with kernel 2.6.25, i could suspend and wake up process took the same time as with 2.6.24, AND it didnt wake up at the end, just before getting gnome again ( i can see the display mode changed, even when its a blank screen) it freezes somehow, but lets the harddisk run quiet often...

so nothing changed the petter with 2.6.25 for me...

Sameer Morar (smorar) wrote :
Sameer Morar (smorar) wrote :
Sameer Morar (smorar) wrote :
Sameer Morar (smorar) wrote :
Albert Cardona (cardona) wrote :

Proper suspend with 8.04 in a Thinkpad T60p with ATI FireGL 5250.

Takes about 7 seconds until the hard drive stops spinning and the moon light stops blinking.

Resume is another story; takes about 10 seconds if one control+alt+F7 to go to Xorg (otherwise up to 30 or more seconds!) -- but the moon light keeps blinking for a while in any case. I suspect the network doesn't come up properly -- in many occasions I have to kill the NetworkManager and the NetworkManagerDispatcher, and then restart NetworkManager or directly sudo ifup eth0 or ath0.

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.


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.

I APT upgraded to Intrepid (~alpha 6) today, and hibernate doesn't work at all. The total effect of selecting the "hibernate" option from the new shutdown dialog is to drop out to a blank screen and ask for my password, as if I'd asked to lock the screen. There is a brief pause in between, suggesting that hibernation is attempted but rapidly abandoned. Not an improvement!

eddiewould (eddie-eddiewould) wrote :

Hi I have a similar problem on my Sony VAIO VGN-CR323.

Suspend to RAM is fast (both going down and coming up) but Hibernate is *very* slow. From selecting "Suspend to Disk" in knetworkmanager to the machine actually powering down takes 1:14 seconds. Interestingly enough, the HDD activity light is only on for 11 seconds of this time. Would be very interesting to know what it is doing for the rest of the time :)

uname -a: Linux eddie-laptop 2.6.27-6-generic #1 SMP Tue Oct 7 04:15:04 UTC 2008 i686 GNU/Linux
cat /proc/version_signature: Ubuntu 2.6.27-6.9-generic

I've tested it with HIBERNATE_MODE=shutdown and HIBERNATE_MODE=platform.

eddiewould (eddie-eddiewould) wrote :

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.

Squishy (wpxldk) wrote :

I have the same problem in Ibex 8.10
Hibernating takes *FOREVER*.. i can go downstairs, make some coffee, and go back and then maybe its done.
Same goes for resuming after hibernation.
Whenever i'm on a 'fresh' boot (restart instead of hibernation), it the hibernation times seems OK (still 3x longer than windows).. however everytime i hibernate from that point on will take longer

Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Triaged a while ago but has not had any updated comments for quite some time. Please let us know if this issue remains in the current Ubuntu release, http://www.ubuntu.com/getubuntu/download . If the issue remains, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-triage
Changed in linux (Ubuntu):
status: Triaged → Incomplete
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

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

Other bug subscribers