Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751862AbeACNpD (ORCPT + 1 other); Wed, 3 Jan 2018 08:45:03 -0500 Received: from mail-qk0-f172.google.com ([209.85.220.172]:43543 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428AbeACNpC (ORCPT ); Wed, 3 Jan 2018 08:45:02 -0500 X-Google-Smtp-Source: ACJfBosgQ+ZnLUEeMy9/CpINpF0Y3VkUvP0PqmzD/PwfN58tWfDBtcFADaZPspfBJON+tZ9/dw7W9g== Date: Wed, 3 Jan 2018 08:46:42 -0500 From: Alexandru Chirvasitu To: Chris Wilson Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , intel-gfx@lists.freedesktop.org, kernel list Subject: Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5 Message-ID: <20180103134642.GA2118@chirva-void> References: <20171230173132.GA2369@chirva-void> <151473569074.2051.18107105776550332791@mail.alporthouse.com> <20171231165236.GA3774@arch-chirva.localdomain> <151473925492.2051.3326119747183075981@mail.alporthouse.com> <20180101211357.cgufcpw4up7kqtj7@D-69-91-141-110.dhcp4.washington.edu> <151491202515.21495.4275099714898982160@mail.alporthouse.com> <20180102213922.zu4bbovphbk6sad6@D-69-91-141-110.dhcp4.washington.edu> <20180103001438.qyecmef4rss3e732@D-69-91-141-110.dhcp4.washington.edu> <151498375040.21495.10909014868670557680@mail.alporthouse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151498375040.21495.10909014868670557680@mail.alporthouse.com> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: I've cloned your https://anongit.freedesktop.org/git/drm-tip.git and am now trying to build it (just the master; I haven't tried previous commits). The build fails at the modules stage with Makefile:1015: recipe for target 'drivers' failed make: *** [drivers] Error 2 What is the earliest commit I can try to build so it will still include the config options you mention? I'm sure I'm just missing something obvious.. On Wed, Jan 03, 2018 at 12:49:10PM +0000, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-03 00:14:38) > > For comparison, here's another one produced by the same kernel, on the > > same laptop, but a different hard drive. > > > > The OS was installed on a USB stick that I'd boot the laptop off > > of. Recently I started getting lags when copying to / from the stick, > > so I moved the OS to an external SSD. > > > > Everything else stayed the same, and booting the same kernel resulted > > in the same type of freeze. > > I still have no explanation for how the use-after-free is possible here. > The list iteration and destruction are both guarded by the struct_mutex. > > However, we have just pushed some extra assertions into drm-tip, > https://cgit.freedesktop.org/drm-tip If you could please compile and > test a kernel built using that branch and enable > CONFIG_DRM_I915_DEBUG_GEM (which depends on CONFIG_DRM_I915_WERROR). I'm > hoping that will catch the culprit in the act. > -Chris