From owner-freebsd-current@freebsd.org Thu Dec 19 19:13:25 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 114641E8AA8 for ; Thu, 19 Dec 2019 19:13:25 +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 47f1kD49sXz426W for ; Thu, 19 Dec 2019 19:13:24 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: by mailman.nyi.freebsd.org (Postfix) id 8DB5C1E8AA7; Thu, 19 Dec 2019 19:13:24 +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 8D79B1E8AA6 for ; Thu, 19 Dec 2019 19:13:24 +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 47f1kC3Mctz426V for ; Thu, 19 Dec 2019 19:13:23 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id i1EbifZ8dnCigi1EdirsBa; Thu, 19 Dec 2019 12:13:21 -0700 X-Authority-Analysis: v=2.3 cv=cZisUULM 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=GBBzHr4k3opATL3G0y4A: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 744A9451; Thu, 19 Dec 2019 11:13:17 -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 xBJJCwdn071307; Thu, 19 Dec 2019 11:12:58 -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 xBJJCwNh071304; Thu, 19 Dec 2019 11:12:58 -0800 (PST) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201912191912.xBJJCwNh071304@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: References: <201912191650.xBJGotp2003261@slippy.cwsent.com> <201912191840.xBJIeqQX071052@slippy.cwsent.com> Comments: In-reply-to Hans Petter Selasky message dated "Thu, 19 Dec 2019 19:42:56 +0100." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 19 Dec 2019 11:12:58 -0800 X-CMAE-Envelope: MS4wfPkdaqIEp6sifo/vMLu3BDn+0p77uUtIno+PKxV0IaIqWVcsTqs+xQoTjoPUF5s9JRlI6N9IbcWExodZIw+HEf07ISI5hXDDnpurJBqQIR+5Kv5PjP71 nWTkmVHSG7lgNeSHDmGVbKzhgayZ/nj6o1XqYe1vipNKNOxIS2sAOuQQNRdAjvltKbHT58qiggZV4l0FM7XZhvkfnnwGsz7xcAs= X-Rspamd-Queue-Id: 47f1kC3Mctz426V 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.10 / 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]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; 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)[]; RCVD_IN_DNSWL_LOW(-0.10)[12.134.59.64.list.dnswl.org : 127.0.5.1]; 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.40)[ip: (-6.40), ipnet: 64.59.128.0/20(-3.09), asn: 6327(-2.40), country: CA(-0.09)]; FROM_EQ_ENVFROM(0.00)[] 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 19:13:25 -0000 In message , Hans Petter Sela sky writes: > On 2019-12-19 19:40, Cy Schubert wrote: > > In message , Hans Petter > > 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 = 0x7fffffffbe90 > -- > >> - > >>> 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_aux .h:5 5 #1 doadump (textdump=1) at /opt/src/svn-current/sys/kern/kern_shutdown.c:39 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. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.