Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 459362 - kernel 3.7.9 - nouveau driver fails to resume from suspend with "failed to idle channel 0xcccc0000"
Summary: kernel 3.7.9 - nouveau driver fails to resume from suspend with "failed to id...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: https://bugs.freedesktop.org/show_bug...
Whiteboard: Nouveau 3.7 Rewrite Victim/Regression
Keywords: Bug, NeedPatch, REGRESSION
Depends on:
Blocks:
 
Reported: 2013-02-26 20:34 UTC by Andreas Hermann
Modified: 2013-06-23 13:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Emerge Info (emerge-info.txt,4.90 KB, text/plain)
2013-02-26 20:34 UTC, Andreas Hermann
Details
Dmesg output (dmesg-output.txt,3.36 KB, text/plain)
2013-02-26 20:36 UTC, Andreas Hermann
Details
Xorg logfile (xorg-output.txt,2.02 KB, text/plain)
2013-02-26 20:37 UTC, Andreas Hermann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Hermann 2013-02-26 20:34:52 UTC
Created attachment 340214 [details]
Emerge Info

With gentoo-sources-3.7.9, the nouveau kernel driver outputs the following error when resuming from suspend: "failed to idle channel 0xcccc0000".
This leads to a X Server crash. On my machine, X restarts and I'm back at the login screen.
Comment 1 Andreas Hermann 2013-02-26 20:36:37 UTC
Created attachment 340216 [details]
Dmesg output

Dmesg output showing the nouveau error message during resume
Comment 2 Andreas Hermann 2013-02-26 20:37:55 UTC
Created attachment 340218 [details]
Xorg logfile

Xorg logfile showing a segfault caused by nouveau during resume
Comment 3 Mike Pagano gentoo-dev 2013-03-04 22:41:31 UTC
nouveau nastiness in 3.7.  Can you try 3.7.10, which is actually the last 3.7 version. (eol)
Comment 4 Andreas Hermann 2013-03-06 19:01:41 UTC
Hi, sry for the late response. I recently tried kernel 3.7.10 and also the 3.8 branch. The problem is still present.
Comment 5 Richard Yao (RETIRED) gentoo-dev 2013-03-10 22:36:18 UTC
Launchpad bug #1097178 suggests that this has already been fixed upstream. If it is not too much trouble, would you build from nouveau git head master to see if the problem has been fixed in the latest upstream kernels?

git://anongit.freedesktop.org/nouveau/linux-2.6
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-03-11 13:50:54 UTC
Mike, Richard: Do you remember this one from #gentoo-dev? ^^

    http://cgit.freedesktop.org/nouveau/linux-2.6/commit/?id=c684cef795cb5356ae7f6a7ad613946eef14265f

Andreas: Could you try this patch on the latest gentoo-sources you have?

    cd /usr/src/linux
    wget http://cgit.freedesktop.org/nouveau/linux-2.6/patch/?id=c684cef795cb5356ae7f6a7ad613946eef14265f -O nouveau_suspend.patch
    patch -p1 < nouveau_suspend.patch
Comment 7 Andreas Hermann 2013-03-11 17:00:22 UTC
Thanks Tom, I will apply the patch and report back if it works. I already thought of building the kernel from nouveau git head master and see if that helps. If the patch doesn't work, i will try that too.
Comment 8 Andreas Hermann 2013-03-11 18:30:25 UTC
Ok, it seems like gentoo-sources-3.8.2 already has the patch applied. Just compiling the kernel ...
Comment 9 Andreas Hermann 2013-03-11 22:26:33 UTC
With gentoo-sources-3.2.8 (patch from Comment 6 already included), the "failed to idle channel ..." messages are gone, but my display remains black after resuming from suspend. No error messages in Xorg.log or dmesg, weird! I can switch from X to VT exactly once. When switching back to X, the screen remains black forever, not VT and no X.
I think i will try nouveau git now.
Comment 10 Andreas Hermann 2013-03-12 15:23:29 UTC
I tried the latest nouveau-git kernel, but the issue still exists. Somehow suspend is broken on this machine with nouveau since 3.5 kernel series i think.
Comment 11 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-04-16 17:02:05 UTC
(In reply to comment #10)
> I tried the latest nouveau-git kernel, but the issue still exists. Somehow
> suspend is broken on this machine with nouveau since 3.5 kernel series i
> think.

Apart from a patch that fixed another issue for me related to a black display when starting X (we have the same family, NV50, so this may or may not result in a difference for you), I saw nothing specific to your case.

You may try nouveau-git to get the last month of changes (includes above patch) to see if it has been fixed yet, otherwise I would suggest you to file a bug at https://bugs.freedesktop.org/ for them to look into it. Since you get no output, increasing the debug options for Nouveau in the kernel may be an option.
Comment 12 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-06-23 13:17:41 UTC
Please try a more recent kernel and their latest development kernel.

Thank you in advance.