From owner-freebsd-current@freebsd.org Thu Dec 19 23:58:44 2019 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 133241EE637 for ; Thu, 19 Dec 2019 23:58:44 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 47f83R5pQWz4Fhf for ; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id C73AA1EE636; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) Delivered-To: current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C6FEC1EE635 for ; Thu, 19 Dec 2019 23:58:43 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-no.shaw.ca (smtp-out-no.shaw.ca [64.59.134.12]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 47f83R0836z4Fhd for ; Thu, 19 Dec 2019 23:58:42 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i5gliB4E7kqGXi5gmiZ1NM; Thu, 19 Dec 2019 16:58:41 -0700 X-Authority-Analysis: v=2.3 cv=c/jVvi1l c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=pxVhFHJ0LMsA:10 a=ndaoGXS1AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=xcPMti8hYbjpbBzHsY8A:9 a=CjuIK1q_8ugA:10 a=mFeOnlTyF09QQMGr2mMI:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy8 [10.2.2.6]) by spqr.komquats.com (Postfix) with ESMTPS id 8B46EB8; Thu, 19 Dec 2019 15:58:38 -0800 (PST) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id xBJNwJSl032491; Thu, 19 Dec 2019 15:58:19 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id xBJNwIxm032488; Thu, 19 Dec 2019 15:58:19 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912192358.xBJNwIxm032488@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.9.0 11/07/2018 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Hans Petter Selasky cc: Cy Schubert , current@freebsd.org Subject: Re: drm-current-kmod panics In-reply-to: <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> <201912191912.xBJJCwNh071304@slippy.cwsent.com> <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 20:19:57 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 15:58:18 -0800 X-CMAE-Envelope: MS4wfLmVqtr+sohRPSTlYD35Rby0PTfqSPU1EugD2p1wmf8mkHiAOQ6HLMJJED4hUOVYHcY/ktq+LAuvk+r4lAOsRkVmt7hU8AQRALcVLURbEj5ur3pDjnPT 38OsZlj8ijc5ZNciY+GVubw9D9c7n94M8lC0h+5yLV5Um9FOYD/rVMWOdNoBhuGQTijc0llunYspwhsdUhfbxu+SwH4hQMJsdH4= X-Rspamd-Queue-Id: 47f83R0836z4Fhd X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; dkim=none; spf=none (mx1.freebsd.org: domain of cy.schubert@cschubert.com has no SPF policy when checking 64.59.134.12) smtp.mailfrom=cy.schubert@cschubert.com X-Spamd-Result: default: False [-4.09 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; HAS_REPLYTO(0.00)[Cy.Schubert@cschubert.com]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; HAS_XAW(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; RWL_MAILSPIKE_GOOD(0.00)[12.134.59.64.rep.mailspike.net : 127.0.0.18]; REPLYTO_EQ_FROM(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[17.125.67.70.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:6327, ipnet:64.59.128.0/20, country:CA]; RCVD_TLS_LAST(0.00)[]; IP_SCORE(-2.39)[ip: (-6.38), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Dec 2019 23:58:44 -0000 In message <6f60d4b5-8abe-573c-7140-9b449f3dd581@selasky.org>, Hans Petter Sela sky writes: > On 2019-12-19 20:12, Cy Schubert wrote: > > In message , Hans Petter > > Sela > > sky writes: > >> On 2019-12-19 19:40, Cy Schubert wrote: > >>> In message , Hans Pette > r > >>> Sela > >>> sky writes: > >>>> On 2019-12-19 17:50, Cy Schubert wrote: > >>>>> Has anyone else had these since Dec 9? > >>>>> > >>>>> <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc-> > >>>>> lock)) > >>>>> panic: page fault > >>>>> cpuid = 1 > >>>>> time = 1576772837 > >>>>> KDB: stack backtrace: > >>>>> db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame > >>>>> 0xfffffe007c98b930 > >>>>> vpanic() at vpanic+0x17e/frame 0xfffffe007c98b990 > >>>>> panic() at panic+0x43/frame 0xfffffe007c98b9f0 > >>>>> trap_fatal() at trap_fatal+0x386/frame 0xfffffe007c98ba50 > >>>>> trap_pfault() at trap_pfault+0x4f/frame 0xfffffe007c98bac0 > >>>>> trap() at trap+0x41b/frame 0xfffffe007c98bbf0 > >>>>> calltrap() at calltrap+0x8/frame 0xfffffe007c98bbf0 > >>>>> --- trap 0xc, rip = 0x242c52, rsp = 0x7fffffffbe70, rbp = 0x7fffffffbe9 > 0 > >> -- > >>>> - > >>>>> Uptime: 59m7s > >>>>> > >>>>> It is triggered through random keystrokes or mouse movements. > >>>> > >>>> Looks like a double fault. > >>>> > >>>> Did you recompile drm-current-kmod with the latest kernel sources? > >>> > >>> Yes. > >>> > >>> > >> > >> Are you able to get a full backtrace? > > > > (kgdb) #0 __curthread () at /opt/src/svn-current/sys/amd64/include/pcpu_au > x > > .h:5 > > 5 > > #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:3 > 9 > > 2 > > #2 0xffffffff80690a2a in kern_reboot (howto=260) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:479 > > #3 0xffffffff80690ec6 in vpanic (fmt=, ap=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:908 > > #4 0xffffffff80690ce3 in panic (fmt=) > > at /opt/src/svn-current/sys/kern/kern_shutdown.c:835 > > #5 0xffffffff80a31c06 in trap_fatal (frame=0xfffffe007c98bc00, eva=2928416 > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:926 > > #6 0xffffffff80a31c5f in trap_pfault (frame=0xfffffe007c98bc00, > > usermode=, signo=, ucode= > ) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:743 > > #7 0xffffffff80a3144b in trap (frame=0xfffffe007c98bc00) > > at /opt/src/svn-current/sys/amd64/amd64/trap.c:347 > > #8 > > #9 0x0000000000242c52 in ?? () > > Backtrace stopped: Cannot access memory at address 0x7fffffffbe70 > > (kgdb) > > > > I also tried drm-legacy-kmod this morning before heading off to work. It > > wouldn't panic but a hard hang. At least drm-current-kmod panics. I suspect > > some of > > > > It's interesting to note that though the first occurrence of this panic > > occurred on Dec 9, it is more frequent now. > > > > -rw------- 1 root wheel 476 Dec 9 18:53 /var/crash/info.0 > > -rw------- 1 root wheel 517 Dec 16 12:28 /var/crash/info.1 > > -rw------- 1 root wheel 473 Dec 18 10:26 /var/crash/info.2 > > -rw------- 1 root wheel 476 Dec 18 12:35 /var/crash/info.3 > > -rw------- 1 root wheel 476 Dec 19 08:31 /var/crash/info.4 > > > > My workload hasn't changed. Random mouse clicks or key presses trigger it. > > > > > > Can you try to get the very latest FreeBSD SVN (r355915) > > First rebuild the kernel and then rebuild the module. Also make sure you > do "porsnap fetch update" to get the latest drm-current-kmod port. The new kernel has been built and installed. Let's give it a couple of days before considering it fixed. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.