system locks up while attempting to hibernate

Bug #641239 reported by David Monro
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Description: Ubuntu 10.04.1 LTS
Release: 10.04

$ apt-cache policy linux-image-generic
linux-image-generic:
  Installed: 2.6.32.24.25
  Candidate: 2.6.32.24.25
  Version table:
 *** 2.6.32.24.25 0
        500 http://apt-proxy/ubuntu/ lucid-updates/main Packages
        500 http://apt-proxy/ubuntu-security/ lucid-security/main Packages
        100 /var/lib/dpkg/status
     2.6.32.21.22 0
        500 http://caponier/isomount/ubuntu-10.04-dvd-amd64/ lucid/main Packages
        500 http://apt-proxy/ubuntu/ lucid/main Packages

Kernel is 2.6.32-24-generic

Machine should write data to disk and power off.

Instead, machine locks up with a blank screen.

By attaching a serial console, booting with the options "verbose debug console=ttyS0,115200n8 no_console_suspend", and doing

echo '8 4 1 7' > /proc/sys/kernel/printk

before attempting to hibernate, I can see that it gets as far as

[ 115.674186] PM: freeze of drv:sd dev:2:0:0:0 complete after 387.856 msecs

where it hangs for a minute, and then spits out
[ 180.389988] BUG: soft lockup - CPU#0 stuck for 61s! [pm-hibernate:2635]
and a stack trace.
Which then repeats every minute or so until I hit the reset button.
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: davidm 1907 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name : 'Realtek ALC889A'
   Components : 'HDA:10ec0885,1458a102,00100101'
   Controls : 40
   Simple ctrls : 22
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=UUID=a1bbef47-c388-4f2a-8639-923415a16821
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
MachineType: Gigabyte Technology Co., Ltd. GA-MA78GPM-DS2H
NonfreeKernelModules: nvidia
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-24-generic root=UUID=5df104b0-f804-48dd-b9a6-48c5eaa69916 ro quiet splash
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_AU.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-24.42-generic 2.6.32.15+drm33.5
Regression: No
RelatedPackageVersions: linux-firmware 1.34.1
Reproducible: Yes
RfKill:

Tags: lucid hibernate resume needs-upstream-testing
Uname: Linux 2.6.32-24-generic x86_64
UserGroups:

dmi.bios.date: 06/01/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F5
dmi.board.name: GA-MA78GPM-DS2H
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF5:bd06/01/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA78GPM-DS2H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA78GPM-DS2H:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA78GPM-DS2H
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
David Monro (davidm-ub) wrote :
tags: added: hibernate
Revision history for this message
David Monro (davidm-ub) wrote : AlsaDevices.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
David Monro (davidm-ub) wrote : AplayDevices.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : ArecordDevices.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : BootDmesg.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : Card0.Amixer.values.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : Card0.Codecs.codec.0.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : CurrentDmesg.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : Lspci.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : Lsusb.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : PciMultimedia.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : ProcInterrupts.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : ProcModules.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : UdevDb.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : UdevLog.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote : WifiSyslog.txt

apport information

Revision history for this message
David Monro (davidm-ub) wrote :

mainline 2.6.36-999.201009170905 hibernates and resumes OK, but X doesn't start (I don't think it managed to build the nvidia kernel module).

Revision history for this message
David Monro (davidm-ub) wrote :

mainline linux-image-2.6.32-0206321505-generic (which I think was the nearest equivalent to the 2.6.32-24.42 lucid kernel) behaves in the same way as the lucid kernel. So looks like its an upstream problem.

Revision history for this message
David Monro (davidm-ub) wrote :

Using the 'linux-image-generic-lts-backport-maverick' packages from the kernel ppa (version 2.6.35-21.30~lucid1 of linux-image-2.6.35-21-generic to be exact) seems to work; I get both X and hibernate/resume. It would be better if it worked with the default kernel though :)

tags: added: kernel-hibernate
tags: added: kj-triage
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

David Monro, 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 . Please do not test the kernel in the daily folder, but the one all the way at the bottom. 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. As well, please comment on which kernel version specifically you tested.

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', and comment as to why specifically you were unable to test it.

Please let us know your results. Thanks in advance.

tags: added: lucid needs-upstream-testing resume
Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
David Monro (davidm-ub) wrote :

Kernel 3.2.0-29-generic on precise hibernates and un-hibernates just fine, so this can be closed.

Revision history for this message
David Monro (davidm-ub) wrote :

Oops - should have noted - this is on the exact same machine as the bug was raised on.

Revision history for this message
penalvch (penalvch) wrote :

David Monro, glad to hear the bug is fixed! Did you need a backport to a release prior to Precise, or may we close this as Status Invalid?

Revision history for this message
David Monro (davidm-ub) wrote :

No, no backport needed, please close.

Revision history for this message
penalvch (penalvch) wrote :

David Monro, this bug report is being closed due to your last comment https://bugs.launchpad.net/ubuntu/+source/linux/+bug/641239/comments/22 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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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