From: Chris Wilson Subject: Re: [PATCH] drm/i915: Record error batch buffers using iomem Date: Wed, 12 May 2010 14:50:50 +0100 Message-ID: <89k83a$87e1b2@azsmga001.ch.intel.com> References: <0100511104818.8382a7de.akpm@linux-foundation.org> <1273602134-6359-1-git-send-email-chris@chris-wilson.co.uk> <89khjo$fd2th6@orsmga002.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from azsmga102.ch.intel.com (mga12.intel.com [143.182.124.36]) by gabe.freedesktop.org (Postfix) with ESMTP id 445FE9E76D for ; Wed, 12 May 2010 06:50:55 -0700 (PDT) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Jaswinder Singh Rajput Cc: Andrew Morton , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org On Wed, 12 May 2010 18:45:55 +0530, Jaswinder Singh Rajput wrote: > Hello Chris, > > With this patch after XWindows freezes, I get : [snip] > freeze dmesg : http://userweb.kernel.org/~jaswinder/acer_netbook/dmesg_2634_chris_hang.txt > > freeze Xorg.log : http://userweb.kernel.org/~jaswinder/acer_netbook/Xorg_log.txt Jaswinder can you also upload the /sys/kernel/debug/dri/0/i915_error_state following a freeze as well, please. If your /sys/kernel/debug is empty, you will need to "mount -tdebugfs debug /sys/kernel/debug". > So it means this patches shifted the BUG and warning messages after > some time. So I can only work on XWindows for few minutes with this > patch. > Andrew patch is in linus git tree. Can you please update your patch > above Andrew patch. So that I can do further testing. What is in the tree is adequate for the time being. It will capture the batch buffer into the error state. My follow-on patch only increases the level of paranoia. Thanks for testing. -- Chris Wilson, Intel Open Source Technology Centre