public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Stanislaw Gruszka <sgruszka@redhat.com>
To: Keith Packard <keithp@keithp.com>
Cc: dri-devel@lists.freedesktop.org, linux-pm@vger.kernel.org,
	linux-kernel@vger.kernel.org, David Airlie <airlied@linux.ie>,
	rjw@sisk.pl, davej@redhat.com
Subject: Re: hibernate random memory corruption, workaround i915.modeset=0
Date: Wed, 21 Mar 2012 16:14:49 +0100	[thread overview]
Message-ID: <20120321151448.GA7924@redhat.com> (raw)
In-Reply-To: <86r4wobj6v.fsf@sumi.keithp.com>

On Mon, Mar 19, 2012 at 10:21:28AM -0700, Keith Packard wrote:
> <#part sign=pgpmime>
> On Mon, 19 Mar 2012 15:53:54 +0100, Stanislaw Gruszka <sgruszka@redhat.com> wrote:
> 
> > Keith, is there a chance that this bug can be fixed by i915 team?
> 
> Yes, I'm working on figuring out how to actually reproduce this and then
> work on a few work-arounds.

This must be hardware dependent then, yesterday and today I tried to
reproduce on Lenovo T60 with:

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller [8086:27a2] (rev 03)

and there is no sign of corruption, I double checked if slab poisoning
is enabled.

> > If not, can we disable hibernate on i915 with modeset=1 and add
> > module option, which enable it for those who want to risk?
> 
> I'd love to know if disabling modeset on just the booting kernel helps;
> leaving the resuming kernel with modeset=1. I haven't been able to
> reproduce this locally yet to test this theory though.

On Lenovo T500 with:

00:02.1 Display controller [0380]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a43] (rev 07)

that is the case. Script attached on previous email trigger corruption
with modeset=1 (on various older and newer kernels) in less then 20
iterations. There is no corruption after 100 iterations if
i915.modeset=0 parameter is used. Some users on RH bugzilla confirmed
that workaround as well.

If you want list of more i915 adapters where the problem happens, I can
check in our bugzilla and provide it.

Thanks
Stanislaw 

  reply	other threads:[~2012-03-21 15:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-27 12:42 hibernate random memory corruption, workaround i915.modeset=0 Stanislaw Gruszka
2012-03-19 14:53 ` Stanislaw Gruszka
2012-03-19 17:21   ` Keith Packard
2012-03-21 15:14     ` Stanislaw Gruszka [this message]
2012-03-21 15:43       ` Dave Airlie
     [not found] <iz8bE-3ij-7@gated-at.bofh.it>
     [not found] ` <iGMdX-6N4-9@gated-at.bofh.it>
     [not found]   ` <iGOz9-2vm-19@gated-at.bofh.it>
     [not found]     ` <iHvuq-7MF-25@gated-at.bofh.it>
2012-03-21 18:15       ` Andreas Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120321151448.GA7924@redhat.com \
    --to=sgruszka@redhat.com \
    --cc=airlied@linux.ie \
    --cc=davej@redhat.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=keithp@keithp.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@sisk.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox