Hibernate/resume is very slow and work once

Bug #580757 reported by efa
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

After installation of 10.04 LTS kernel 2.6.32-22-generic, Hibernate/resume is very slow and work only the first time.
Next times the system start Hibernate (copy to disk with black screen), but never end and switch off.
Resume will results in a normal boot.

Steps to reproduce:
- normal boot
- Hibernate command
- wait for switch off (very slow but work)
- Resume (very slow but work)
- Hibernate command
- blank screen, disk activity (never end and never switch off)

Ubuntu 9.10 kernel 2.6.31-21 worked

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-22-generic 2.6.32-22.33
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: efa 4243 F.... pulseaudio
 /dev/snd/controlC0: efa 4243 F.... pulseaudio
CRDA: Error: [Errno 2] Nessun file o directory
Card0.Amixer.info:
 Card hw:0 'SI7012'/'SiS SI7012 with ALC655 at irq 18'
   Mixer name : 'Realtek ALC655 rev 0'
   Components : 'AC97a:414c4760'
   Controls : 41
   Simple ctrls : 26
Card1.Amixer.info:
 Card hw:1 'XS'/'TerraTec Electronic GmbH Cinergy Hybrid T USB XS at usb-0000:00:03.3-3, high sp'
   Mixer name : 'USB Mixer'
   Components : 'USB0ccd:0042'
   Controls : 2
   Simple ctrls : 1
Card1.Amixer.values:
 Simple mixer control 'Line',0
   Capabilities: cvolume cvolume-joined cswitch cswitch-joined penum
   Capture channels: Mono
   Limits: Capture 0 - 16
   Mono: Capture 16 [100%] [16.00dB] [on]
Card2.Amixer.info:
 Card hw:2 'Modem'/'SiS SI7013 Modem at irq 18'
   Mixer name : 'Silicon Laboratory Si3036,8 rev 2'
   Components : 'AC97m:53494c22'
   Controls : 3
   Simple ctrls : 3
Card2.Codecs.codec97.0.mc97.1.1:
 1-1/0: Silicon Laboratory Si3036,8 rev 2

 Extended modem ID: codec=1 LIN1
 Modem status : GPIO MREF ADC1 DAC1 PRE(ADC2) PRF(DAC2) PRG(HADC) PRH(HDAC)
 Line1 rate : 8000Hz
CheckboxSubmission: 1025977719eeebebe5648c8ca87056aa
CheckboxSystem: 533a8038ef5a55601694b49142442fa7
Date: Sat May 15 01:12:29 2010
HibernationDevice: RESUME=UUID=b058cb33-13a4-46f1-a255-c83b84371643
Lsusb:
 Bus 003 Device 002: ID 1241:1166 Belkin MI-2150 Trust Mouse
 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 003: ID 0ccd:0042 TerraTec Electronic GmbH Cinergy Hybrid T XS
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: FUJITSU SIEMENS Amilo A Series
PccardctlIdent:
 Socket 0:
   no product info available
 Socket 1:
   no product info available
PccardctlStatus:
 Socket 0:
   no card
 Socket 1:
   no card
ProcCmdLine: root=UUID=887837f3-e54c-4b13-ab46-790dc93fc3d7 ro quiet #splash
ProcEnviron:
 LANGUAGE=it_IT:it:en_GB:en
 PATH=(custom, user)
 LANG=it_IT.utf8
 SHELL=/bin/bash
RelatedPackageVersions: linux-firmware 1.34
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: yes
SourcePackage: linux
WpaSupplicantLog:

dmi.bios.date: 07/13/2005
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 080011
dmi.board.name: 258KA0
dmi.board.vendor: Uniwill
dmi.board.version: 0.01
dmi.chassis.type: 3
dmi.chassis.vendor: FUJITSU SIEMENS
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr080011:bd07/13/2005:svnFUJITSUSIEMENS:pnAmiloASeries:pvr0.01:rvnUniwill:rn258KA0:rvr0.01:cvnFUJITSUSIEMENS:ct3:cvr:
dmi.product.name: Amilo A Series
dmi.product.version: 0.01
dmi.sys.vendor: FUJITSU SIEMENS

Revision history for this message
efa (efa) wrote :
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi efa,

If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

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

tags: added: kernel-hibernate
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
efa (efa) wrote :

I'm running:
linux-image-2.6.32-02063211-generic_2.6.32-02063211_i386.deb
the suspension and resume time is again 1.45 - 1.55 minutes, very slow.

