Re: repeatable panic on pageout with 945GM

From: Michael Butler <imb_at_protected-networks.net>
Date: Mon, 23 May 2016 21:10:50 -0400
On 05/22/16 09:58, Michael Butler wrote:
> With KDE and compositing enabled, I randomly get the following:
> 
> (kgdb) info stack
> #0  doadump (textdump=<value optimized out>) at pcpu.h:221
> #1  0xffffffff8064e98e in kern_reboot (howto=260) at
> /usr/src/sys/kern/kern_shutdown.c:366
> #2  0xffffffff8064eea1 in vpanic (fmt=<value optimized out>, ap=<value
> optimized out>) at /usr/src/sys/kern/kern_shutdown.c:759
> #3  0xffffffff8064ed13 in panic (fmt=0x0) at
> /usr/src/sys/kern/kern_shutdown.c:690
> #4  0xffffffff809d18ed in vm_fault_hold (map=<value optimized out>,
> vaddr=<value optimized out>, fault_type=<value optimized out>,
>     fault_flags=<value optimized out>, m_hold=<value optimized out>) at
> /usr/src/sys/vm/vm_fault.c:327
> #5  0xffffffff809cf548 in vm_fault (map=0xfffff80002000000, vaddr=<value
> optimized out>, fault_type=1 '\001', fault_flags=<value optimized out>)
>     at /usr/src/sys/vm/vm_fault.c:273
> #6  0xffffffff80a1849f in trap_pfault (frame=<value optimized out>,
> usermode=0) at /usr/src/sys/amd64/amd64/trap.c:741
> #7  0xffffffff80a17b30 in trap (frame=0xfffffe00dbec5830) at
> /usr/src/sys/amd64/amd64/trap.c:442
> #8  0xffffffff809fd5a1 in calltrap () at
> /usr/src/sys/amd64/amd64/exception.S:236
> #9  0xffffffff80a0a3bb in pmap_remove_all (m=<value optimized out>) at
> /usr/src/sys/amd64/amd64/pmap.c:3950
> #10 0xffffffff809c0c57 in cdev_pager_free_page (object=<value optimized
> out>, m=0xfffffe0001e410d0) at /usr/src/sys/vm/device_pager.c:214
> #11 0xffffffff816aff33 in i915_gem_release_mmap (obj=<value optimized
> out>) at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1691
> #12 0xffffffff816b104b in i915_gem_object_unbind
> (obj=0xfffff8008ef11400) at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:2738
> #13 0xffffffff816b47c8 in __i915_gem_shrink (dev_priv=<value optimized
> out>, target=-1, purgeable_only=<value optimized out>)
>     at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:2056
> #14 0xffffffff816b3f47 in i915_gem_inactive_shrink (arg=<value optimized
> out>) at
> /usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:4755
> #15 0xffffffff809ec628 in vm_pageout () at /usr/src/sys/vm/vm_pageout.c:899
> #16 0xffffffff80609dcc in fork_exit (callout=0xffffffff809ec260
> <vm_pageout>, arg=0x0, frame=0xfffffe00dbec5c00) at
> /usr/src/sys/kern/kern_fork.c:1034
> #17 0xffffffff809fdade in fork_trampoline () at
> /usr/src/sys/amd64/amd64/exception.S:611
> #18 0x0000000000000000 in ?? ()
> 
> Any hints?

Anyone?

Another flavour .. almost like there's a mutex that should be held that
isn't ..

(kgdb) bt
#0  0xffffffff8064e33f in panic (fmt=0x0) at
/usr/src/sys/kern/kern_shutdown.c:686
#1  0xffffffff8064e03e in kern_reboot (howto=260) at
/usr/src/sys/kern/kern_shutdown.c:369
#2  0xffffffff8064e551 in kproc_shutdown (arg=0x104, howto=<value
optimized out>) at /usr/src/sys/kern/kern_shutdown.c:811
#3  0xffffffff8064e3c3 in vpanic (fmt=0xfffffe0000209000 <Address
0xfffffe0000209000 out of bounds>, ap=0xfffffe00dbf2f180) at
/usr/src/sys/kern/kern_shutdown.c:712
#4  0xffffffff809d04ed in vm_fault_hold (map=0xfffff80002000000,
vaddr=<value optimized out>, fault_type=1 '\001', fault_flags=0, m_hold=0x0)
    at /usr/src/sys/vm/vm_fault.c:208
#5  0xffffffff809ce148 in mtrash_ctor (mem=<value optimized out>,
size=<value optimized out>, arg=<value optimized out>, flags=<value
optimized out>)
    at /usr/src/sys/vm/uma_dbg.c:143
#6  0xffffffff80a1709f in trap_fatal (frame=0x1,
eva=18446735277650083840) at /usr/src/sys/amd64/amd64/trap.c:830
#7  0xffffffff80a16730 in trap (frame=0xfffffe00dbf2f570) at
/usr/src/sys/amd64/amd64/trap.c:215
#8  0xffffffff809fc1a1 in Xxmm () at
/usr/src/sys/amd64/amd64/exception.S:145
#9  0xffffffff80a08fbb in pmap_remove_all (m=<value optimized out>) at
atomic.h:186
#10 0xffffffff809bf937 in cdev_pager_allocate (handle=<value optimized
out>, tp=<value optimized out>, ops=<value optimized out>, size=<value
optimized out>,
    prot=<value optimized out>, foff=<value optimized out>, cred=<value
optimized out>) at /usr/src/sys/vm/device_pager.c:186
#11 0xffffffff816aff33 in i915_gem_release_mmap (obj=<value optimized
out>) at
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1691
#12 0xffffffff816b15ba in i915_gem_object_get_fence (obj=<value
optimized out>) at
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:105
#13 0xffffffff816afb32 in i915_gem_pager_fault
(vm_obj=0xfffff8002c501a50, offset=<value optimized out>, prot=<value
optimized out>, mres=<value optimized out>)
    at
/usr/src/sys/modules/drm2/i915kms/../../../dev/drm2/i915/i915_gem.c:1553
#14 0xffffffff809bf384 in dev_pager_dealloc (object=0xfffff8002c501a50)
at /usr/src/sys/vm/device_pager.c:242
#15 0xffffffff809edfbf in vm_pager_bufferinit () at
/usr/src/sys/vm/vm_pager.c:201
#16 0xffffffff809ce9e9 in vm_fault_hold (map=0xfffff80093759000,
vaddr=<value optimized out>, fault_type=2 '\002', fault_flags=0,
m_hold=0x0) at pcpu.h:221
#17 0xffffffff809ce148 in mtrash_ctor (mem=<value optimized out>,
size=<value optimized out>, arg=<value optimized out>, flags=<value
optimized out>)
    at /usr/src/sys/vm/uma_dbg.c:143
#18 0xffffffff80a1709f in trap_fatal (frame=0x2,
eva=18446735280090484736) at /usr/src/sys/amd64/amd64/trap.c:830
#19 0xffffffff80a16860 in trap (frame=0xfffffe00dbf2fc00) at
/usr/src/sys/amd64/amd64/trap.c:481
#20 0xffffffff809fc1a1 in Xxmm () at
/usr/src/sys/amd64/amd64/exception.S:145
#21 0x00000008024f33b6 in ?? ()
Previous frame inner to this frame (corrupt stack?)
Received on Mon May 23 2016 - 23:10:54 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:05 UTC