Second suspend reliably fails (nouveau)

Bug #1043338 reported by Steve Magoun
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

The second time I suspend, suspend reliably fails - the machine never enters suspend and instead attempts to wake up but video is not functional. The hardware is a MacbookPro 3,1 with NVIDIA 8600M GT. This was reproducible with both 3.5.0-13.13 and 3.5.0-11.11. I don't recall whether earlier versions of 3.5.0 were affected.

To reproduce:
1) Boot the machine
2) Suspend by selecting 'Suspend' from the power menu
3) After the machine suspends, wake it up
4) Once the machine has resumed, repeat step 2 to suspend again

Expected results:
Machine enters suspend

Actual results:
Machine does not enter suspend; after a few seconds it tries to resume. The resume operation is not completely successful - the machine is up and accepts ssh connections, but video does not work (black screen).

I see this in syslog for the failed suspend:

Aug 28 17:52:40 steve-laptop kernel: [ 4637.925147] [drm] nouveau 0000:01:00.0: Disabling display...
Aug 28 17:52:40 steve-laptop kernel: [ 4637.925313] ata_piix 0000:00:1f.1: power state changed by ACPI to D3
Aug 28 17:52:40 steve-laptop kernel: [ 4637.925383] pciehp 0000:00:1c.5:pcie04: pciehp_suspend ENTRY
Aug 28 17:52:40 steve-laptop kernel: [ 4637.925411] pciehp 0000:00:1c.4:pcie04: pciehp_suspend ENTRY
Aug 28 17:52:40 steve-laptop kernel: [ 4637.925436] pciehp 0000:00:1c.2:pcie04: pciehp_suspend ENTRY
Aug 28 17:52:40 steve-laptop kernel: [ 4637.925461] pciehp 0000:00:1c.0:pcie04: pciehp_suspend ENTRY
Aug 28 17:52:40 steve-laptop kernel: [ 4638.044040] PM: suspend of drv:snd_hda_intel dev:0000:00:1b.0 complete after 118.568 msecs
Aug 28 17:52:40 steve-laptop kernel: [ 4638.972455] [drm] nouveau 0000:01:00.0:
Disabling fbcon...
Aug 28 17:52:40 steve-laptop kernel: [ 4638.972469] [drm] nouveau 0000:01:00.0: Unpinning framebuffer(s)...
Aug 28 17:52:40 steve-laptop kernel: [ 4638.972519] [drm] nouveau 0000:01:00.0: Evicting buffers...
Aug 28 17:52:40 steve-laptop kernel: [ 4639.343083] [drm] nouveau 0000:01:00.0: Idling channels...
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344154] [drm] nouveau 0000:01:00.0: PFIFO: channel 0 unload timeout
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344155] [drm] nouveau 0000:01:00.0: ... engine 14 failed: -16
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344156] [drm] nouveau 0000:01:00.0: Re-enabling acceleration..
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344188] pci_legacy_suspend(): nouveau_pci_suspend+0x0/0x4a0 [nouveau] returns -16
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344192] dpm_run_callback(): pci_pm_suspend+0x0/0x140 returns -16
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344196] PM: suspend of drv:nouveau dev:0000:01:00.0 complete after 3419.054 msecs
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344225] pciehp 0000:00:01.0:pcie04: pciehp_suspend ENTRY
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344229] PM: suspend of drv:pcieport dev:0000:00:01.0 complete after 3418.205 msecs
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344242] PM: suspend of drv: dev:pci0000:00 complete after 3418.202 msecs
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344247] PM: Device 0000:01:00.0 failed to suspend async: error -16
Aug 28 17:52:40 steve-laptop kernel: [ 4641.344253] PM: Some devices failed to suspend

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: linux-image-3.5.0-13-generic 3.5.0-13.13
ProcVersionSignature: Ubuntu 3.5.0-13.13-generic 3.5.3
Uname: Linux 3.5.0-13-generic x86_64
AcpiTables: Error: command ['pkexec', '/usr/share/apport/dump_acpi_tables.py'] failed with exit code 127: Error executing /usr/share/apport/dump_acpi_tables.py: Permission denied
ApportVersion: 2.5.1-0ubuntu3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: steve 2297 F.... pulseaudio
Date: Wed Aug 29 09:25:31 2012
HibernationDevice: RESUME=UUID=efdcd1bc-2e1a-4a77-8ff8-e46a71b2a78c
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Beta amd64 (20100901.1)
MachineType: Apple Inc. MacBookPro3,1
ProcEnviron:
 TERM=xterm
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcFB: 0 nouveaufb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-13-generic root=UUID=4b3d81ed-fb5d-4946-97c0-ec537e1bfa3f ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.5.0-13-generic N/A
 linux-backports-modules-3.5.0-13-generic N/A
 linux-firmware 1.90
RfKill:
 0: phy0: Wireless LAN
  Soft blocked: no
  Hard blocked: no
SourcePackage: linux
UpgradeStatus: Upgraded to quantal on 2012-08-07 (21 days ago)
dmi.bios.date: 03/05/08
dmi.bios.vendor: Apple Inc.
dmi.bios.version: MBP31.88Z.0070.B07.0803051658
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: Mac-F4238BC8
dmi.board.vendor: Apple Inc.
dmi.board.version: PVT
dmi.chassis.asset.tag: Asset Tag#
dmi.chassis.type: 2
dmi.chassis.vendor: Apple Inc.
dmi.chassis.version: Mac-F4238BC8
dmi.modalias: dmi:bvnAppleInc.:bvrMBP31.88Z.0070.B07.0803051658:bd03/05/08:svnAppleInc.:pnMacBookPro3,1:pvr1.0:rvnAppleInc.:rnMac-F4238BC8:rvrPVT:cvnAppleInc.:ct2:cvrMac-F4238BC8:
dmi.product.name: MacBookPro3,1
dmi.product.version: 1.0
dmi.sys.vendor: Apple Inc.

Revision history for this message
Steve Magoun (smagoun) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.6 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. Please only remove that one tag and leave the other tags. 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'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc3-quantal/

Changed in linux (Ubuntu):
importance: Undecided → Medium
tags: added: needs-upstream-testing
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It would be helpful to know if this is a regression, or if this bug also exists in Precise.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
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.