NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/50728: X DRM pineview hangs



I copy the output of the backtrace from the Xorg and ps processes.

# gdb /netbsd.DEBUG.old
...
Xorg backtrace:
(gdb) kvm proc 0xfffffe813b674b80
0xffffffff80616be6 in mi_switch (l=l@entry=0xfffffe813b674b80)
    at ../../../../kern/kern_synch.c:719
719            prevlwp = cpu_switchto(l, newl, returning);
(gdb) bt
#0  0xffffffff80616be6 in mi_switch (l=l@entry=0xfffffe813b674b80)
    at ../../../../kern/kern_synch.c:719
#1  0xffffffff80613c03 in sleepq_block (timo=timo@entry=0,
    catch=catch@entry=false) at ../../../../kern/kern_sleepq.c:264
#2  0xffffffff8061666e in mtsleep (ident=0xffffffff8119b650 <uvmexp+16>,
    priority=priority@entry=516,
    wmesg=wmesg@entry=0xffffffff80ddd29a "uao_getpage", timo=timo@entry=0,
    mtx=0xffffffff8119b610 <uvm_fpageqlock>)
    at ../../../../kern/kern_synch.c:210
#3  0xffffffff809cf012 in uvm_wait (
    wmsg=wmsg@entry=0xffffffff80ddd29a "uao_getpage")
    at ../../../../uvm/uvm_pdaemon.c:162
#4  0xffffffff809b7c5a in uao_get (uobj=0xfffffe8051274400,
    offset=<optimized out>, pps=<optimized out>, npagesp=<optimized out>,
    centeridx=0, access_type=<optimized out>, advice=2, flags=18)
    at ../../../../uvm/uvm_aobj.c:1013
#5  0xffffffff809ca396 in uvm_obj_wirepages (
    uobj=uobj@entry=0xfffffe8051274400, start=start@entry=0,
    end=end@entry=12713984, list=list@entry=0xfffffe80540679f0)
    at ../../../../uvm/uvm_object.c:142
#6  0xffffffff8039f181 in bus_dmamem_wire_uvm_object (start=0, alignment=4096,
    tag=<optimized out>, boundary=0, flags=1, rsegs=0xfffffe8054067a08,
    nsegs=3104, segs=0xffff80000b49b000, pages=0xfffffe80540679f0,
    size=12713984, uobj=0xfffffe8051274400)
    at ../../../../external/bsd/drm2/include/drm/bus_dma_hacks.h:81
#7  i915_gem_object_get_pages_gtt (obj=0xfffffe80540678c0)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_gem.c:2580
#8  0xffffffff803a024b in i915_gem_object_get_pages (obj=0xfffffe80540678c0)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_gem.c:2761
#9  0xffffffff803a3c1c in i915_gem_object_bind_to_vm (flags=5,
    alignment=<optimized out>, vm=0xffff800007410400, obj=0xfffffe80540678c0)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_gem.c:4012
#10 i915_gem_object_pin (obj=obj@entry=0xfffffe80540678c0,
    vm=0xffff800007410400, alignment=alignment@entry=0, flags=flags@entry=5)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_gem.c:4666
#11 0xffffffff803a644e in i915_gem_obj_ggtt_pin (flags=1, alignment=0,
    obj=0xfffffe80540678c0)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_drv.h:2555
#12 i915_gem_fault (ufi=0xfffffe8041499ce0, vaddr=140186832396288,
    pps=0xfffffe8041499d98, npages=1, centeridx=0,
    access_type=<optimized out>, flags=66)
    at ../../../../external/bsd/drm2/dist/drm/i915/i915_gem.c:1845
#13 0xffffffff809bc751 in uvm_fault_internal (
    orig_map=orig_map@entry=0xfffffe813e575e68,
    vaddr=vaddr@entry=140186832396288, access_type=access_type@entry=2,
    fault_flag=fault_flag@entry=0) at ../../../../uvm/uvm_fault.c:865
---Type <return> to continue, or q <return> to quit---
#14 0xffffffff80917ace in trap (frame=0xfffffe8041499f00)
    at ../../../../arch/amd64/amd64/trap.c:556
#15 0xffffffff80100fde in alltraps ()


Backtrace ps process:

(gdb) kvm proc 0xfffffe81175800c0
0xffffffff80616be6 in mi_switch (l=l@entry=0xfffffe81175800c0)
    at ../../../../kern/kern_synch.c:719
