[DragonFlyBSD - Bug #3226] Xorg freezes in vm: thread stuck in "objtrm1"

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Mar 26 05:52:19 PDT 2020


Issue #3226 has been updated by peeter.


Kernel panic with  drm_linux_410_DRIVER_DATE_20161121_v1 + drm60. Unfortunately, no backtrace.

---
<118>Mar 26 10:46:58 mars kernel: WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))
<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))
<118>Mar 26 10:57:11 mars kernel: WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))<4>WARN_ON(i915_gem_object_has_pinned_pages(obj))
i915_gem_evict_something: 0000000000000000-0000000010000000
i915_gem_evict_something: ENOSPC 0,1
i915_gem_fault: CHUNKING PASS
i915_gem_evict_something: 0000000000000000-0000000010000000
i915_gem_evict_something: ENOSPC 0,1
i915_gem_fault: CHUNKING PASS

[. . . repeat 300 times]

i915_gem_evict_something: 0000000000000000-0000000010000000
i915_gem_evict_something: ENOSPC 0,1
i915_gem_fault: CHUNKING PASS
i915_gem_evict_something: 0000000000000000-0000000010000000
i915_gem_evict_something: ENOSPC 0,1
i915_gem_fault: CHUNKING PASS
panic: vm_page_insert: already inserted
cpuid = 7
Trace beginning at frame 0xfffff80073507568
vm_page_insert() at vm_page_insert+0x1f5 0xffffffff80992655 
vm_page_insert() at vm_page_insert+0x1f5 0xffffffff80992655 
i915_gem_fault() at i915_gem_fault+0x6e7 0xffffffff830dfee7 
vm_fault_object() at vm_fault_object+0x31d 0xffffffff8097f38d 
vm_fault() at vm_fault+0x306 0xffffffff80980316 
trap_pfault() at trap_pfault+0x206 0xffffffff80ba7fa6 
boot() called on cpu#7
Uptime: 55m48s
---

----------------------------------------
Bug #3226: Xorg freezes in vm: thread stuck in "objtrm1"
http://bugs.dragonflybsd.org/issues/3226#change-13870

* Author: peeter
* Status: New
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
----------------------------------------
Xorg freezes randomly, thread stuck in "objtrm1":

0   1064      1   1063   0 174   0 455496 258864 objtrm1  D5     ??    0:59.12      /usr/local/bin/X :0 -auth /home/

The machines otherwise functional, can ssh into it and start kgdb. Backtrace in kgdb shows this: 

---
(kgdb) thread 288
[Switching to thread 288 (pid 1064/1, Xorg)]
#0  0xffffffff8066bd17 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:807
807		lwkt_switch_return(td->td_switch(ntd));
(kgdb) back
#0  0xffffffff8066bd17 in lwkt_switch () at /usr/src/sys/kern/lwkt_thread.c:807
#1  0xffffffff806796b9 in tsleep (ident=ident at entry=0xfffff8057a331614, flags=flags at entry=1024, 
    wmesg=wmesg at entry=0xffffffff80c4ba77 "objtrm1", timo=1000) at /usr/src/sys/kern/kern_synch.c:711
#2  0xffffffff8066adc5 in _refcount_wait (countp=countp at entry=0xfffff8057a331614, 
    wstr=wstr at entry=0xffffffff80c4ba77 "objtrm1") at /usr/src/sys/kern/kern_refcount.c:81
#3  0xffffffff8098eaa3 in refcount_wait (wstr=0xffffffff80c4ba77 "objtrm1", countp=0xfffff8057a331614)
    at /usr/src/sys/sys/refcount.h:111
#4  vm_object_pip_wait (waitid=0xffffffff80c4ba77 "objtrm1", object=0xfffff8057a331580)
    at /usr/src/sys/vm/vm_object.h:299
#5  vm_object_terminate (object=0xfffff8057a331580) at /usr/src/sys/vm/vm_object.c:755
#6  0xffffffff8098eed5 in vm_object_deallocate (object=0xfffff8057a331580) at /usr/src/sys/vm/vm_object.c:632
#7  0xffffffff8098446f in vm_map_entry_dispose (entry=0xfffff80579cf5fa0, countp=0xfffff803960f98b4, 
    map=<optimized out>) at /usr/src/sys/vm/vm_map.c:1130
#8  0xffffffff80988333 in vm_map_entry_delete (countp=0xfffff803960f98b4, entry=0xfffff80579cf5fa0, 
    map=0xfffff801578f3880) at /usr/src/sys/vm/vm_map.c:3182
#9  vm_map_delete (map=0xfffff801578f3880, start=34760318976, end=34775064576, countp=0xfffff803960f98b4)
    at /usr/src/sys/vm/vm_map.c:3344
#10 0xffffffff80988baf in vm_map_remove (map=map at entry=0xfffff801578f3880, start=<optimized out>, 
    start at entry=34760318976, end=<optimized out>, end at entry=34775064576) at /usr/src/sys/vm/vm_map.c:3381
#11 0xffffffff8098b634 in sys_munmap (uap=<optimized out>) at /usr/src/sys/vm/vm_mmap.c:583
#12 0xffffffff80ba980b in syscall2 (frame=0xfffff803960f99f8) at /usr/src/sys/platform/pc64/x86_64/trap.c:1317
#13 0xffffffff80b839cd in ?? () at /usr/src/sys/platform/pc64/x86_64/exception.S:450
#14 0x0000000817e06000 in ?? ()
#15 0x0000000000e10000 in ?? ()
#16 0x0000000000000000 in ?? ()
(kgdb) 
---

I don't know where to look further.





-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account



More information about the Bugs mailing list