Date: Tue, 21 Feb 2017 01:50:30 +0100 From: Mateusz Guzik <mjguzik@gmail.com> To: Steve Kargl <sgk@troutmask.apl.washington.edu> Cc: freebsd-current@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: drm2, i915kms cause instant lock-up Message-ID: <20170221005030.GD26759@dft-labs.eu> In-Reply-To: <20170221004340.GA91587@troutmask.apl.washington.edu> References: <20170220235224.GA91194@troutmask.apl.washington.edu> <20170220235807.GC26759@dft-labs.eu> <20170221004340.GA91587@troutmask.apl.washington.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Feb 20, 2017 at 04:43:40PM -0800, Steve Kargl wrote: > 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. > Thanks for testing. Note you may encounter some turbulences along the road as there were fixups and fixups to fixups to the combined above patch. Good luck. -- Mateusz Guzik <mjguzik gmail.com>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170221005030.GD26759>