From nobody Mon Oct 16 14:40:25 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S8KXT2vTFz4xRS1 for ; Mon, 16 Oct 2023 14:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S8KXT0fQBz4SqY for ; Mon, 16 Oct 2023 14:40:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697467225; a=rsa-sha256; cv=none; b=Etyf5FNE2xMwBunOzGPjAZVFeUxzMofwWimVYpeOCBE/zormYucwT7CdMYMgr/Q9djuBHk jh399+w+DRKIznRMvxKJlUmmlx5g82eSFj2dW+6dE5iE2PwiA4iIxcW4SIqhvzXPS85X8J wQjE5LEx9Jq4DTj/OUstj2lj8MCZZlXsl7zNZrXkdJbcT5jj1dFsGvbfhzmVdLVcmqPfsp XUCx7tEHkCyNSi66SZnBpvj29CipeDLW5/wf/4/q4bNEhUd64yUaYqR57WF7UspkunqZZr Uh6O9DY+f+UWmjkIZBWZ/XkXAFhZz6E3U9bXv5SFfW0BFsh3pHVXTHKSuWLKEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697467225; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Sy6OTvSk7z226jwUMsJyu26AF8R3dw3tqPjprVtw4OA=; b=O8fjDg+9zhgjgxbIV5WXic+x8/3ZIO+uG8jS1BZ/VYdMC3CbddsRwL8V5koJW37EiKCjjC oVpRH7Ug0zbjAxc/6Ood7jc9I74Xet1HcQsFp7h+ScRHCIP9B003tn28QZKsOgPbADZ5uX pcGub66qLHEoDd42LzSJp5flgLpEl2oFcVvpGDtde3Pm9nysbOSxRBW4ZhZTl2LzWFLVhQ 5Ay4VSI4TdtuBEI/u4pb8wfPrHe76BCU0gm8ncqYmSFkFJagtw+XRe8E6c8XefpF26n68D GGsyP6kOXHljPRwjXpq3OxYbHQJv+s9J0S+yLfRa0uReVQeS2IA0xTmVvij1vQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S8KXS6qwYzkg5 for ; Mon, 16 Oct 2023 14:40:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 39GEeO5B072867 for ; Mon, 16 Oct 2023 14:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 39GEeOH8072866 for bugs@FreeBSD.org; Mon, 16 Oct 2023 14:40:24 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274515] instapanic with i915 and Linux client under Wayland Date: Mon, 16 Oct 2023 14:40:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: trasz@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274515 Bug ID: 274515 Summary: instapanic with i915 and Linux client under Wayland Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: trasz@FreeBSD.org FreeBSD/amd64 panics when trying to run glxgears(1) from amd64 Ubuntu Focal when running under native Wayland and i915. It's fairy (9/10 tries) reproducible. This doesn't happen when I replace Wayland with traditional Xorg; it also doesn't happen with glxgears from ports. Backtrace looks like this: drmn0: [drm] Resetting rcs0 for CS error drmn0: [drm] Xwayland[101131] context reset due to GPU hang drmn0: [drm] GPU HANG: ecode 9:1:bcff835b, in Xwayland [101131] drmn0: [drm] Resetting rcs0 for CS error drmn0: [drm] Xwayland[101131] context reset due to GPU hang drmn0: [drm] GPU HANG: ecode 9:1:bd5699c3, in Xwayland [101131] Kernel page fault with the following non-sleepable locks held: exclusive rw kernel vm object (kernel vm object) r =3D 0 (0xffffffff81ad1c4= 8) locked @ /usr/home/trasz/git/freebsd-src/sys/vm/vm_kern.c:605 stack backtrace: #0 0xffffffff80bc29c5 at witness_debugger+0x65 #1 0xffffffff80bc3af9 at witness_warn+0x3e9 #2 0xffffffff8104ed48 at trap_pfault+0x88 #3 0xffffffff81021358 at calltrap+0x8 #4 0xffffffff80eeb9dd at kmem_free+0x2d #5 0xffffffff8376b05c at __i915_gpu_coredump_free+0xfc #6 0xffffffff83715d9b at execlists_capture_work+0xab #7 0xffffffff80df1e03 at linux_work_fn+0xe3 #8 0xffffffff80bb497b at taskqueue_run_locked+0xab #9 0xffffffff80bb5a33 at taskqueue_thread_loop+0xd3 #10 0xffffffff80b04f02 at fork_exit+0x82 #11 0xffffffff810223be at fork_trampoline+0xe Fatal trap 12: page fault while in kernel mode cpuid =3D 3; apic id =3D 03 fault virtual address =3D 0x61 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80eeb858 stack pointer =3D 0x28:0xfffffe00c612fcf0 frame pointer =3D 0x28:0xfffffe00c612fd20 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 0 (linuxkpi_short_wq_4) rdi: ffffffff81ad1ca0 rsi: 000fffffa00be3d2 rdx: 00000000fffffa00 rcx: ffffffffffffffd8 r8: 00000000ffffffff r9: 0000000000000000 rax: 0000000000000000 rbx: 0000000000001000 rbp: fffffe00c612fd20 r10: fffff8042e576c00 r11: 0000000000010000 r12: fffff80264e25a00 r13: fffffa00be3d2000 r14: 0000000000000000 r15: fffff80009501c00 trap number =3D 12 panic: page fault cpuid =3D 3 time =3D 1697302088 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00c612f= 9c0 vpanic() at vpanic+0x132/frame 0xfffffe00c612faf0 panic() at panic+0x43/frame 0xfffffe00c612fb50 trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00c612fbb0 trap_pfault() at trap_pfault+0xae/frame 0xfffffe00c612fc20 calltrap() at calltrap+0x8/frame 0xfffffe00c612fc20 --- trap 0xc, rip =3D 0xffffffff80eeb858, rsp =3D 0xfffffe00c612fcf0, rbp = =3D 0xfffffe00c612fd20 --- _kmem_unback() at _kmem_unback+0x78/frame 0xfffffe00c612fd20 kmem_free() at kmem_free+0x2d/frame 0xfffffe00c612fd40 __i915_gpu_coredump_free() at __i915_gpu_coredump_free+0xfc/frame 0xfffffe00c612fd80 execlists_capture_work() at execlists_capture_work+0xab/frame 0xfffffe00c612fdf0 linux_work_fn() at linux_work_fn+0xe3/frame 0xfffffe00c612fe40 taskqueue_run_locked() at taskqueue_run_locked+0xab/frame 0xfffffe00c612fec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe00c612f= ef0 fork_exit() at fork_exit+0x82/frame 0xfffffe00c612ff30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00c612ff30 --- trap 0xbe8d4339, rip =3D 0x8f1e1dc67eb85dfb, rsp =3D 0x64f5f62d9553b610= , rbp =3D 0x1ba64ffe8da156e --- --=20 You are receiving this mail because: You are the assignee for the bug.=