HP Pavilion GJ378AA fails to suspend

Bug #698160 reported by Christian Schürer-Waldheim
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Linux
Fix Released
Medium
linux (Ubuntu)
Invalid
High
Seth Forshee
nvidia-graphics-drivers (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I'm currently running natty, kernel version installed: 2.6.37-12-generic #26-Ubuntu (but problem occurred with previous versions too).

Up to Ubuntu Maverick, I was able to suspend my computer and resume it without any problems. With the current kernel in Natty (2.6.37-12), this is not possible anymore. When I initiate the suspend (either via KDE (suspend to RAM) or pm-suspend on the terminal), the display gets switched off and the hard drives power down (as usual) - but the computer itself does not power down anymore (fan is still running). While running, the power button of my computer has a blue light on. When it's suspended, it's orange. But with the current kernel, it stays blue (no shutdown). In this state, the computer can not be resumed. I can only power it down and do a normal boot. But every time the RAID1 I've set up is re-syncing, which takes quite some time.

The suspend log does not show any errors - the last entry is:
"/usr/lib/pm-utils/sleep.d/99video suspend suspend: success.
Thu Jan 6 15:56:15 CET 2011: performing suspend"

I even tried to debug the suspend with pm-trace, but I only get:
[ 1.156309] Magic number: 11:792:939
[ 1.156413] rtc_cmos 00:03: setting system clock to 2011-01-06 14:56:56 UTC (1294325816)
... which does not indicate which driver caused the problem.

Are there any other debugging possibilities? I can test it with 2.6.38 - which will probably be the default kernel in natty - once packages for Ubuntu are available.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: linux-image-2.6.37-11-generic 2.6.37-11.25
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.37-12.26-generic 2.6.37
Uname: Linux 2.6.37-12-generic x86_64
NonfreeKernelModules: nvidia
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: christian 2002 F.... pulseaudio
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf9ef8000 irq 42'
   Mixer name : 'Realtek ALC1200'
   Components : 'HDA:10ec0888,103c2a5d,00100101'
   Controls : 39
   Simple ctrls : 21
Date: Thu Jan 6 16:10:37 2011
HibernationDevice: RESUME=UUID=36e5929e-9339-49af-a141-1070fbcb5817
InstallationMedia: Kubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: HP-Pavilion GJ378AA-ACP a6145.at
ProcEnviron:
 LANGUAGE=
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.37-12-generic root=UUID=448fc76a-95f5-4299-9523-b17de0dd9e94 ro vt.handoff=7 quiet splash
RelatedPackageVersions:
 linux-restricted-modules-2.6.37-12-generic N/A
 linux-backports-modules-2.6.37-12-generic N/A
 linux-firmware 1.45
SourcePackage: linux
dmi.bios.date: 07/11/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 5.05
dmi.board.name: Berkeley
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Hewlett-Packard
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr5.05:bd07/11/2007:svnHP-Pavilion:pnGJ378AA-ACPa6145.at:pvr:rvnASUSTeKComputerINC.:rnBerkeley:rvr1.xx:cvnHewlett-Packard:ct3:cvrChassisVersion:
dmi.product.name: GJ378AA-ACP a6145.at
dmi.sys.vendor: HP-Pavilion

Revision history for this message
Brad Figg (brad-figg) wrote :

@Christian
    Please try a newer daily iso. The kernel has progressed to 2.6.38-rc3

Changed in linux (Ubuntu):
importance: Undecided → High
status: New → Incomplete
Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

@Brad: I have 2.6.38-2-generic running already. As the nvidia driver is not working with the current x-server in natty at the moment, I have to use the nouveau driver meanwhile. It works quite well - and suspend works too. I think that the nvidia driver has problems with suspend since linux kernel 2.6.37 (as it worked before).

I will add nvidia for reference.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
bugbot (bugbot)
tags: added: kubuntu
Andy Whitcroft (apw)
tags: added: regression-release
removed: regression-proposed
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

I tested the current Natty kernel (2.6.38-020638rc8-generic) on Maverick (as it solves an unrelated bug for me) and can confirm that this issue is still present in that version, i.e., the suspend stops before being complete (the HDDs have been turned off already, though) and effectively freezes the computer.

If there is anything I can do to help debugging the issue, please let me know.

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

I reproduced the issue with a kernel that has verbose PM debugging compiled in (but apart from that does not differ from the Ubuntu 2.6.38-7.35 one). The resulting dmesg output is attached, but the fingerprinting isn't very helpful:

May 15 17:45:17 andromeda kernel: [ 2.187047] Magic number: 0:400:740
May 15 17:45:17 andromeda kernel: [ 2.187049] hash matches /raid/home/tg/kernel-2.6.38/source/drivers/base/power/main.c:577

I also configured syslog to print all kernel messages to tty1 (as that is the terminal that stays active when the issue happens), but unfortunately the screen contains less information than the log file as it ends ~ 1 sec before the log file.

Changed in linux:
importance: Unknown → Medium
status: Unknown → Confirmed
Changed in linux:
status: Confirmed → Invalid
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

Christian, can you still reconstruct which kernel command line you have been using?

Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

I just switched from nvidia-current to nouveau and am still able to reproduce the issue, which I consider a strong indicator that this is a kernel regression and unrelated to the proprietary nvidia driver (which is no longer present on my system).

Changed in linux (Ubuntu):
status: Invalid → New
Changed in linux:
status: Invalid → Confirmed
Revision history for this message
Thilo-Alexander Ginkel (thilo.ginkel) wrote :

As suggested in #ubuntu-kernel, I am attaching the output of fwts to this ticket.

Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Changed in linux:
status: Confirmed → Incomplete
Revision history for this message
Bryan-sutherland (bryan-sutherland) wrote :

This is also affecting me. Currently I am running kernel 2.6.38-8-generic and running the fglrx kernel module. Let me know what else you would like to know to help triage this bug.

Revision history for this message
Davor Cubranic (cubranic) wrote :

I have the same symptoms, but use Radeon video driver. The last entry in pm-suspend.log is "/usr/lib/pm-utils/sleep.d/99video suspend suspend: success."

Running kernel 2.6.38-8-generic.

Revision history for this message
Daniel Ricao Canelhas (daniel-canelhas) wrote :

My system also behaves as described (tested with and without fglrx, since using proprietary drivers solved the issue for me in 10.10 but seems to make no difference now)

my system:
ubuntu 11.04 x86_64
2.6.38-8-generic.

I have tried using the mainline kernels and find that suspending (to ram or disk ) works as expected on 2.6.35 but remains broken on 2.6.39.

Possibly the same bug, but i don't dare to mark it as a duplicate:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/748994

Revision history for this message
hardyn (arlenn) wrote :

Similar,

ubuntu 11.04 x86_64
2.5.38-8-generic

same suspend symptoms as above, however in addition "shutdown" restarts the computer, restart also restarts the computer.

I will do some investigation, but i don't recall this happening prior to installing a RT2800 based pcie-wifi board. not saying this started it, but just don't remember having this problem before; as i did a bunch of updates as well after installing the board.

Revision history for this message
Seth Forshee (sforshee) wrote :

Christian: Do you still experience this problem with an up-to-date natty install?

Everyone else: If you aren't running the same hardware as Christian, please open a new bug. It looks like Christian is running an HP Pavilion GJ378AA.

Changed in linux (Ubuntu):
assignee: nobody → Seth Forshee (sforshee)
status: Confirmed → Incomplete
summary: - Natty: Kernel 2.6.37 - suspend broken
+ HP Pavilion GJ378AA fails to suspend
Revision history for this message
Christian Schürer-Waldheim (quincunx) wrote :

Seth, because the problem only occurred the proprietary nvidia drivers but not with nouveau, I'm now using nouveau drivers and everything works fine.

Revision history for this message
Seth Forshee (sforshee) wrote :

Based on Christian's feedback the problem appears to be in the proprietary nvidia drivers, so I'm closing the linux task as invalid.

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux:
status: Incomplete → Fix Released
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; please open a new bug report if the actual archive found version also has the same issue.

Changed in nvidia-graphics-drivers (Ubuntu):
status: New → Invalid
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.