From owner-freebsd-current@freebsd.org Thu Dec 3 10:46:05 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 35E144A2BBB for ; Thu, 3 Dec 2020 10:46:05 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: from mail-wm1-x329.google.com (mail-wm1-x329.google.com [IPv6:2a00:1450:4864:20::329]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CmsvC4Jtgz3NbW for ; Thu, 3 Dec 2020 10:45:59 +0000 (UTC) (envelope-from mjguzik@gmail.com) Received: by mail-wm1-x329.google.com with SMTP id x22so2260475wmc.5 for ; Thu, 03 Dec 2020 02:45:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=gq+0LqTOq+Xbgm/Fjlqjw8siBHozcoq7XpSapuwBIWQ=; b=JtXRteDQTLBEsk7JvJvkM1diJaqDPx9U6wMgdtfWtvOdB830IwYizAwwn5jlw9W2Vx /qaFYQ9Fe/LT8UNbNs1+ILgt3TSFNF17UGqYdlYn0/AgNHuOYrVCTydj5DTcMRljeuIY oAEIIRu03lvFVBFn+GsoTXzH/ga2SOVLM6J8VP4LT2XAMSZhgkXKDwpsrtCPf0+4oKJ6 MueU+0RrAeO00KdbJdWsCV01rmKnifvM3IRj9dhftUBN4jcHHZ3vcAWW2bhowWkrnEbo 0RJ4YgqpHTuRoY92SzYOGdTaf9+XeELgx6odm5qDHUC3Gpkndk/4LOojoVyxNFnK/Wcx YD5A== X-Gm-Message-State: AOAM533AFb0Z6e+wdjxuF0bMqJzcX8iNwBUCSyjt6qtWfoCPyxlmZbkF 2Ash+AIPaPj9dQJppyLj0wH+U8xJKFO2ylT1wE9yDZBMQT0= X-Google-Smtp-Source: ABdhPJwXJ6pqokLpZLSbXqpqfD9GuZSralMBN+EMwgVlSLx7BfRzCQ7Jur/SJEccyy4WN4sIj7M/WACp7aYZgKNUSU0= X-Received: by 2002:a1c:2c4:: with SMTP id 187mr2636061wmc.187.1606992357354; Thu, 03 Dec 2020 02:45:57 -0800 (PST) MIME-Version: 1.0 Received: by 2002:a5d:4d47:0:0:0:0:0 with HTTP; Thu, 3 Dec 2020 02:45:56 -0800 (PST) In-Reply-To: <8b62fa1c-8d22-b0c5-239d-56f0bcad081@ximalas.info> References: <8b62fa1c-8d22-b0c5-239d-56f0bcad081@ximalas.info> From: Mateusz Guzik Date: Thu, 3 Dec 2020 11:45:56 +0100 Message-ID: Subject: Re: page fault due to close(2), possibly drm and i915kms related To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Cc: freebsd-current@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4CmsvC4Jtgz3NbW X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; TO_DN_SOME(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; R_SPF_ALLOW(-0.20)[+ip6:2a00:1450:4000::/36]; DKIM_TRACE(0.00)[gmail.com:+]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; NEURAL_HAM_SHORT(-1.00)[-1.000]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2a00:1450:4864:20::329:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20161025]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; SPAMHAUS_ZRD(0.00)[2a00:1450:4864:20::329:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; BLOCKLISTDE_FAIL(0.00)[2a00:1450:4864:20::329:query timed out]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::329:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(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:46:05 -0000 This should be fixed by r368271 On 12/3/20, Trond Endrest=C3=B8l wrote: > 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/E59= 0T > 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 detail= s. > 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 =3D 0; apic id =3D 00 > [160176] fault virtual address =3D 0x440 > [160176] fault code =3D supervisor read data, page not present > [160176] instruction pointer =3D 0x20:0xffffffff808cbd2c > [160176] stack pointer =3D 0x28:0xfffffe018500e700 > [160176] frame pointer =3D 0x28:0xfffffe018500e780 > [160176] code segment =3D base 0x0, limit 0xfffff, type 0x1b > [160176] =3D DPL 0, pres 1, long 1, def32 0, gran 1 > [160176] processor eflags =3D interrupt enabled, resume, IOPL =3D 0 > [160176] current process =3D 3874 (wc) > [160176] trap number =3D 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_mute= x) > 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 =3D 0 > [160176] time =3D 1606962312 > [160176] KDB: stack backtrace: > [160176] db_trace_self_wrapper() at 0xffffffff805df8bb =3D > db_trace_self_wrapper+0x2b/frame 0xfffffe018500e3b0 > [160176] vpanic() at 0xffffffff808ee3f1 =3D vpanic+0x181/frame > 0xfffffe018500e400 > [160176] panic() at 0xffffffff808ee263 =3D panic+0x43/frame > 0xfffffe018500e460 > [160176] trap_fatal() at 0xffffffff80cf7af7 =3D trap_fatal+0x387/frame > 0xfffffe018500e4c0 > [160176] trap_pfault() at 0xffffffff80cf7b4f =3D trap_pfault+0x4f/frame > 0xfffffe018500e520 > [160176] trap() at 0xffffffff80cf71ad =3D trap+0x27d/frame 0xfffffe018500= e630 > [160176] calltrap() at 0xffffffff80ccf3e8 =3D calltrap+0x8/frame > 0xfffffe018500e630 > [160176] --- trap 0xc, rip =3D 0xffffffff808cbd2c, rsp =3D 0xfffffe018500= e700, > rbp =3D 0xfffffe018500e780 --- > [160176] __mtx_lock_sleep() at 0xffffffff808cbd2c =3D > __mtx_lock_sleep+0xfc/frame 0xfffffe018500e780 > [160176] doselwakeup() at 0xffffffff8095fbee =3D doselwakeup+0xde/frame > 0xfffffe018500e7c0 > [160176] sowakeup() at 0xffffffff80988c7e =3D sowakeup+0x1e/frame > 0xfffffe018500e7f0 > [160176] soisdisconnected() at 0xffffffff8099235a =3D > soisdisconnected+0x8a/frame 0xfffffe018500e810 > [160176] unp_disconnect() at 0xffffffff8099a9fe =3D unp_disconnect+0x12e/= frame > 0xfffffe018500e850 > [160176] uipc_disconnect() at 0xffffffff809982a2 =3D > uipc_disconnect+0x42/frame 0xfffffe018500e870 > [160176] soclose() at 0xffffffff8098cc96 =3D soclose+0x76/frame > 0xfffffe018500e8d0 > [160176] _fdrop() at 0xffffffff80891eb1 =3D _fdrop+0x11/frame > 0xfffffe018500e8f0 > [160176] closef() at 0xffffffff80895098 =3D closef+0x278/frame > 0xfffffe018500e980 > [160176] closefp() at 0xffffffff808921d9 =3D closefp+0x89/frame > 0xfffffe018500e9c0 > [160176] amd64_syscall() at 0xffffffff80cf8a45 =3D amd64_syscall+0x755/fr= ame > 0xfffffe018500eaf0 > [160176] fast_syscall_common() at 0xffffffff80ccfd0e =3D > fast_syscall_common+0xf8/frame 0xfffffe018500eaf0 > [160176] --- syscall (6, FreeBSD ELF64, sys_close), rip =3D 0x8003b0d7a, = rsp =3D > 0x7fffffffe998, rbp =3D 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 fro= m > /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=3D1) at src/sys/amd64/include/pcpu_aux.h:55 > 55 __asm("movq %%gs:%P1,%0" : "=3Dr" (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. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > --=20 Mateusz Guzik