719            prevlwp = cpu_switchto(l, newl, returning);
(gdb) bt
#0  0xffffffff80616be6 in mi_switch (l=l@entry=0xfffffe81175800c0)
    at ../../../../kern/kern_synch.c:719
#1  0xffffffff80613c03 in sleepq_block (timo=timo@entry=0,
    catch=catch@entry=false) at ../../../../kern/kern_sleepq.c:264
#2  0xffffffff80621886 in turnstile_block (ts=<optimized out>, ts@entry=0x0,
    q=q@entry=1, obj=obj@entry=0xfffffe813e575e70,
    sobj=sobj@entry=0xffffffff810d3000 <rw_syncobj>)
    at ../../../../kern/kern_turnstile.c:430
#3  0xffffffff8060ecdb in rw_vector_enter (rw=0xfffffe813e575e70, op=RW_WRITER)
    at ../../../../kern/kern_rwlock.c:387
#4  0xffffffff809c24c9 in vm_map_lock (map=map@entry=0xfffffe813e575e68)
    at ../../../../uvm/uvm_map.c:627
#5  0xffffffff809c6e87 in uvm_map_extract (
    srcmap=srcmap@entry=0xfffffe813e575e68, start=start@entry=140187732537344,
    len=len@entry=4096, dstmap=0xffffffff8119cd00 <kernel_map_store>,
    dstaddrp=dstaddrp@entry=0xfffffe80480a4c58, flags=flags@entry=14)
    at ../../../../uvm/uvm_map.c:2601
#6  0xffffffff809be689 in uvm_io (map=0xfffffe813e575e68,
    uio=uio@entry=0xfffffe80480a4cb0) at ../../../../uvm/uvm_io.c:99
#7  0xffffffff808b44fa in copyin_vmspace (vm=<optimized out>,
    uaddr=<optimized out>, kaddr=<optimized out>, len=<optimized out>)
    at ../../../../kern/subr_copy.c:229
#8  0xffffffff808b474d in copyin_proc (p=<optimized out>,
    uaddr=0x7f7fffffffe0, kaddr=kaddr@entry=0xfffffe80480a4d78,
    len=len@entry=32) at ../../../../kern/subr_copy.c:280
#9  0xffffffff80604dd3 in copyin_psstrings (p=<optimized out>,
    arginfo=0xfffffe80480a4d78) at ../../../../kern/kern_proc.c:1862
#10 0xffffffff806053c1 in sysctl_kern_proc_args (name=<optimized out>,
    namelen=<optimized out>, oldp=0x7f7fffffd3c4, oldlenp=0xfffffe80480a4e48,
    newp=<optimized out>, newlen=<optimized out>, oname=0xfffffe80480a4e50,
    l=0xfffffe81175800c0, rnode=0xffff80000740bf60)
    at ../../../../kern/kern_proc.c:1959
#11 0xffffffff8061a543 in sysctl_dispatch (name=name@entry=0xfffffe80480a4e50,
    namelen=4, oldp=0x7f7fffffd3c4, oldlenp=oldlenp@entry=0xfffffe80480a4e48,
    newp=0x0, newlen=0, oname=oname@entry=0xfffffe80480a4e50,
    l=l@entry=0xfffffe81175800c0, rnode=0xffff80000740bf60, rnode@entry=0x0)
    at ../../../../kern/kern_sysctl.c:451
#12 0xffffffff8061a786 in sys___sysctl (l=0xfffffe81175800c0,
    uap=0xfffffe80480a4f00, retval=<optimized out>)
    at ../../../../kern/kern_sysctl.c:307
#13 0xffffffff808e68fa in sy_call (rval=0xfffffe80480a4eb8,
    uap=0xfffffe80480a4f00, l=0xfffffe81175800c0,
    sy=0xffffffff810ce4c0 <sysent+3232>) at ../../../../sys/syscallvar.h:61
#14 sy_invoke (code=202, rval=0xfffffe80480a4eb8, uap=0xfffffe80480a4f00,
    l=0xfffffe81175800c0, sy=0xffffffff810ce4c0 <sysent+3232>)
    at ../../../../sys/syscallvar.h:85
#15 syscall (frame=0xfffffe80480a4f00)
    at ../../../../arch/x86/x86/syscall.c:156
#16 0xffffffff80100691 in Xsyscall ()
(gdb)


Home | Main Index | Thread Index | Old Index