Skip to contentSkip to conversation

Resume from suspend to disk hangs on restoring backlight state

3.4-rc1 Maciej Rutecki 2 participants 6 messages Apr 2, 2012 – Apr 11, 2012

lore
Share & tools
lore
#0 lore raw

Last known good: 3.3
Bad kernel: 3.4-rc1
Subsystem: power management/suspend/dri(intel)

When I resume from suspend to disk then system hangs on this screen:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jpg

It does not help SysRq keys. Only I can force power off by hold power button.

Dmesg:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-rc1.txt

Config:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.0-rc1

Signature · 2 lines
Maciej Rutecki
http://www.mrutecki.pl
#1 lore raw
Quoted 7 lines · Maciej Rutecki

Last known good: 3.3
Bad kernel: 3.4-rc1
Subsystem: power management/suspend/dri(intel)

When I resume from suspend to disk then system hangs on this screen:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jpg

Quoted 7 lines

It does not help SysRq keys. Only I can force power off by hold power button.

Dmesg:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-rc1.txt

Config:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.0-rc1

Likely a known regression, ppgtt support broke hibernate because my code doesn't restore the ppgtt page directory correctly in the thaw function.

Patch:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes&id=55a254ac63a3ac1867d1501030e7fba69c7d4aeb

Please test whether this fixes your issue. You can also try adding i915.i915_enable_ppgtt=0 to your kernel cmdline.

Thanks, Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48
#2 lore raw
Quoted 22 lines · On poniedziałek, 2 kwietnia 2012 o 19:54:02 Daniel Vetter wrote:
Quoted 10 lines · Maciej Rutecki

Last known good: 3.3
Bad kernel: 3.4-rc1
Subsystem: power management/suspend/dri(intel)

When I resume from suspend to disk then system hangs on this screen:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jpg

It does not help SysRq keys. Only I can force power off by hold power button.

Quoted 7 lines

Dmesg:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-rc1.t
xt

Config:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.0-rc
1

Likely a known regression, ppgtt support broke hibernate because my code doesn't restore the ppgtt page directory correctly in the thaw function.

Quoted 8 lines

Patch:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes&id=
55a254ac63a3ac1867d1501030e7fba69c7d4aeb

Please test whether this fixes your issue. You can also try adding i915.i915_enable_ppgtt=0 to your kernel cmdline.

Thanks, Daniel

Patch solves problem.

Now resume hangs later on another subsystem: wireless :D

Regards

Signature · 2 lines
Maciej Rutecki
http://www.mrutecki.pl
#3 lore raw
Quoted 27 lines · Maciej Rutecki
Quoted 26 lines · On poniedziałek, 2 kwietnia 2012 o 19:54:02 Daniel Vetter wrote:
Quoted 10 lines · Maciej Rutecki

Last known good: 3.3
Bad kernel: 3.4-rc1
Subsystem: power management/suspend/dri(intel)

When I resume from suspend to disk then system hangs on this screen:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jpg

It does not help SysRq keys. Only I can force power off by hold power button.

Quoted 7 lines

Dmesg:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-rc1.t
xt

Config:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.0-rc
1

Likely a known regression, ppgtt support broke hibernate because my code doesn't restore the ppgtt page directory correctly in the thaw function.

Patch:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes&id=
55a254ac63a3ac1867d1501030e7fba69c7d4aeb

Quoted 8 lines
Quoted 4 lines

Please test whether this fixes your issue. You can also try adding i915.i915_enable_ppgtt=0 to your kernel cmdline.

Thanks, Daniel

Patch solves problem.

Now resume hangs later on another subsystem: wireless :D

Woot, I'm off the hook ;-) Thanks for reporting this issue and testing the patch.

Yours, Daniel

Signature · 3 lines
Daniel Vetter
Mail: [email protected]
Mobile: +41 (0)79 365 57 48
#4 lore raw
Quoted 35 lines · On poniedziałek, 2 kwietnia 2012 o 21:05:23 Daniel Vetter wrote:
Quoted 34 lines · Maciej Rutecki
Quoted 32 lines · On poniedziałek, 2 kwietnia 2012 o 19:54:02 Daniel Vetter wrote:
Quoted 11 lines · Maciej Rutecki

Last known good: 3.3
Bad kernel: 3.4-rc1
Subsystem: power management/suspend/dri(intel)

When I resume from suspend to disk then system hangs on this screen:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/DSC_5479.jp
g

It does not help SysRq keys. Only I can force power off by hold power button.

Quoted 7 lines

Dmesg:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/dmesg-3.4-r
c1.t xt

Config:
http://mrutecki.pl/download/kernel/3.4-rc1/suspend_resume/config-3.4.
0-rc 1

Likely a known regression, ppgtt support broke hibernate because my code doesn't restore the ppgtt page directory correctly in the thaw function.

Patch:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes
&id= 55a254ac63a3ac1867d1501030e7fba69c7d4aeb

Please test whether this fixes your issue. You can also try adding i915.i915_enable_ppgtt=0 to your kernel cmdline.

Thanks, Daniel

Quoted 8 lines
Quoted 3 lines

Patch solves problem.

Now resume hangs later on another subsystem: wireless :D

Woot, I'm off the hook ;-) Thanks for reporting this issue and testing the patch.

Yours, Daniel

Seems be resolved in -rc2.

Thanks

Signature · 2 lines
Maciej Rutecki
http://www.mrutecki.pl
#5 lore raw
Quoted 11 lines · Maciej Rutecki
Quoted 11 lines
Quoted 11 lines
Quoted 8 lines

Patch:
http://cgit.freedesktop.org/~danvet/drm-intel/commit/?h=drm-intel-fixes
&id= 55a254ac63a3ac1867d1501030e7fba69c7d4aeb

Please test whether this fixes your issue. You can also try adding i915.i915_enable_ppgtt=0 to your kernel cmdline.

Thanks, Daniel

Patch solves problem.

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

Now resume hangs later on another subsystem: wireless :D

Woot, I'm off the hook ;-) Thanks for reporting this issue and testing the patch.

Yours, Daniel

Seems be resolved in -rc2.

My guess is on the firmware load vs. suspend/resume fix that landed in -rc2. That one fixed resume on all the machines here, and -rc1 broke it on a lot of them.
-Daniel

Signature · 2 lines
Daniel Vetter
[email protected] - +41 (0) 79 364 57 48 - http://blog.ffwll.ch