From owner-freebsd-current@freebsd.org Mon Feb 15 18:08:20 2021 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 05FE0534AA6 for ; Mon, 15 Feb 2021 18:08:20 +0000 (UTC) (envelope-from o.hushchenkov@gmail.com) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4DfXCR5gkfz4s4t for ; Mon, 15 Feb 2021 18:08:19 +0000 (UTC) (envelope-from o.hushchenkov@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id C0FE85349B1; Mon, 15 Feb 2021 18:08:19 +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 C0BE8534AA5 for ; Mon, 15 Feb 2021 18:08:19 +0000 (UTC) (envelope-from o.hushchenkov@gmail.com) Received: from mail-io1-xd2f.google.com (mail-io1-xd2f.google.com [IPv6:2607:f8b0:4864:20::d2f]) (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 4DfXCQ5NXdz4sB4 for ; Mon, 15 Feb 2021 18:08:18 +0000 (UTC) (envelope-from o.hushchenkov@gmail.com) Received: by mail-io1-xd2f.google.com with SMTP id a22so5753173iot.1 for ; Mon, 15 Feb 2021 10:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xUm8KmGkpWAnOtLvx5Xz2elpgOoKj08ou/KSf5mMlFM=; b=UaqiE4fWrRjm2NTDTC2fcu7atwd+EJ+9EIFF099jE19xA7wB4aVdtbgaupMi3m6wTw lB4KgILOgRqIys3KC6a4Y364g8IYfobYZLx9VfwTv+yq1nGfNscjjUEnuQUfMI87Yu6G m6SOEDmxz/jnJl8k3PhgttdP8wPiLgAE6tztFqu6G/25ciBDACvOItzNbY/JPPtihxE0 UklQ5bBbqro1QUtQg/xWtKhVCeFcg86ExCznNMDQKq5NGFjhMpZaYGS398T8/Lc5sNKu qE60GkMq889tX9wYoGv5w/ofFp2X8Disan1/kA3C+MkWOV06Cg3hPJkE1GuCBwKWeK0I cSKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=xUm8KmGkpWAnOtLvx5Xz2elpgOoKj08ou/KSf5mMlFM=; b=GaWgXCFPdMuMDgI/Hmq6xqfkAfgPAWHZfAnFiCrh66Eb2W88bqO7x+u/a+J1s7zOZt W7Q2qRRknO/p59DY+iauRrB0bsEPclo0yZ/19AlGrs8cEmJdwT00WqoehnrhV0Lxuxk4 vLswY25YotbObUbn+5Hie/3a7Nt97vuh3WnyZf5pc8CKKBsoIJN8gpn1a0bBAdHh/wVt EfzJwNI886FDIUUEN2+mQ5XYVV8yxT5heNG+zaVm7vfTqxuDlol6s/RQoi47aRrWSCbI b1626if1YR244w3EUWs96vXABFaCmdQcV82+guMay113pTwkBLvs6TCDfuptmsJe7Sg/ Et0A== X-Gm-Message-State: AOAM532DAbU2byBxu+Mups1CGN0xXq7pQPAfleCyZml6vvrNFEUVGzAq /sgs55kXOiFNmsTH1oKtahK2pPDpNTPJRIbjJ66nfN4a3qg= X-Google-Smtp-Source: ABdhPJyRZqTA7mlykT4c/W7JVu5hRML2Xs5FWKV1epNgILPibx5N3OdhFAyF4YJesNMLBrcnImn4y5hNAlG6gvjyjb8= X-Received: by 2002:a5d:9250:: with SMTP id e16mr14038077iol.27.1613412497175; Mon, 15 Feb 2021 10:08:17 -0800 (PST) MIME-Version: 1.0 From: Oleh Hushchenkov Date: Mon, 15 Feb 2021 20:08:05 +0200 Message-ID: Subject: DRM related panic 13-STABLE To: current@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4DfXCQ5NXdz4sB4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20161025 header.b=UaqiE4fW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (mx1.freebsd.org: domain of ohushchenkov@gmail.com designates 2607:f8b0:4864:20::d2f as permitted sender) smtp.mailfrom=ohushchenkov@gmail.com X-Spamd-Result: default: False [-2.00 / 15.00]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; FREEMAIL_FROM(0.00)[gmail.com]; TO_DN_NONE(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RBL_DBL_DONT_QUERY_IPS(0.00)[2607:f8b0:4864:20::d2f:from]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TAGGED_FROM(0.00)[]; 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)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2607:f8b0:4864:20::d2f:from:127.0.2.255]; NEURAL_SPAM_SHORT(1.00)[1.000]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::d2f:from]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[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: Mon, 15 Feb 2021 18:08:20 -0000 This is a third panic after the update to 13-STABLE and corresponding drm-fbsd13-kmod-5.4.92.g20210202 port. My hardware is ThinkPad T440p with Intel Haswell iGPU. It happens once in a week or two. Unread portion of the kernel message buffer: <4>WARN_ON(atomic_read(&new->bits) & frontbuffer_bits)WARN_ON(!(atomic_read(&old->bits) & frontbuffer_bits)) Fatal trap 9: general protection fault while in kernel mode cpuid = 3; apic id = 03 instruction pointer = 0x20:0xffffffff8376bb7d stack pointer = 0x28:0xfffffe01116b9750 frame pointer = 0x28:0xfffffe01116b9760 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 1224 (MainThread) trap number = 9 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385a3c3 at drm_atomic_helper_check_modeset+0xb3 #2 0xffffffff8374ebcd at intel_atomic_check+0x8d #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385a3c3 at drm_atomic_helper_check_modeset+0xb3 #2 0xffffffff8374ebcd at intel_atomic_check+0x8d #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:621 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385a3c3 at drm_atomic_helper_check_modeset+0xb3 #2 0xffffffff8374ebcd at intel_atomic_check+0x8d #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:666 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385a553 at drm_atomic_helper_check_modeset+0x243 #2 0xffffffff8374ebcd at intel_atomic_check+0x8d #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_atomic_helper.c:871 #0 0xffffffff80e3e243 at linux_dump_stack+0x23 #1 0xffffffff8385b620 at drm_atomic_helper_check_planes+0xb0 #2 0xffffffff8374fd8a at intel_atomic_check+0x124a #3 0xffffffff83859360 at drm_atomic_check_only+0x400 #4 0xffffffff83859793 at drm_atomic_commit+0x13 #5 0xffffffff838668f8 at drm_client_modeset_commit_atomic+0x148 #6 0xffffffff83866621 at drm_client_modeset_commit_force+0x71 #7 0xffffffff838a9757 at drm_fb_helper_restore_fbdev_mode_unlocked+0x77 #8 0xffffffff838a3551 at vt_kms_postswitch+0x191 #9 0xffffffff80a6508b at vt_window_switch+0x12b #10 0xffffffff80a6219f at vtterm_cngrab+0x4f #11 0xffffffff80ba3be6 at cngrab+0x16 #12 0xffffffff80c091cc at vpanic+0xec #13 0xffffffff80c090d3 at panic+0x43 #14 0xffffffff810891a7 at trap_fatal+0x387 #15 0xffffffff8108866e at trap+0x8e #16 0xffffffff8105fd28 at calltrap+0x8 #17 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a <4>WARN_ON(!mutex_is_locked(&dev->struct_mutex)) <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) panic: general protection fault cpuid = 3 time = 1613408682 KDB: stack backtrace: #0 0xffffffff80c56695 at kdb_backtrace+0x65 #1 0xffffffff80c09261 at vpanic+0x181 #2 0xffffffff80c090d3 at panic+0x43 #3 0xffffffff810891a7 at trap_fatal+0x387 #4 0xffffffff8108866e at trap+0x8e #5 0xffffffff8105fd28 at calltrap+0x8 #6 0xffffffff8374be6a at intel_user_framebuffer_destroy+0x1a #7 0xffffffff83885461 at drm_mode_rmfb+0x211 #8 0xffffffff83888fcf at drm_ioctl_kernel+0x6f #9 0xffffffff83889378 at drm_ioctl+0x2c8 #10 0xffffffff80e3ba93 at linux_file_ioctl+0x2e3 #11 0xffffffff80c7603d at kern_ioctl+0x26d #12 0xffffffff80c75d36 at sys_ioctl+0xf6 #13 0xffffffff81089aac at amd64_syscall+0x10c #14 0xffffffff8106064e at fast_syscall_common+0xf8 Uptime: 1h9m53s Dumping 1454 out of 16241 MB:..2%..12%..21%..31%..41%..51%..61%..71%..81%..91% __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 55 __asm("movq %%gs:%P1,%0" : "=r" (td) : "n" (offsetof(struct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:55 #1 doadump (textdump=) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xffffffff80c08e56 in kern_reboot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:486 #3 0xffffffff80c092d0 in vpanic (fmt=, ap=) at /usr/src/sys/kern/kern_shutdown.c:919 #4 0xffffffff80c090d3 in panic (fmt=) at /usr/src/sys/kern/kern_shutdown.c:843 #5 0xffffffff810891a7 in trap_fatal (frame=0xfffffe01116b9690, eva=0) at /usr/src/sys/amd64/amd64/trap.c:915 #6 0xffffffff8108866e in trap (frame=0xfffffe01116b9690) at /usr/src/sys/amd64/amd64/trap.c:212 #7 #8 0xffffffff8376bb7d in intel_frontbuffer_put (front=0xfffff80190dba900) at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/i915/display/intel_frontbuffer.c:273 #9 0xffffffff8374be6a in intel_user_framebuffer_destroy ( fb=0xfffff80138126900) at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/i915/display/intel_display.c:15574 #10 0xffffffff83885461 in drm_framebuffer_put (fb=) at /usr/local/sys/modules/drm-fbsd13-kmod/include/drm/drm_framebuffer.h:248 #11 drm_mode_rmfb (dev=, fb_id=, file_priv=) at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_framebuffer.c:479 #12 0xffffffff83888fcf in drm_ioctl_kernel ( linux_file=linux_file@entry=0xfffff8017e6f9180, func=func@entry=0xffffffff83885530 , kdata=kdata@entry=0xfffffe01116b9880, flags=0) at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_ioctl.c:806 #13 0xffffffff83889378 in drm_ioctl (filp=0xfffff8017e6f9180, cmd=, arg=) at /usr/local/sys/modules/drm-fbsd13-kmod/drivers/gpu/drm/drm_ioctl.c:913 #14 0xffffffff80e3ba93 in linux_file_ioctl_sub (fp=, filp=0xfffff8017e6f9180, fop=, cmd=, data=, td=) at /usr/src/sys/compat/linuxkpi/common/src/linux_compat.c:958 #15 linux_file_ioctl (fp=, cmd=, data=, cred=, td=0xfffffe0113956800) at /usr/src/sys/compat/linuxkpi/common/src/linux_compat.c:1578 #16 0xffffffff80c7603d in fo_ioctl (fp=0xfffff8000ab1b780, com=3221513391, data=0x1, active_cred=0x1, td=0xfffffe0113956800) at /usr/src/sys/sys/file.h:354 #17 kern_ioctl (td=0xfffff80028ae3600, fd=, com=com@entry=3221513391, data=0x1 , data@entry=0xfffffe01116b9a10 "`") at /usr/src/sys/kern/sys_generic.c:803 #18 0xffffffff80c75d36 in sys_ioctl (td=, uap=0xfffffe0113956be8) at /usr/src/sys/kern/sys_generic.c:711 #19 0xffffffff81089aac in syscallenter (td=0xfffffe0113956800) at /usr/src/sys/amd64/amd64/../../kern/subr_syscall.c:189 #20 amd64_syscall (td=0xfffffe0113956800, traced=0) at /usr/src/sys/amd64/amd64/trap.c:1156 #21 #22 0x0000000800a7386a in ?? () Backtrace stopped: Cannot access memory at address 0x7fffffffe558 (kgdb)