NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: xsrc/58133: X server crashes; radeon 5450; modesetting
I had a bit more success when dtrace's output was redirected to a file.
Here is the output from the last ttm_bo_uvm_fault() and the mmap()
before it. Before that there were several ttm_bo_uvm_fault() but no
preceeding mmap().
At first sight I notice that the number of calls/returns traced inside
ttm_bo_uvm_fault() is much larger than the cases where it didn't SEGV
afterwards (an example is shown in my previous mail).
0 754 mmap:entry 2812 X -WR ----S 0 512 17
0 15167 ktr_syscall:entry
0 15168 ktr_syscall:return
0 26698 trace_enter:return
0 26017 sys_mmap:entry
0 9797 fd_getfile:entry
0 9798 fd_getfile:return
0 35449 drm_fop_mmap:entry
0 26783 ttm_bo_mmap_object:entry
0 8934 drm_vma_offset_lookup_locked:entry
0 23278 rb_tree_find_node_leq:entry
0 23279 rb_tree_find_node_leq:return
0 8935 drm_vma_offset_lookup_locked:return
0 8926 drm_vma_node_verify_access:entry
0 23274 rb_tree_find_node:entry
0 23275 rb_tree_find_node:return
0 8927 drm_vma_node_verify_access:return
0 26784 ttm_bo_mmap_object:return
0 35450 drm_fop_mmap:return
0 20609 pax_aslr_mmap:entry
0 20610 pax_aslr_mmap:return
0 52803 uvm_mmap.part.0:entry
0 27913 uvm_map:entry
0 27939 uvm_map_prepare:entry
0 27927 uvm_map_findspace:entry
0 27928 uvm_map_findspace:return
0 27940 uvm_map_prepare:return
0 27923 uvm_map_enter:entry
0 21171 pool_cache_get_paddr:entry
0 21172 pool_cache_get_paddr:return
0 52816 uvm_rb_insert:entry
0 23280 rb_tree_insert_node:entry
0 23281 rb_tree_insert_node:return
0 27924 uvm_map_enter:return
0 27914 uvm_map:return
0 52804 uvm_mmap.part.0:return
0 9822 fd_putvnode:entry
0 9823 fd_putvnode:return
0 26018 sys_mmap:return
0 26699 trace_exit:entry
0 755 mmap:return return: 7f7ff1180000
0 26805 ttm_bo_uvm_fault:entry ttm_bo_uvm_fault(ufi=ffffba886c0bbd60, vaddr=7f7ff1180000, pps=ffffba886c0bbe50, npages=1, centeridx=0, access_type=2, flags=42)
ufi->orig_map=ffff9db1cbcf1190, orig_rvaddr=7f7ff1180000, orig_size=1000, map=ffff9db1cbcf1190, mapv=5743, entry=ffff9db1d0ae5340, size=1000
*pps=0
0 15795 linux_dma_resv_trylock:entry
0 16082 linux_ww_mutex_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16083 linux_ww_mutex_trylock:return
0 15796 linux_dma_resv_trylock:return
0 22684 radeon_bo_fault_reserve_notify:entry
0 22680 radeon_bo_check_tiling:entry
0 22681 radeon_bo_check_tiling:return
0 26807 ttm_bo_validate:entry
0 26779 ttm_bo_mem_compat:entry
0 26780 ttm_bo_mem_compat:return
0 26781 ttm_bo_mem_space:entry
0 15791 linux_dma_resv_reserve_shared:entry
0 15792 linux_dma_resv_reserve_shared:return
0 50828 ttm_bo_mem_placement.constprop.0.isra.0:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 50808 ttm_bo_del_from_lru:entry
0 50809 ttm_bo_del_from_lru:return
0 50800 ttm_bo_add_mem_to_lru:entry
0 50801 ttm_bo_add_mem_to_lru:return
0 16992 mutex_vector_exit:entry
0 50829 ttm_bo_mem_placement.constprop.0.isra.0:return
0 50820 ttm_bo_man_get_node:entry
0 15045 kmem_intr_zalloc:entry
0 15042 kmem_intr_alloc:entry
0 21171 pool_cache_get_paddr:entry
0 21172 pool_cache_get_paddr:return
0 15043 kmem_intr_alloc:return
0 15046 kmem_intr_zalloc:return
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 8571 drm_mm_insert_node_in_range:entry
0 23278 rb_tree_find_node_leq:entry
0 23279 rb_tree_find_node_leq:return
0 47466 rm_hole:entry
0 23282 rb_tree_remove_node:entry
0 47105 rb_tree_removal_rebalance:entry
0 47106 rb_tree_removal_rebalance:return
0 47105 rb_tree_removal_rebalance:entry
0 47467 rm_hole:return
0 23280 rb_tree_insert_node:entry
0 23281 rb_tree_insert_node:return
0 23280 rb_tree_insert_node:entry
0 23281 rb_tree_insert_node:return
0 8572 drm_mm_insert_node_in_range:return
0 16992 mutex_vector_exit:entry
0 50821 ttm_bo_man_get_node:return
0 50802 ttm_bo_add_move_fence.constprop.0:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 15739 linux_dma_fence_get:entry
0 15740 linux_dma_fence_get:return
0 16992 mutex_vector_exit:entry
0 50803 ttm_bo_add_move_fence.constprop.0:return
0 26782 ttm_bo_mem_space:return
0 50817 ttm_bo_handle_move_mem:entry
0 26804 ttm_bo_unmap_virtual_locked:entry
0 22700 radeon_bo_move_notify:entry
0 22680 radeon_bo_check_tiling:entry
0 22681 radeon_bo_check_tiling:return
0 23173 radeon_vm_bo_invalidate:entry
0 23174 radeon_vm_bo_invalidate:return
0 46596 radeon_bo_move:entry
0 26809 ttm_bo_wait:entry
0 15797 linux_dma_resv_wait_timeout_rcu:entry
0 15798 linux_dma_resv_wait_timeout_rcu:return
0 15773 linux_dma_resv_add_excl_fence:entry
0 15774 linux_dma_resv_add_excl_fence:return
0 26810 ttm_bo_wait:return
0 46781 radeon_move_blit.constprop.0.isra.0:entry
0 9441 evergreen_copy_dma:entry
0 23058 radeon_ring_lock:entry
0 23047 radeon_ring_alloc:entry
0 23054 radeon_ring_free_size:entry
0 23055 radeon_ring_free_size:return
0 23048 radeon_ring_alloc:return
0 23059 radeon_ring_lock:return
0 23100 radeon_sync_resv:entry
0 23101 radeon_sync_resv:return
0 23102 radeon_sync_rings:entry
0 23103 radeon_sync_rings:return
0 22855 radeon_fence_emit:entry
0 15042 kmem_intr_alloc:entry
0 21171 pool_cache_get_paddr:entry
0 21172 pool_cache_get_paddr:return
0 15043 kmem_intr_alloc:return
0 15749 linux_dma_fence_init:entry
0 15750 linux_dma_fence_init:return
0 9449 evergreen_dma_fence_ring_emit:entry
0 9450 evergreen_dma_fence_ring_emit:return
0 15981 linux_queue_delayed_work:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 30419 acquire_work:entry
0 30420 acquire_work:return
0 16992 mutex_vector_exit:entry
0 15982 linux_queue_delayed_work:return
0 22856 radeon_fence_emit:return
0 23066 radeon_ring_unlock_commit:entry
0 23051 radeon_ring_commit:entry
0 23098 radeon_sync_free:entry
0 23090 radeon_semaphore_free:entry
0 23091 radeon_semaphore_free:return
0 23090 radeon_semaphore_free:entry
0 23091 radeon_semaphore_free:return
0 23090 radeon_semaphore_free:entry
0 23091 radeon_semaphore_free:return
0 23090 radeon_semaphore_free:entry
0 23091 radeon_semaphore_free:return
0 23099 radeon_sync_free:return
0 9442 evergreen_copy_dma:return
0 26785 ttm_bo_move_accel_cleanup:entry
0 15773 linux_dma_resv_add_excl_fence:entry
0 15739 linux_dma_fence_get:entry
0 15740 linux_dma_fence_get:return
0 15774 linux_dma_resv_add_excl_fence:return
0 15754 linux_dma_fence_put:return
0 15739 linux_dma_fence_get:entry
0 15740 linux_dma_fence_get:return
0 50833 ttm_buffer_object_transfer:entry
0 15042 kmem_intr_alloc:entry
0 21171 pool_cache_get_paddr:entry
0 21172 pool_cache_get_paddr:return
0 15043 kmem_intr_alloc:return
0 8922 drm_vma_node_init:entry
0 27966 uvm_obj_init:entry
0 24392 rw_obj_alloc:entry
0 21171 pool_cache_get_paddr:entry
0 21172 pool_cache_get_paddr:return
0 24393 rw_obj_alloc:return
0 27971 uvm_obj_setlock:entry
0 24394 rw_obj_free:entry
0 21176 pool_cache_put_paddr:entry
0 24395 rw_obj_free:return
0 27972 uvm_obj_setlock:return
0 15786 linux_dma_resv_init:entry
0 16070 linux_ww_mutex_init:entry
0 15787 linux_dma_resv_init:return
0 15795 linux_dma_resv_trylock:entry
0 16082 linux_ww_mutex_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16083 linux_ww_mutex_trylock:return
0 15796 linux_dma_resv_trylock:return
0 50834 ttm_buffer_object_transfer:return
0 15773 linux_dma_resv_add_excl_fence:entry
0 15739 linux_dma_fence_get:entry
0 15740 linux_dma_fence_get:return
0 15774 linux_dma_resv_add_excl_fence:return
0 16084 linux_ww_mutex_unlock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 26797 ttm_bo_put:entry
0 50830 ttm_bo_release:entry
0 27965 uvm_obj_destroy:entry
0 24394 rw_obj_free:entry
0 24395 rw_obj_free:return
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 15795 linux_dma_resv_trylock:entry
0 16082 linux_ww_mutex_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 16083 linux_ww_mutex_trylock:return
0 15796 linux_dma_resv_trylock:return
0 15793 linux_dma_resv_test_signaled_rcu:entry
0 15741 linux_dma_fence_get_rcu:entry
0 15742 linux_dma_fence_get_rcu:return
0 15751 linux_dma_fence_is_signaled:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 42401 linux_dma_fence_is_signaled_locked.part.0:entry
0 46701 radeon_fence_is_signaled:entry
0 15808 linux_down_read_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15809 linux_down_read_trylock:return
0 46690 radeon_fence_activity:entry
0 15981 linux_queue_delayed_work:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 30419 acquire_work:entry
0 30420 acquire_work:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15982 linux_queue_delayed_work:return
0 46691 radeon_fence_activity:return
0 16052 linux_up_read:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 46702 radeon_fence_is_signaled:return
0 42402 linux_dma_fence_is_signaled_locked.part.0:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15752 linux_dma_fence_is_signaled:return
0 15753 linux_dma_fence_put:entry
0 15754 linux_dma_fence_put:return
0 15794 linux_dma_resv_test_signaled_rcu:return
0 50808 ttm_bo_del_from_lru:entry
0 50809 ttm_bo_del_from_lru:return
0 50800 ttm_bo_add_mem_to_lru:entry
0 50801 ttm_bo_add_mem_to_lru:return
0 16084 linux_ww_mutex_unlock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 16992 mutex_vector_exit:entry
0 15981 linux_queue_delayed_work:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 30419 acquire_work:entry
0 30420 acquire_work:return
0 5534 callout_init:entry
0 5535 callout_init:return
0 5544 callout_setfunc:entry
0 5543 callout_schedule:entry
0 33662 callout_schedule_locked:entry
0 16992 mutex_vector_exit:entry
0 15982 linux_queue_delayed_work:return
0 50831 ttm_bo_release:return
0 26786 ttm_bo_move_accel_cleanup:return
0 15753 linux_dma_fence_put:entry
0 15754 linux_dma_fence_put:return
0 46782 radeon_move_blit.constprop.0.isra.0:return
0 46597 radeon_bo_move:return
0 50818 ttm_bo_handle_move_mem:return
0 26808 ttm_bo_validate:return
0 22685 radeon_bo_fault_reserve_notify:return
0 15751 linux_dma_fence_is_signaled:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 42401 linux_dma_fence_is_signaled_locked.part.0:entry
0 46701 radeon_fence_is_signaled:entry
0 15808 linux_down_read_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15809 linux_down_read_trylock:return
0 46690 radeon_fence_activity:entry
0 15981 linux_queue_delayed_work:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 30419 acquire_work:entry
0 30420 acquire_work:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15982 linux_queue_delayed_work:return
0 46691 radeon_fence_activity:return
0 16052 linux_up_read:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 46702 radeon_fence_is_signaled:return
0 42402 linux_dma_fence_is_signaled_locked.part.0:return
0 16992 mutex_vector_exit:entry
0 15752 linux_dma_fence_is_signaled:return
0 15763 linux_dma_fence_wait:entry
0 15767 linux_dma_fence_wait_timeout:entry
0 46695 radeon_fence_default_wait:entry
0 15723 linux_dma_fence_add_callback:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 35175 dma_fence_ensure_signal_enabled:entry
0 46697 radeon_fence_enable_signaling:entry
0 15808 linux_down_read_trylock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15809 linux_down_read_trylock:return
0 22992 radeon_irq_kms_sw_irq_get:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 9490 evergreen_irq_set:entry
0 2745 __drm_dbg:entry
0 2746 __drm_dbg:return
0 2745 __drm_dbg:entry
0 2746 __drm_dbg:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 22990 radeon_irq_kms_set_irq_n_enabled:entry
0 22991 radeon_irq_kms_set_irq_n_enabled:return
0 9491 evergreen_irq_set:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 46690 radeon_fence_activity:entry
0 15981 linux_queue_delayed_work:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 30419 acquire_work:entry
0 30420 acquire_work:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15982 linux_queue_delayed_work:return
0 46691 radeon_fence_activity:return
0 16052 linux_up_read:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 15739 linux_dma_fence_get:entry
0 15740 linux_dma_fence_get:return
0 29569 DMA_FENCE_TRACE:entry
0 29570 DMA_FENCE_TRACE:return
0 46698 radeon_fence_enable_signaling:return
0 35176 dma_fence_ensure_signal_enabled:return
0 16992 mutex_vector_exit:entry
0 15724 linux_dma_fence_add_callback:return
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 10585 getticks:entry
0 10586 getticks:return
0 7128 cv_timedwait_sig:entry
0 16257 lwp_unlock_to:entry
0 2924 _kernel_unlock:entry
0 2925 _kernel_unlock:return
0 25146 sleepq_enqueue:entry
0 10585 getticks:entry
0 10586 getticks:return
0 16992 mutex_vector_exit:entry
0 16993 mutex_vector_exit:return
0 25144 sleepq_block:entry
0 15143 ktr_csw:entry
0 15144 ktr_csw:return
0 5543 callout_schedule:entry
0 33662 callout_schedule_locked:entry
0 16542 mi_switch:entry
0 4938 binuptime:entry
0 50781 tsc_get_timecount:entry
0 50782 tsc_get_timecount:return
0 4939 binuptime:return
0 24490 sched_nextlwp:entry
0 10585 getticks:entry
0 10586 getticks:return
0 24491 sched_nextlwp:return
0 21046 pmap_deactivate:entry
0 21094 pmap_tlb_shootnow:entry
0 21095 pmap_tlb_shootnow:return
0 21047 pmap_deactivate:return
0 25614 svs_lwp_switch:return
0 16543 mi_switch:return
0 5530 callout_halt:entry
0 5531 callout_halt:return
0 24972 sigispending:entry
0 24973 sigispending:return
0 15143 ktr_csw:entry
0 15144 ktr_csw:return
0 25145 sleepq_block:return
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 7129 cv_timedwait_sig:return
0 10585 getticks:entry
0 10586 getticks:return
0 16992 mutex_vector_exit:entry
0 15755 linux_dma_fence_remove_callback:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 15756 linux_dma_fence_remove_callback:return
0 46696 radeon_fence_default_wait:return
0 15768 linux_dma_fence_wait_timeout:return
0 15764 linux_dma_fence_wait:return
0 28131 uvmfault_update_stats:entry
0 28132 uvmfault_update_stats:return
0 15753 linux_dma_fence_put:entry
0 15754 linux_dma_fence_put:return
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 26789 ttm_bo_move_to_lru_tail:entry
0 50808 ttm_bo_del_from_lru:entry
0 50809 ttm_bo_del_from_lru:return
0 50800 ttm_bo_add_mem_to_lru:entry
0 50801 ttm_bo_add_mem_to_lru:return
0 26790 ttm_bo_move_to_lru_tail:return
0 16992 mutex_vector_exit:entry
0 16084 linux_ww_mutex_unlock:entry
0 16990 mutex_vector_enter:entry
0 16991 mutex_vector_enter:return
0 16992 mutex_vector_exit:entry
0 26806 ttm_bo_uvm_fault:return
0 26806 ttm_bo_uvm_fault:return returns 134 or 14
0 26701 trapsignal:entry
0 158 none:signal-send signal-send
0 158 none:signal-send signal-send
0 158 none:signal-send signal-send
0 158 none:signal-send signal-send
Home |
Main Index |
Thread Index |
Old Index