From owner-freebsd-hackers@freebsd.org Mon Feb 20 23:58:11 2017 Return-Path: Delivered-To: freebsd-hackers@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 873C1CE5500; Mon, 20 Feb 2017 23:58:11 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm0-x242.google.com (mail-wm0-x242.google.com [IPv6:2a00:1450:400c:c09::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D7B1B72; Mon, 20 Feb 2017 23:58:11 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm0-x242.google.com with SMTP id c85so17015516wmi.1; Mon, 20 Feb 2017 15:58:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=k7xyikLNfEuxO+fXiDOOpKDtnzaQCMlepe4i9OyfcFI=; b=GQMZlvFhRx+wcnQblxLsqszNIJwhwC11tgRqrC4BFVLoZYOeUrSSpUjILdeOWPI585 gAVvGAYtHI9nGLzutDzpI017ksdo4Hx7EHV+Vg21IanO+Fhyap/snzcB+M67ooMvG2Wk sQ/0akiQCh/w7odyLuVqI+sTx8GteezmDVM4rM4dMbgIthiSxg+4cpA1cd/f0QoBHerH jxYwtneMxKzdTaAorUomQvEt4/1pUcFClWVKoHDlAF5yecO3tSsw0Y9hsUOMfd47vi+V O7p1VMzRbEjVsXaVZsFRD1AF8C4t6uy+byPCL92fGPD502bI8+lsqVZFLelNk7w4pKUB WXSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=k7xyikLNfEuxO+fXiDOOpKDtnzaQCMlepe4i9OyfcFI=; b=CXf9BKSawiqHlnUwIhNankjNV+Bo26dMpUEfbIx6i27gQlo77LBoj05gp+6UVy+g1M NbxNpiRWMza6l3EvSsTYkrxJK57lClqoUwpRIrS9c3Ra0H8esn74EeWEDhwInCfdoyBY pj9EAKjKqi3ymh7gTUTnd+IYSCg1A7bg4lTgScenBoPqy+yxa7VZaBC2h47oPYcXaalu 9QPn3smmjWA+OGGEl6aMaduWyG2lGvoV0LjPbEZkXek8GgC301l57Kq2U8shANR/1YWa r3yzAzONnAxfQVbDLYKE41dnzVfmzel45xpPkD0qPIjxALboGomeqXmDIoAMNiPsSNpd WeyA== X-Gm-Message-State: AMke39nEBpJ7usgo89gPMBtXyBpGVhxqkwSdlp6DvciI9lITqb26MPBGZHHhveSvzPAUGQ== X-Received: by 10.28.113.9 with SMTP id m9mr22654684wmc.60.1487635089598; Mon, 20 Feb 2017 15:58:09 -0800 (PST) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by smtp.gmail.com with ESMTPSA id o2sm26640390wra.42.2017.02.20.15.58.08 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Mon, 20 Feb 2017 15:58:09 -0800 (PST) Date: Tue, 21 Feb 2017 00:58:07 +0100 From: Mateusz Guzik To: Steve Kargl Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: drm2, i915kms cause instant lock-up Message-ID: <20170220235807.GC26759@dft-labs.eu> Mail-Followup-To: Mateusz Guzik , Steve Kargl , freebsd-current@freebsd.org, freebsd-hackers@freebsd.org References: <20170220235224.GA91194@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170220235224.GA91194@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Feb 2017 23:58:11 -0000 On Mon, Feb 20, 2017 at 03:52:24PM -0800, Steve Kargl wrote: > With a kernel and world from r313943 sources (circa > Feb 19, 2017), kldload of either drm2.ko or i915kms.ko > will lock up the system. There is no keyboard response, > screen output, or panic. Just a locked up system. > > A kernel from r313027 and its modules boots fine. > 'kldload drm2.ko' yields the following in /var/log/messages: > There were quite a few invasive changes in this timeframe. Can you please: 1. switch to 313254 and ensure it works 2. apply https://people.freebsd.org/~mjg/patches/complete-locks.diff and check if it breaks If it does not break, revert the patch and bisect the kernel please. Otherwise I'll devise smaller diffs to narrow this down. -- Mateusz Guzik