[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120227124243.GG4104@redhat.com>
Date: Mon, 27 Feb 2012 13:42:46 +0100
From: Stanislaw Gruszka <sgruszka@...hat.com>
To: dri-devel@...ts.freedesktop.org
Cc: linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org,
Keith Packard <keithp@...thp.com>,
David Airlie <airlied@...ux.ie>
Subject: hibernate random memory corruption, workaround i915.modeset=0
Hi.
I'm able to reproduce random memory corruption after hibernate.
Corruption is not reproducible when I disable mode setting, what
seems to blame i915 driver or generic DRM kernel code.
I'm able to reproduce bug on Fedora 11 with 2.6.30 kernel (first
fedora with KMS support) and on the latest 3.3-rc kernels. So this
issue is there from very beginning, hence it is not bisectable.
I'm attaching script to reproduce (with accompanying memory checker
program). Script is basically sequence of hibernate - reset - check
memory. Kernel should be compiled with CONFIG_DEBUG_SLAB to detect
poison/redzone overwrites.
I already tried to debug this using CONFIG_DEBUG_PAGEALLOC and new
kernel option debug_guardpage_minorder, but without any success.
Seems corruption happen behind CPU MMU, i.e. is DMA unit programming
bug. I'm not able to turn on IOMMU on that hardware.
This happen on T500 laptop with, lspci output attached.
I'm attaching also dmesg's with poison/redzone overwrites from
3.3-rc4 and 2.6.30 kernels.
Some more information can be found on:
https://bugzilla.redhat.com/show_bug.cgi?id=746169
https://bugzilla.redhat.com/show_bug.cgi?id=701857
i.e there is invalid DMA address warning that could be a good hint:
https://bugzilla.redhat.com/show_bug.cgi?id=746169#c7
I would appreciate any help with solving this issue. I think many
people are hitting this, but since corruption happens at random,
not many people notice it, or when notice, did not find out that
this could be i915/DRM issue.
Thanks
Stanislaw
Download attachment "hib_corruption_reproducer.tar.bz2" of type "application/x-bzip2" (1468 bytes)
View attachment "lspci.txt" of type "text/plain" (30667 bytes)
View attachment "2.6.30_corruption.txt" of type "text/plain" (122804 bytes)
View attachment "3.3-rc4_corruption.txt" of type "text/plain" (154522 bytes)
Powered by blists - more mailing lists