Subject : Suspend on Thinkpad x220: Hangs during resume Submitter : "Felix A. Kater" <fkater@googlemail.com> Date : Tue, 11 Sep 2012 09:39:48 +0200 Message-ID : <20120911073948.GA2872@comppasch2> References : https://lkml.org/lkml/2012/9/11/68 This issue has been addressed in http://lkml.org/lkml/2011/5/22/2 already, however, the patch does not work for me. My Thinkpad x220 still does not wake up from suspend anymore, for at least a year of kernel versions now. It hangs during resume. Things I tried without success: (1) The mentioned patch diff --git a/drivers/gpu/drm/i915/i915_drv.c b/drivers/gpu/drm/i915/i915_drv.c index 9fe9ebe..649451a 100644 --- a/drivers/gpu/drm/i915/i915_drv.c +++ b/drivers/gpu/drm/i915/i915_drv.c @@ -239,7 +239,7 @@ static const struct intel_device_info intel_sandybridge_d_info = { static const struct intel_device_info intel_sandybridge_m_info = { .gen = 6, .is_mobile = 1, .need_gfx_hws = 1, .has_hotplug = 1, - .has_fbc = 1, + .has_fbc = 0, .has_bsd_ring = 1, .has_blt_ring = 1, .has_llc = 1, (2) Setting CONFIG_DRM_I915_KMS=no After that X11 fails to find drivers and drops me to the console. However, even from here, no resume after suspend. (3) Boot options kernel (hd0,0)/bzImage quiet i915.i915_enable_rc6=0 i915.i915_enable_fbc=0 i915.lvds_downclock=0 (4) FYI: my normal .config attached below
If there is no resume even with KMS disabled then the problem is unlikely to be a graphics one. This bug therefore seems mis-assigned ?
Ok. I've filed it under Other because we have no idea what the problem is. NEED_MORE_INFO. Also apparently, only the assignee can change the assignee information and not the reporter. Bugzilla sucks. Let's see if I can take the assignment.
(1) FYI: I tried to track down the kernel version which worked once (around 3.2.12 with i915.modeset=0). However, I got another issue: Even shutdown hangs then. So I gave up here. (2) But things have changed anyway: Using standard v3.6.6, i915.modeset=0 and no X running the resume hangs for ~20 s, but continues. I had not waited that long recently. Then it continues until "PM: Image loading progress: 100%", then "suspending console(s)" and the hint to use "no_console_suspend to debug". Anyway: I get my console again, however, dmesg shows lots of I/O errors for /dev/sda which can not be accessed. Of course, the system is unusable. Here, I should mentioned that I use initramfs to decrypt my system partition before using it (sorry for not mentioning it earlier). Of course, my initramfs using cryptsetup once worked with suspend/resume. I'll try to create a decrypted version of my system and check without initramfs.