The good news is that it work more than once, with some strange desktop wallpaper reload error (video ram garbled when the desktop appear, and is corrected after 10 seconds).

With this k version I see a lot of error on the console while suspension or resume is ongoing.
They are about:
[drm:radeon_fence_wait] *ERROR* fence(xxxx:xxxx) 512 ms timeout going to reset GPU
(many many times)
ata1: ACPI set timing mode failed (status:0x200b)
1-0061: Error: firmware xc3028-v27.fw not found.

With the standard Ubuntu k I got no messages on the console (also with splash remove in the grub menu).

Changed in linux (Ubuntu):
status: Incomplete → New
tags: removed: needs-upstream-testing
Revision history for this message
mgl (mgleahy) wrote :

I have a similar problem. I have a system with 4GB of RAM, and more than sufficient space in a swap partition (about 8GB). I can hibernate more than once (at least twice), but if more than a small fraction of the RAM is in use (e.g., say about 2GB or more), then the suspend to disk process hangs. It seems like it is about to shut down (e.g., USB and wireless devices are turned off), but ultimately it never writes the RAM to disk. I can hear the CPU fan spinning up suggesting something is taking alot of CPU processing, and there is infrequent disk activity (but nothing like the consistently lit state of the disk indicator during a successful hibernate). After about 10 minutes or so, I gave up and powered it down. I could try letting it go longer, but that seems pointless, as 10 minutes is ample time to close everything on the desktop and shut down normally.

Is there something that tries to compress the RAM during the hibernate process to conserve space? If so, is there a way to disable that?

Revision history for this message
Tomislav (hefest) wrote :

mgl described what's happening with my machine quite well: 4GB RAM, large swap partition, hibernate works but resume is extremely slow with continuous disk activity...

In my case, it seems to be more or less reliable (hibernate worked always, suspend wouldn't resume once). I'm using a PAE kernel:
$ uname -a
Linux *** 2.6.32-24-generic-pae #41-Ubuntu SMP Thu Aug 19 02:43:57 UTC 2010 i686 GNU/Linux

Brad Figg (brad-figg)
tags: added: acpi-brightness
tags: added: acpi-method-return
tags: added: acpi-table-checksum
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
papukaija (papukaija)
tags: added: hibernate
removed: suspend
Revision history for this message
penalvch (penalvch) wrote :

efa, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/ .

If it remains an issue, could you run the following command in the development release from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux <replace-with-bug-number>

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.

Please let us know your results. Thanks in advance.

tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
efa (efa) wrote :

now I'm using:
Linux 02cor2133 3.2.0-24-generic-pae #39-Ubuntu SMP Mon May 21 18:54:21 UTC 2012 i686 i686 i386 GNU/Linux
Ubuntu 12.04 LTS

the hibernate option is always disabled, so I cannot test it anymore.
Should I open e new bug for hibernate disabled?

Revision history for this message
penalvch (penalvch) wrote :

efa, no you should not file a new bug for hibernate being disabled. The hibernate option is disabled intentionally as per https://help.ubuntu.com/community/PowerManagement/Hibernate#Troubleshooting . Please follow the directions in that link to enable it, and then follow the directions requested of you in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/580757/comments/6 .

Revision history for this message
efa (efa) wrote :

enabled hibernate, tested and now work.
Just one think left: after the save2disk process end, the PC reboot instead of switch off.
Pressing off switch prevents reboot.
On reboot recover everything at the point of hiberante command.

Revision history for this message
penalvch (penalvch) wrote :

efa, this bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
efa (efa) wrote :

looking to status description list, invalid is particularly wrong. Probably "Fix Released" best matches the situation

Revision history for this message
penalvch (penalvch) wrote :

eta, regarding your post https://bugs.launchpad.net/ubuntu/+source/linux/+bug/580757/comments/11 :
>"looking to status description list, invalid is particularly wrong."
No, it's not.

>"Probably "Fix Released" best matches the situation"
Fix Released is reserved only for when a documented fix was released by a developer, with accompanying changelog, as documented in https://bugs.launchpad.net/ubuntu/+source/linux/+bug/580757/comments/10 . This did not happen in this report. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/580757/comments/10 was the correct action as per https://wiki.ubuntu.com/Bugs/Responses#Bugs_resolved_after_update_or_config_change .

If you have more inquiries to make, please do not comment here. Instead, please redirect them to irc://irc.freenode.net/ubuntu-bugs or <email address hidden> . As well, there is no need to respond to my post as this report is closed. Instead, please redirect to above mentioned.

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.