Bug 24607

Summary: Suspend fails with kernel hang
Product: xorg Reporter: Thibaut GIRKA <thib>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED FIXED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments:
Description Flags
dmesg output on this machine, before suspend none

Description Thibaut GIRKA 2009-10-18 11:43:45 UTC
Created attachment 30540 [details]
dmesg output on this machine, before suspend

Hi, I'm using nouveau (kernel built today from git, xf86-driver and libdrm from at most yesterday, and the rest of the X stack from debian unstable) on my ASUS laptop.

When going to suspend mode, screens will turn black, and the kernel will just hang.

Using no_console_suspend altogether with netconsole and dmesg -n8, I can get :
[  384.372595] PM: Syncing filesystems ... done.
[  384.425291] Freezing user space processes ... (elapsed 0.00 seconds) done.
[  384.426317] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
[  386.029083] sdhci-pci 0000:06:00.1: PME# disabled
[  386.029118] sdhci-pci 0000:06:00.1: PCI INT B disabled

Then, I get lot of TTM output, something like "Buffer eviction failed", but it isn't sent to the netconsole.

Here are info about my card:
01:00.0 VGA compatible controller: nVidia Corporation G73 [GeForce Go 7600] (rev a1)
01:00.0 0300: 10de:0398 (rev a1)
Comment 1 Ben Skeggs 2009-10-18 15:56:39 UTC
It's not going to help for your suspend failing, but you're also going to need to load the nouveau module with "vbios=PRAMIN" so resume has a chance of working, as the PCI ROM image appears useless.
Comment 2 Ben Skeggs 2009-12-03 03:08:00 UTC
Can you retry with latest git?
Comment 3 Thibaut GIRKA 2009-12-03 04:21:37 UTC
Yeah, same thing: a lot of TTM Buffer eviction failed
Comment 4 Thibaut GIRKA 2009-12-16 06:53:37 UTC
Now, suspend works fine.
Resuming works, as you said, only if I append nouveau.vbios=PRAMIN to the kernel boot line (otherwise, the display is extremly corrupted when resuming).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.