Re: Lenovo resume from suspends hangs in i915_gpu_busy or so

From: Norbert Preining
Date: Mon Apr 04 2011 - 10:17:03 EST


Hi Jesse, hi everyone,

ok, I give up for now.

On Fr, 01 Apr 2011, Jesse Barnes wrote:
> Well I'd start with something like 2.6.37, I think that's the first

2.6.37 suspends and resumes fine, even with X running

Then I recompiled 2.6.39-rc1 with our patch and suspended,
resume took 1min (exactely!) and worked out. I got a lot of the
warning messages, every five seconds the DRM_ERROR msgs from
the patch.
[ 52.069753] [drm:i915_gpu_busy] *ERROR* entering busy check, trying to take lock
[ 52.071813] [drm:i915_gpu_busy] *ERROR* got lock, returning current busy status
[ 52.074233] [drm:i915_gpu_busy] *ERROR* unlock & return
[ 57.074194] [drm:i915_gpu_busy] *ERROR* entering busy check, trying to take lock
[ 57.076270] [drm:i915_gpu_busy] *ERROR* got lock, returning current busy status
[ 57.078717] [drm:i915_gpu_busy] *ERROR* unlock & return


The resume was probably hanging at something different. I am not at
the laptop now (travelling with a ifferent laptop), but it was:
r8169: cannot apply firmware patch
or something similar. It was always ... resume ... 60sec hang ...
then this message and "resume of devices completed" or so in the dmesg
output.

So I thought it might be that the patch changed a bit of timings
but recompiling *without* the patch and rebooting I get now the
same behaviour: Suspend and resume works, although hanging for 1min
before coming back.

I guess that means we can close that problem for now.

Sorry for the noise. If someone has an ide awhere to search for
the "cannot apply firmware patch" problem please let me know.

Thanks and all the best

Norbert

------------------------------------------------------------------------
Norbert Preining preining@{jaist.ac.jp, logic.at, debian.org}
JAIST, Japan TeX Live & Debian Developer
DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
------------------------------------------------------------------------
TILLICOULTRY (n.)
The man-to-man chumminess adopted by an employer as a prelude for
telling an employee that he's going to have to let him go.
--- Douglas Adams, The Meaning of Liff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/