From owner-freebsd-current@freebsd.org Thu Dec 3 10:43:22 2020 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 7AC314A27D2 for ; Thu, 3 Dec 2020 10:43:22 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (enterprise.ximalas.info [IPv6:2001:700:1100:1::8]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "ximalas.info", Issuer "Hostmaster ximalas.info" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Cmsr92gWmz3NHj for ; Thu, 3 Dec 2020 10:43:21 +0000 (UTC) (envelope-from trond.endrestol@ximalas.info) Received: from enterprise.ximalas.info (Ximalas@localhost [127.0.0.1]) by enterprise.ximalas.info (8.16.1/8.16.1) with ESMTPS id 0B3Ah78t032112 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO) for ; Thu, 3 Dec 2020 11:43:08 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) Received: from localhost (trond@localhost) by enterprise.ximalas.info (8.16.1/8.16.1/Submit) with ESMTP id 0B3Ah7Uw032101 for ; Thu, 3 Dec 2020 11:43:07 +0100 (CET) (envelope-from trond.endrestol@ximalas.info) X-Authentication-Warning: enterprise.ximalas.info: trond owned process doing -bs Date: Thu, 3 Dec 2020 11:43:07 +0100 (CET) From: =?UTF-8?Q?Trond_Endrest=C3=B8l?= To: freebsd-current@freebsd.org Subject: page fault due to close(2), possibly drm and i915kms related Message-ID: <8b62fa1c-8d22-b0c5-239d-56f0bcad081@ximalas.info> OpenPGP: url=http://ximalas.info/about/tronds-openpgp-public-key MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on enterprise.ximalas.info X-Rspamd-Queue-Id: 4Cmsr92gWmz3NHj X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.80 / 15.00]; MID_RHS_MATCH_FROM(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2001:700:1100:1::8:from]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+a]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; HAS_XAW(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2001:700:1100:1::8:from:127.0.2.255]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; DMARC_POLICY_ALLOW(-0.50)[ximalas.info,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:224, ipnet:2001:700::/32, country:NO]; RCVD_TLS_LAST(0.00)[]; MAILMAN_DEST(0.00)[freebsd-current] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.34 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, 03 Dec 2020 10:43:22 -0000 Fam, After close(2) got fixed in r368006 last week, my laptop at home has been acting up. It currently runs: FreeBSD E590T.ufp 13.0-CURRENT FreeBSD 13.0-CURRENT #870 r368192: Mon Nov 30 20:29:15 CET 2020 root@E590T.ufp:/usr/obj/usr/src/amd64.amd64/sys/E590T amd64 1300130 1300130 a5c28607a47e84c68f4c8063d23189c475e61ac8 The DRM and KMS drivers (i915kms) are compiled from the source code of graphics/drm-kmod and are automatically installed along with the kernel. >From time to time whenever I'm logged in using X.org, I sometimes get crashes like this one: Script started on Thu Dec 3 07:13:33 2020 Command: kkgdb /boot/kernel/kernel /var/crash/vmcore.2 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: [160176] [160176] [160176] Fatal trap 12: page fault while in kernel mode [160176] cpuid = 0; apic id = 00 [160176] fault virtual address = 0x440 [160176] fault code = supervisor read data, page not present [160176] instruction pointer = 0x20:0xffffffff808cbd2c [160176] stack pointer = 0x28:0xfffffe018500e700 [160176] frame pointer = 0x28:0xfffffe018500e780 [160176] code segment = base 0x0, limit 0xfffff, type 0x1b [160176] = DPL 0, pres 1, long 1, def32 0, gran 1 [160176] processor eflags = interrupt enabled, resume, IOPL = 0 [160176] current process = 3874 (wc) [160176] trap number = 12 [160176] WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fb3c3 at drm_atomic_helper_check_modeset+0xb3 [160176] #2 0xffffffff831dfd9d at intel_atomic_check+0x8d [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fb3c3 at drm_atomic_helper_check_modeset+0xb3 [160176] #2 0xffffffff831dfd9d at intel_atomic_check+0x8d [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fb3c3 at drm_atomic_helper_check_modeset+0xb3 [160176] #2 0xffffffff831dfd9d at intel_atomic_check+0x8d [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:666 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fb553 at drm_atomic_helper_check_modeset+0x243 [160176] #2 0xffffffff831dfd9d at intel_atomic_check+0x8d [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 [160176] WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-current-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 [160176] #0 0xffffffff82766583 at linux_dump_stack+0x23 [160176] #1 0xffffffff830fc620 at drm_atomic_helper_check_planes+0xb0 [160176] #2 0xffffffff831e0f11 at intel_atomic_check+0x1201 [160176] #3 0xffffffff830fa360 at drm_atomic_check_only+0x400 [160176] #4 0xffffffff830fa793 at drm_atomic_commit+0x13 [160176] #5 0xffffffff83107948 at drm_client_modeset_commit_atomic+0x148 [160176] #6 0xffffffff83107671 at drm_client_modeset_commit_force+0x71 [160176] #7 0xffffffff8314a7d7 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 [160176] #8 0xffffffff831445d1 at vt_kms_postswitch+0x191 [160176] #9 0xffffffff8076202b at vt_window_switch+0x12b [160176] #10 0xffffffff8075f12f at vtterm_cngrab+0x1f [160176] #11 0xffffffff80887c36 at cngrab+0x16 [160176] #12 0xffffffff808ee35c at vpanic+0xec [160176] #13 0xffffffff808ee263 at panic+0x43 [160176] #14 0xffffffff80cf7af7 at trap_fatal+0x387 [160176] #15 0xffffffff80cf7b4f at trap_pfault+0x4f [160176] #16 0xffffffff80cf71ad at trap+0x27d [160176] #17 0xffffffff80ccf3e8 at calltrap+0x8 <4>[160176] WARN_ON(!mutex_is_locked(&dev->struct_mutex)) [160176] <4>[160176] WARN_ON(!mutex_is_locked(&fbc->lock)) [160176] <4>[160176] WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) [160176] panic: page fault [160176] cpuid = 0 [160176] time = 1606962312 [160176] KDB: stack backtrace: [160176] db_trace_self_wrapper() at 0xffffffff805df8bb = db_trace_self_wrapper+0x2b/frame 0xfffffe018500e3b0 [160176] vpanic() at 0xffffffff808ee3f1 = vpanic+0x181/frame 0xfffffe018500e400 [160176] panic() at 0xffffffff808ee263 = panic+0x43/frame 0xfffffe018500e460 [160176] trap_fatal() at 0xffffffff80cf7af7 = trap_fatal+0x387/frame 0xfffffe018500e4c0 [160176] trap_pfault() at 0xffffffff80cf7b4f = trap_pfault+0x4f/frame 0xfffffe018500e520 [160176] trap() at 0xffffffff80cf71ad = trap+0x27d/frame 0xfffffe018500e630 [160176] calltrap() at 0xffffffff80ccf3e8 = calltrap+0x8/frame 0xfffffe018500e630 [160176] --- trap 0xc, rip = 0xffffffff808cbd2c, rsp = 0xfffffe018500e700, rbp = 0xfffffe018500e780 --- [160176] __mtx_lock_sleep() at 0xffffffff808cbd2c = __mtx_lock_sleep+0xfc/frame 0xfffffe018500e780 [160176] doselwakeup() at 0xffffffff8095fbee = doselwakeup+0xde/frame 0xfffffe018500e7c0 [160176] sowakeup() at 0xffffffff80988c7e = sowakeup+0x1e/frame 0xfffffe018500e7f0 [160176] soisdisconnected() at 0xffffffff8099235a = soisdisconnected+0x8a/frame 0xfffffe018500e810 [160176] unp_disconnect() at 0xffffffff8099a9fe = unp_disconnect+0x12e/frame 0xfffffe018500e850 [160176] uipc_disconnect() at 0xffffffff809982a2 = uipc_disconnect+0x42/frame 0xfffffe018500e870 [160176] soclose() at 0xffffffff8098cc96 = soclose+0x76/frame 0xfffffe018500e8d0 [160176] _fdrop() at 0xffffffff80891eb1 = _fdrop+0x11/frame 0xfffffe018500e8f0 [160176] closef() at 0xffffffff80895098 = closef+0x278/frame 0xfffffe018500e980 [160176] closefp() at 0xffffffff808921d9 = closefp+0x89/frame 0xfffffe018500e9c0 [160176] amd64_syscall() at 0xffffffff80cf8a45 = amd64_syscall+0x755/frame 0xfffffe018500eaf0 [160176] fast_syscall_common() at 0xffffffff80ccfd0e = fast_syscall_common+0xf8/frame 0xfffffe018500eaf0 [160176] --- syscall (6, FreeBSD ELF64, sys_close), rip = 0x8003b0d7a, rsp = 0x7fffffffe998, rbp = 0x7fffffffe9b0 --- [160176] Uptime: 1d20h29m36s [160176] Dumping 6415 out of 32449 MB:..1%..11%..21%..31%..41%..51%..61%..71%..81%..91% No symbol "zombproc" in current context. Reading symbols from /boot/kernel/dtraceall.ko...Reading symbols from /usr/lib/debug//boot/kernel/dtraceall.ko.debug...done. done. Loaded symbols for /boot/kernel/dtraceall.ko Reading symbols from /boot/kernel/profile.ko...Reading symbols from /usr/lib/debug//boot/kernel/profile.ko.debug...done. done. Loaded symbols for /boot/kernel/profile.ko Reading symbols from /boot/kernel/opensolaris.ko...Reading symbols from /usr/lib/debug//boot/kernel/opensolaris.ko.debug...done. done. Loaded symbols for /boot/kernel/opensolaris.ko Reading symbols from /boot/kernel/dtrace.ko...Reading symbols from /usr/lib/debug//boot/kernel/dtrace.ko.debug...done. done. Loaded symbols for /boot/kernel/dtrace.ko Reading symbols from /boot/kernel/systrace_freebsd32.ko...Reading symbols from /usr/lib/debug//boot/kernel/systrace_freebsd32.ko.debug...done. done. Loaded symbols for /boot/kernel/systrace_freebsd32.ko Reading symbols from /boot/kernel/systrace.ko...Reading symbols from /usr/lib/debug//boot/kernel/systrace.ko.debug...done. done. Loaded symbols for /boot/kernel/systrace.ko Reading symbols from /boot/kernel/sdt.ko...Reading symbols from /usr/lib/debug//boot/kernel/sdt.ko.debug...done. done. Loaded symbols for /boot/kernel/sdt.ko Reading symbols from /boot/kernel/fasttrap.ko...Reading symbols from /usr/lib/debug//boot/kernel/fasttrap.ko.debug...done. done. Loaded symbols for /boot/kernel/fasttrap.ko Reading symbols from /boot/kernel/fbt.ko...Reading symbols from /usr/lib/debug//boot/kernel/fbt.ko.debug...done. done. Loaded symbols for /boot/kernel/fbt.ko Reading symbols from /boot/kernel/dtnfscl.ko...Reading symbols from /usr/lib/debug//boot/kernel/dtnfscl.ko.debug...done. done. Loaded symbols for /boot/kernel/dtnfscl.ko Reading symbols from /boot/kernel/dtmalloc.ko...Reading symbols from /usr/lib/debug//boot/kernel/dtmalloc.ko.debug...done. done. Loaded symbols for /boot/kernel/dtmalloc.ko Reading symbols from /boot/modules/sysctlinfo.ko...done. Loaded symbols for /boot/modules/sysctlinfo.ko Reading symbols from /boot/kernel/cc_htcp.ko...Reading symbols from /usr/lib/debug//boot/kernel/cc_htcp.ko.debug...done. done. Loaded symbols for /boot/kernel/cc_htcp.ko Reading symbols from /boot/kernel/lindebugfs.ko...Reading symbols from /usr/lib/debug//boot/kernel/lindebugfs.ko.debug...done. done. Loaded symbols for /boot/kernel/lindebugfs.ko Reading symbols from /boot/kernel/linuxkpi.ko...Reading symbols from /usr/lib/debug//boot/kernel/linuxkpi.ko.debug...done. done. Loaded symbols for /boot/kernel/linuxkpi.ko Reading symbols from /boot/kernel/pchtherm.ko...Reading symbols from /usr/lib/debug//boot/kernel/pchtherm.ko.debug...done. done. Loaded symbols for /boot/kernel/pchtherm.ko Reading symbols from /boot/kernel/drm.ko...Reading symbols from /usr/lib/debug//boot/kernel/drm.ko.debug...done. done. Loaded symbols for /boot/kernel/drm.ko Reading symbols from /boot/kernel/linuxkpi_gplv2.ko...Reading symbols from /usr/lib/debug//boot/kernel/linuxkpi_gplv2.ko.debug...done. done. Loaded symbols for /boot/kernel/linuxkpi_gplv2.ko Reading symbols from /boot/kernel/i915kms.ko...Reading symbols from /usr/lib/debug//boot/kernel/i915kms.ko.debug...done. done. Loaded symbols for /boot/kernel/i915kms.ko Reading symbols from /boot/modules/i915_kbl_dmc_ver1_04_bin.ko...done. Loaded symbols for /boot/modules/i915_kbl_dmc_ver1_04_bin.ko Reading symbols from /boot/kernel/mac_ntpd.ko...Reading symbols from /usr/lib/debug//boot/kernel/mac_ntpd.ko.debug...done. done. Loaded symbols for /boot/kernel/mac_ntpd.ko #0 doadump (textdump=1) at src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) q Command exit status: 0 Script done on Thu Dec 3 07:13:48 2020 kkgdb is a shell script of mine that prepends /usr/libexec to PATH and exec's kgdb with the given command line. That shell script makes life in kgdb bearable. The minidump is available on request. Is this a known case? -- Trond.