Date: Fri, 19 Nov 2021 03:13:43 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 259670] graphics/drm-kmod: sporadic GPU hang with i915kms Message-ID: <bug-259670-7141-96atfKlIJG@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-259670-7141@https.bugs.freebsd.org/bugzilla/> References: <bug-259670-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259670 --- Comment #2 from Oleh Vinichenko <moonlapse81@gmail.com> --- for testing purposes i updated for latest HEAD of drm-kmod and ran for a day with sway, which after some time resulted in kernel crash. Here is the debugger information: Reading symbols from /usr/obj/usr/src/amd64.amd64/sys/CHAKLUNCHIK/kernel.full... Unread portion of the kernel message buffer: drmn0: GPU HANG: ecode 6:1:00000000, in sway [100963] Fatal trap 12: page fault while in kernel mode cpuid =3D 2; apic id =3D 02 fault virtual address =3D 0x61 fault code =3D supervisor read data, page not present instruction pointer =3D 0x20:0xffffffff80999d27 stack pointer =3D 0x28:0xfffffe001b159b80 frame pointer =3D 0x28:0xfffffe001b159bc0 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_3) trap number =3D 12 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:661 <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock= ))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) panic: page fault cpuid =3D 2 time =3D 1637288382 KDB: stack backtrace: #0 0xffffffff80773ebb at kdb_backtrace+0x6b #1 0xffffffff80726fb7 at vpanic+0x187 #2 0xffffffff80726e23 at panic+0x43 #3 0xffffffff80a43fd7 at trap_fatal+0x387 #4 0xffffffff80a4402f at trap_pfault+0x4f #5 0xffffffff80a437a0 at trap+0x4a0 #6 0xffffffff80a1c878 at calltrap+0x8 #7 0xffffffff80999e1d at kmem_free+0x2d #8 0xffffffff81d6633c at __i915_gpu_coredump_free+0xfc #9 0xffffffff81d3d4e9 at intel_gt_handle_error+0xa9 #10 0xffffffff81d2bef0 at heartbeat+0x110 #11 0xffffffff808f19fd at linux_work_fn+0xed #12 0xffffffff807889d7 at taskqueue_run_locked+0x197 #13 0xffffffff80789d03 at taskqueue_thread_loop+0xc3 #14 0xffffffff806e48ae at fork_exit+0x8e #15 0xffffffff80a1d8ee at fork_trampoline+0xe WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:661 <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock= ))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) Uptime: 15h52m16s WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:616 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /var/src/drm-kmod/drivers/gpu/drm/drm_atomic_helper.c:661 <4>WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock= ))WARN_ON(!mutex_is_locked(&fbc->lock))WARN_ON(!mutex_is_locked(&fbc->lock)) Dumping 1930 out of 16242 MB:..1% (CTRL-C to abort) ..11%..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" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, --=20 You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259670-7141-96atfKlIJG>