Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932140Ab2FDOZV (ORCPT ); Mon, 4 Jun 2012 10:25:21 -0400 Received: from mail-wg0-f44.google.com ([74.125.82.44]:33385 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753478Ab2FDOZR (ORCPT ); Mon, 4 Jun 2012 10:25:17 -0400 Date: Mon, 4 Jun 2012 16:26:43 +0200 From: Daniel Vetter To: Dave Young Cc: keithp@keithp.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: WARNING: at drivers/gpu/drm/i915/i915_drv.c:440 Message-ID: <20120604142643.GB30272@phenom.ffwll.local> Mail-Followup-To: Dave Young , keithp@keithp.com, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20120601062125.GA23223@localhost.localdomain> <20120601143233.GC5027@phenom.ffwll.local> <4FCC0E43.5030608@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FCC0E43.5030608@redhat.com> X-Operating-System: Linux phenom 3.4.0-rc6+ User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 12918 Lines: 163 On Mon, Jun 04, 2012 at 09:24:19AM +0800, Dave Young wrote: > On 06/01/2012 10:32 PM, Daniel Vetter wrote: > > > On Fri, Jun 01, 2012 at 02:21:25PM +0800, Dave Young wrote: > >> Today I got a lot i915 warnings on a thinkpad t400, here is the something copied from syslog: > >> [Known issue?] > > > > The gpu refuses to clear the write fifo. Which means it pretty much > > disappeared into nirvana. The kernel _should_ detect this condition and > > try to reset the gpu. Furthermore it should dump a useful information into > > i915_error_state in debugfs. Can you please attach that (rebooting > > obviously destroy the contents of that file)? > > > Sorry, I did not save the debugfs content. > > I can not always reproduce this issue, I will send that to you when I > see the call trace next time. Np. > > Also, your version of your kernel, xf86-video-intel, mesa and libdrm are > > relevant. > > > kernel: 3.4.0 > xf86-video-intel: xorg-x11-drv-intel-2.16.0-1.el6.x86_64 > mesa: mesa-dri-drivers-7.11-1.el6.x86_64 > libdrm: libdrm-2.4.25-1.el6.x86_64 Hm, both the ddx driver and mesa are comparetively old and we've fixed and aweful lot of bugs since these got released. Can you try upgrading to the latest released versions of each? Thanks, Daniel > > > > > Yours, Daniel > >> > >> Jun 1 13:31:13 localhost kernel: [15935.915986] ------------[ cut here ]------------ > >> Jun 1 13:31:13 localhost kernel: [15935.916009] WARNING: at drivers/gpu/drm/i915/i915_drv.c:440 __gen6_gt_wait_for_fifo+0x74/0x89() > >> Jun 1 13:31:13 localhost kernel: [15935.916017] Hardware name: 4236NUC > >> Jun 1 13:31:13 localhost kernel: [15935.916022] Modules linked in: fuse rfcomm bnep sunrpc vhost_net macvtap macvlan tun kvm_intel kvm btusb bluetooth uvcvideo videobuf2_core videodev media videobuf2_vmalloc videobuf2_memops pcspkr iwlwifi mac80211 cfg80211 e1000e wmi thinkpad_acpi rfkill firewire_ohci firewire_core crc_itu_t sdhci_pci [last unloaded: scsi_wait_scan] > >> Jun 1 13:31:13 localhost kernel: [15935.916125] Pid: 8026, comm: Xorg Not tainted 3.4.0 #284 > >> Jun 1 13:31:13 localhost kernel: [15935.916131] Call Trace: > >> Jun 1 13:31:13 localhost kernel: [15935.916146] [] warn_slowpath_common+0x80/0x98 > >> Jun 1 13:31:13 localhost kernel: [15935.916157] [] warn_slowpath_null+0x15/0x17 > >> Jun 1 13:31:13 localhost kernel: [15935.916168] [] __gen6_gt_wait_for_fifo+0x74/0x89 > >> Jun 1 13:31:13 localhost kernel: [15935.916178] [] i915_write32+0x4c/0x70 > >> Jun 1 13:31:13 localhost kernel: [15935.916189] [] ? gen6_ring_put_irq+0x31/0x8a > >> Jun 1 13:31:13 localhost kernel: [15935.916199] [] gen6_ring_put_irq+0x63/0x8a > >> Jun 1 13:31:13 localhost kernel: [15935.916209] [] gen6_render_ring_put_irq+0x13/0x15 > >> Jun 1 13:31:13 localhost kernel: [15935.916222] [] i915_wait_request+0x2fd/0x3b3 > >> Jun 1 13:31:13 localhost kernel: [15935.916235] [] ? wake_up_bit+0x25/0x25 > >> Jun 1 13:31:13 localhost kernel: [15935.916248] [] ? i915_gem_flush_ring+0x6b/0x139 > >> Jun 1 13:31:13 localhost kernel: [15935.916260] [] i915_gem_object_wait_rendering+0x31/0x33 > >> Jun 1 13:31:13 localhost kernel: [15935.916271] [] i915_gem_do_execbuffer.clone.6+0xce7/0x129f > >> Jun 1 13:31:13 localhost kernel: [15935.916284] [] ? __lock_acquire+0xe32/0xe41 > >> Jun 1 13:31:13 localhost kernel: [15935.916294] [] ? lock_release_non_nested+0xa0/0x24f > >> Jun 1 13:31:13 localhost kernel: [15935.916306] [] i915_gem_execbuffer2+0x114/0x183 > >> Jun 1 13:31:13 localhost kernel: [15935.916321] [] ? might_fault+0x89/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.916334] [] drm_ioctl+0x2f1/0x3d3 > >> Jun 1 13:31:13 localhost kernel: [15935.916345] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.916355] [] ? i915_gem_execbuffer+0x26a/0x26a > >> Jun 1 13:31:13 localhost kernel: [15935.916366] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.916378] [] ? check_for_xstate+0x2f/0x8a > >> Jun 1 13:31:13 localhost kernel: [15935.916391] [] do_vfs_ioctl+0x47d/0x4bc > >> Jun 1 13:31:13 localhost kernel: [15935.916405] [] ? do_sigaltstack+0xaf/0x14e > >> Jun 1 13:31:13 localhost kernel: [15935.916417] [] ? retint_swapgs+0x13/0x1b > >> Jun 1 13:31:13 localhost kernel: [15935.916430] [] ? fget_light+0x3d/0x9c > >> Jun 1 13:31:13 localhost kernel: [15935.916441] [] sys_ioctl+0x51/0x75 > >> Jun 1 13:31:13 localhost kernel: [15935.916452] [] system_call_fastpath+0x1a/0x1f > >> Jun 1 13:31:13 localhost kernel: [15935.916460] ---[ end trace 93dc2a59f9772003 ]--- > >> Jun 1 13:31:13 localhost kernel: [15935.921817] ------------[ cut here ]------------ > >> Jun 1 13:31:13 localhost kernel: [15935.921829] WARNING: at drivers/gpu/drm/i915/i915_drv.c:440 __gen6_gt_wait_for_fifo+0x74/0x89() > >> Jun 1 13:31:13 localhost kernel: [15935.921836] Hardware name: 4236NUC > >> Jun 1 13:31:13 localhost kernel: [15935.921840] Modules linked in: fuse rfcomm bnep sunrpc vhost_net macvtap macvlan tun kvm_intel kvm btusb bluetooth uvcvideo videobuf2_core videodev media videobuf2_vmalloc videobuf2_memops pcspkr iwlwifi mac80211 cfg80211 e1000e wmi thinkpad_acpi rfkill firewire_ohci firewire_core crc_itu_t sdhci_pci [last unloaded: scsi_wait_scan] > >> Jun 1 13:31:13 localhost kernel: [15935.921931] Pid: 8026, comm: Xorg Tainted: G W 3.4.0 #284 > >> Jun 1 13:31:13 localhost kernel: [15935.921937] Call Trace: > >> Jun 1 13:31:13 localhost kernel: [15935.921947] [] warn_slowpath_common+0x80/0x98 > >> Jun 1 13:31:13 localhost kernel: [15935.921956] [] warn_slowpath_null+0x15/0x17 > >> Jun 1 13:31:13 localhost kernel: [15935.921966] [] __gen6_gt_wait_for_fifo+0x74/0x89 > >> Jun 1 13:31:13 localhost kernel: [15935.921975] [] i915_write32+0x4c/0x70 > >> Jun 1 13:31:13 localhost kernel: [15935.921984] [] ring_write_tail+0x1c/0x1e > >> Jun 1 13:31:13 localhost kernel: [15935.921994] [] intel_ring_advance+0x18/0x1a > >> Jun 1 13:31:13 localhost kernel: [15935.922003] [] blt_ring_flush+0x66/0x70 > >> Jun 1 13:31:13 localhost kernel: [15935.922015] [] i915_gem_flush_ring+0x6b/0x139 > >> Jun 1 13:31:13 localhost kernel: [15935.922026] [] i915_gem_do_execbuffer.clone.6+0xbde/0x129f > >> Jun 1 13:31:13 localhost kernel: [15935.922037] [] ? __lock_acquire+0xe32/0xe41 > >> Jun 1 13:31:13 localhost kernel: [15935.922047] [] ? lock_release_non_nested+0xa0/0x24f > >> Jun 1 13:31:13 localhost kernel: [15935.922058] [] i915_gem_execbuffer2+0x114/0x183 > >> Jun 1 13:31:13 localhost kernel: [15935.922070] [] ? might_fault+0x89/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.922080] [] drm_ioctl+0x2f1/0x3d3 > >> Jun 1 13:31:13 localhost kernel: [15935.922091] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.922100] [] ? i915_gem_execbuffer+0x26a/0x26a > >> Jun 1 13:31:13 localhost kernel: [15935.922112] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.922121] [] ? check_for_xstate+0x2f/0x8a > >> Jun 1 13:31:13 localhost kernel: [15935.922133] [] do_vfs_ioctl+0x47d/0x4bc > >> Jun 1 13:31:13 localhost kernel: [15935.922145] [] ? do_sigaltstack+0xaf/0x14e > >> Jun 1 13:31:13 localhost kernel: [15935.922154] [] ? retint_swapgs+0x13/0x1b > >> Jun 1 13:31:13 localhost kernel: [15935.922165] [] ? fget_light+0x3d/0x9c > >> Jun 1 13:31:13 localhost kernel: [15935.922176] [] sys_ioctl+0x51/0x75 > >> Jun 1 13:31:13 localhost kernel: [15935.922185] [] system_call_fastpath+0x1a/0x1f > >> Jun 1 13:31:13 localhost kernel: [15935.922193] ---[ end trace 93dc2a59f9772004 ]--- > >> Jun 1 13:31:13 localhost kernel: [15935.928465] ------------[ cut here ]------------ > >> Jun 1 13:31:13 localhost kernel: [15935.928476] WARNING: at drivers/gpu/drm/i915/i915_drv.c:440 __gen6_gt_wait_for_fifo+0x74/0x89() > >> Jun 1 13:31:13 localhost kernel: [15935.928482] Hardware name: 4236NUC > >> Jun 1 13:31:13 localhost kernel: [15935.928486] Modules linked in: fuse rfcomm bnep sunrpc vhost_net macvtap macvlan tun kvm_intel kvm btusb bluetooth uvcvideo videobuf2_core videodev media videobuf2_vmalloc videobuf2_memops pcspkr iwlwifi mac80211 cfg80211 e1000e wmi thinkpad_acpi rfkill firewire_ohci firewire_core crc_itu_t sdhci_pci [last unloaded: scsi_wait_scan] > >> Jun 1 13:31:13 localhost kernel: [15935.928577] Pid: 8026, comm: Xorg Tainted: G W 3.4.0 #284 > >> Jun 1 13:31:13 localhost kernel: [15935.928583] Call Trace: > >> Jun 1 13:31:13 localhost kernel: [15935.928592] [] warn_slowpath_common+0x80/0x98 > >> Jun 1 13:31:13 localhost kernel: [15935.928602] [] warn_slowpath_null+0x15/0x17 > >> Jun 1 13:31:13 localhost kernel: [15935.928612] [] __gen6_gt_wait_for_fifo+0x74/0x89 > >> Jun 1 13:31:13 localhost kernel: [15935.928622] [] i915_write32+0x4c/0x70 > >> Jun 1 13:31:13 localhost kernel: [15935.928631] [] ? gen6_ring_get_irq+0x44/0x9a > >> Jun 1 13:31:13 localhost kernel: [15935.928641] [] gen6_ring_get_irq+0x79/0x9a > >> Jun 1 13:31:13 localhost kernel: [15935.928651] [] gen6_render_ring_get_irq+0x13/0x15 > >> Jun 1 13:31:13 localhost kernel: [15935.928663] [] i915_wait_request+0x195/0x3b3 > >> Jun 1 13:31:13 localhost kernel: [15935.928675] [] ? i915_gem_flush_ring+0x6b/0x139 > >> Jun 1 13:31:13 localhost kernel: [15935.928688] [] i915_gem_object_wait_rendering+0x31/0x33 > >> Jun 1 13:31:13 localhost kernel: [15935.928698] [] i915_gem_do_execbuffer.clone.6+0xce7/0x129f > >> Jun 1 13:31:13 localhost kernel: [15935.928709] [] ? __lock_acquire+0xe32/0xe41 > >> Jun 1 13:31:13 localhost kernel: [15935.928719] [] ? lock_release_non_nested+0xa0/0x24f > >> Jun 1 13:31:13 localhost kernel: [15935.928731] [] i915_gem_execbuffer2+0x114/0x183 > >> Jun 1 13:31:13 localhost kernel: [15935.928742] [] ? might_fault+0x89/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.928752] [] drm_ioctl+0x2f1/0x3d3 > >> Jun 1 13:31:13 localhost kernel: [15935.928764] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.928773] [] ? i915_gem_execbuffer+0x26a/0x26a > >> Jun 1 13:31:13 localhost kernel: [15935.928785] [] ? might_fault+0x40/0x90 > >> Jun 1 13:31:13 localhost kernel: [15935.928794] [] ? check_for_xstate+0x2f/0x8a > >> Jun 1 13:31:13 localhost kernel: [15935.928806] [] do_vfs_ioctl+0x47d/0x4bc > >> Jun 1 13:31:13 localhost kernel: [15935.928818] [] ? do_sigaltstack+0xaf/0x14e > >> Jun 1 13:31:13 localhost kernel: [15935.928828] [] ? retint_swapgs+0x13/0x1b > >> Jun 1 13:31:13 localhost kernel: [15935.928838] [] ? fget_light+0x3d/0x9c > >> Jun 1 13:31:13 localhost kernel: [15935.928850] [] sys_ioctl+0x51/0x75 > >> Jun 1 13:31:13 localhost kernel: [15935.928859] [] system_call_fastpath+0x1a/0x1f > >> Jun 1 13:31:13 localhost kernel: [15935.928866] ---[ end trace 93dc2a59f9772005 ]--- > >> _______________________________________________ > >> dri-devel mailing list > >> dri-devel@lists.freedesktop.org > >> http://lists.freedesktop.org/mailman/listinfo/dri-devel > > > > > > -- > Thanks > Dave > _______________________________________________ > dri-devel mailing list > dri-devel@lists.freedesktop.org > http://lists.freedesktop.org/mailman/listinfo/dri-devel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/