Leave that for the futur, we panic when we kill xorg (either on rockchip or allwinner) :
waiting for X server to shut down XIO: fatal IO error 0 (No error: 0) on X server ":0"
after 1049 requests (1049 known processed) with 0 events remaining.
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0"
xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0"
<7>[drm: 0xffff00000087f4ec] rk_vop_enable_vblank: Enabling VBLANK
scfb: ScfbCloseScreen 1
scfb: ScfbRestore 1
scfb: ScfbRestore done
scfb: ScfbCloseScreen done
WARNING !list_empty(&lock->head) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_modeset_lock.c:268
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:615
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:660
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:865
WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:865
<3>[drm: 0xffff000000835f24] *ERROR* [CRTC:33:crtc-0] hw_done timed out
<3>[drm: 0xffff000000835f50] *ERROR* [CRTC:33:crtc-0] flip_done timed out
<3>[drm: 0xffff000000835fd8] *ERROR* [CONNECTOR:35:HDMI-A-1] hw_done timed out
<3>[drm: 0xffff000000836004] *ERROR* [CONNECTOR:35:HDMI-A-1] flip_done timed out
<3>[drm: 0xffff000000836094] *ERROR* [PLANE:31:plane-0] hw_done timed out
<3>[drm: 0xffff0000008360c0] *ERROR* [PLANE:31:plane-0] flip_done timed out
<3>[drm: 0xffff000000836094] *ERROR* [PLANE:32:plane-1] hw_done timed out
<3>[drm: 0xffff0000008360c0] *ERROR* [PLANE:32:plane-1] flip_done timed out
panic: running but not TDS_RUNNING
cpuid = 5
time = 683
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x184
panic() at panic+0x44
sleepq_switch() at sleepq_switch+0x1f4
sleepq_timedwait() at sleepq_timedwait+0x44
drmkpi_add_to_sleepqueue() at drmkpi_add_to_sleepqueue+0x94
drmkpi_wait_event_common() at drmkpi_wait_event_common+0x158
drm_atomic_helper_wait_for_vblanks() at drm_atomic_helper_wait_for_vblanks+0x200
drm_atomic_helper_commit_tail_rpm() at drm_atomic_helper_commit_tail_rpm+0x50
drm_atomic_helper_commit() at drm_atomic_helper_commit+0x488
restore_fbdev_mode_atomic() at restore_fbdev_mode_atomic+0x1f0
drm_fb_helper_restore_fbdev_mode_unlocked() at drm_fb_helper_restore_fbdev_mode_unlocked+0x7c
vt_kms_postswitch() at vt_kms_postswitch+0x58
vt_window_switch() at vt_window_switch+0x140
vtterm_cngrab() at vtterm_cngrab+0x34
cngrab() at cngrab+0x28
vpanic() at vpanic+0xe4
panic() at panic+0x44
vm_page_free_prep() at vm_page_free_prep+0x44
vm_page_free_toq() at vm_page_free_toq+0x1c
drm_gem_cma_free_object() at drm_gem_cma_free_object+0xb4
drm_gem_object_put_unlocked() at drm_gem_object_put_unlocked+0x1f4
drm_gem_object_release_handle() at drm_gem_object_release_handle+0xf0
drm_gem_handle_delete() at drm_gem_handle_delete+0xa4
drm_ioctl_kernel() at drm_ioctl_kernel+0xd0
drm_ioctl() at drm_ioctl+0x17c
drm_fstub_ioctl() at drm_fstub_ioctl+0x70
kern_ioctl() at kern_ioctl+0x2ec
sys_ioctl() at sys_ioctl+0x144
do_el0_sync() at do_el0_sync+0x4a4
handle_el0_sync() at handle_el0_sync+0x90
--- exception, esr 0x56000000
KDB: enter: panic
[ thread pid 1030 tid 100212 ]
Stopped at kdb_enter+0x44: undefined f904411f
Leave that for the futur, we panic when we kill xorg (either on rockchip or allwinner) :
waiting for X server to shut down XIO: fatal IO error 0 (No error: 0) on X server ":0" after 1049 requests (1049 known processed) with 0 events remaining. xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0" xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0" xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0"
<7>[drm: 0xffff00000087f4ec] rk_vop_enable_vblank: Enabling VBLANK scfb: ScfbCloseScreen 1 scfb: ScfbRestore 1 scfb: ScfbRestore done scfb: ScfbCloseScreen done WARNING !list_empty(&lock->head) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_modeset_lock.c:268 WARNING !drm_modeset_is_locked(&crtc->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:615 WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:660 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:865 WARNING !drm_modeset_is_locked(&plane->mutex) failed at /usr/home/manu/Work/freebsd/src/sys/dev/drm/core/drm_atomic_helper.c:865 <3>[drm: 0xffff000000835f24] *ERROR* [CRTC:33:crtc-0] hw_done timed out <3>[drm: 0xffff000000835f50] *ERROR* [CRTC:33:crtc-0] flip_done timed out <3>[drm: 0xffff000000835fd8] *ERROR* [CONNECTOR:35:HDMI-A-1] hw_done timed out <3>[drm: 0xffff000000836004] *ERROR* [CONNECTOR:35:HDMI-A-1] flip_done timed out <3>[drm: 0xffff000000836094] *ERROR* [PLANE:31:plane-0] hw_done timed out <3>[drm: 0xffff0000008360c0] *ERROR* [PLANE:31:plane-0] flip_done timed out <3>[drm: 0xffff000000836094] *ERROR* [PLANE:32:plane-1] hw_done timed out <3>[drm: 0xffff0000008360c0] *ERROR* [PLANE:32:plane-1] flip_done timed out panic: running but not TDS_RUNNING cpuid = 5 time = 683 KDB: stack backtrace: db_trace_self() at db_trace_self db_trace_self_wrapper() at db_trace_self_wrapper+0x30 vpanic() at vpanic+0x184 panic() at panic+0x44 sleepq_switch() at sleepq_switch+0x1f4 sleepq_timedwait() at sleepq_timedwait+0x44 drmkpi_add_to_sleepqueue() at drmkpi_add_to_sleepqueue+0x94 drmkpi_wait_event_common() at drmkpi_wait_event_common+0x158 drm_atomic_helper_wait_for_vblanks() at drm_atomic_helper_wait_for_vblanks+0x200 drm_atomic_helper_commit_tail_rpm() at drm_atomic_helper_commit_tail_rpm+0x50 drm_atomic_helper_commit() at drm_atomic_helper_commit+0x488 restore_fbdev_mode_atomic() at restore_fbdev_mode_atomic+0x1f0 drm_fb_helper_restore_fbdev_mode_unlocked() at drm_fb_helper_restore_fbdev_mode_unlocked+0x7c vt_kms_postswitch() at vt_kms_postswitch+0x58 vt_window_switch() at vt_window_switch+0x140 vtterm_cngrab() at vtterm_cngrab+0x34 cngrab() at cngrab+0x28 vpanic() at vpanic+0xe4 panic() at panic+0x44 vm_page_free_prep() at vm_page_free_prep+0x44 vm_page_free_toq() at vm_page_free_toq+0x1c drm_gem_cma_free_object() at drm_gem_cma_free_object+0xb4 drm_gem_object_put_unlocked() at drm_gem_object_put_unlocked+0x1f4 drm_gem_object_release_handle() at drm_gem_object_release_handle+0xf0 drm_gem_handle_delete() at drm_gem_handle_delete+0xa4 drm_ioctl_kernel() at drm_ioctl_kernel+0xd0 drm_ioctl() at drm_ioctl+0x17c drm_fstub_ioctl() at drm_fstub_ioctl+0x70 kern_ioctl() at kern_ioctl+0x2ec sys_ioctl() at sys_ioctl+0x144 do_el0_sync() at do_el0_sync+0x4a4 handle_el0_sync() at handle_el0_sync+0x90 --- exception, esr 0x56000000 KDB: enter: panic [ thread pid 1030 tid 100212 ] Stopped at kdb_enter+0x44: undefined f904411f