From owner-freebsd-hackers@freebsd.org Tue Feb 21 00:43:42 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 05349CE6B7C; Tue, 21 Feb 2017 00:43:42 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id DEB09F1A; Tue, 21 Feb 2017 00:43:41 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id v1L0heQo091596 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Feb 2017 16:43:40 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id v1L0hepS091595; Mon, 20 Feb 2017 16:43:40 -0800 (PST) (envelope-from sgk) Date: Mon, 20 Feb 2017 16:43:40 -0800 From: Steve Kargl To: Mateusz Guzik , freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: drm2, i915kms cause instant lock-up Message-ID: <20170221004340.GA91587@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <20170220235224.GA91194@troutmask.apl.washington.edu> <20170220235807.GC26759@dft-labs.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170220235807.GC26759@dft-labs.eu> User-Agent: Mutt/1.7.2 (2016-11-26) 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: Tue, 21 Feb 2017 00:43:42 -0000 On Tue, Feb 21, 2017 at 12:58:07AM +0100, Mateusz Guzik wrote: > 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. > With 1. and 2. the system boots and I can kldload both drm2 and i915kms. I revert the patch and start bisecting the kernel. Thanks for the quick response. -- Steve 20161221 https://www.youtube.com/watch?v=IbCHE-hONow