Instant panic while trying run ports-mgmt/poudriere

From: Pawel Pekala <pawel_at_FreeBSD.org>
Date: Mon, 13 Jul 2015 23:12:05 +0200
Hi

I'm getting 100% reproducible kernel crash while trying build ports
with poudriere on my system. This started to show up about 2-3 weeks
ago. I upgrade my system on weekly basis usually on saturday.
Here's backtrace:

(kgdb) bt
#0  doadump (textdump=1) at pcpu.h:221
#1  0xffffffff80984625 in kern_reboot (howto=260) at /hdd/src/sys/kern/kern_shutdown.c:447
#2  0xffffffff80984c18 in vpanic (fmt=<value optimized out>, ap=<value optimized out>)
    at /hdd/src/sys/kern/kern_shutdown.c:744
#3  0xffffffff80984c63 in panic (fmt=0x0) at /hdd/src/sys/kern/kern_shutdown.c:675
#4  0xffffffff8098e281 in mi_switch (flags=<value optimized out>, 
    newtd=<value optimized out>) at /hdd/src/sys/kern/kern_synch.c:406
#5  0xffffffff809d5991 in turnstile_wait (ts=<value optimized out>, owner=0x0, 
    queue=<value optimized out>) at /hdd/src/sys/kern/subr_turnstile.c:751
#6  0xffffffff8098234d in __rw_wlock_hard (c=0xffffffff8185bd18, tid=18446735285002704080, 
    file=<value optimized out>, line=<value optimized out>)
    at /hdd/src/sys/kern/kern_rwlock.c:898
#7  0xffffffff80981f74 in _rw_wlock_cookie (c=<value optimized out>, 
    file=0xffffffff810e0c29 "/hdd/src/sys/amd64/amd64/pmap.c", line=3690)
    at /hdd/src/sys/kern/kern_rwlock.c:268
#8  0xffffffff80dbcf1e in pmap_remove_all (m=0xfffff8041a03e450)
    at /hdd/src/sys/amd64/amd64/pmap.c:3690
#9  0xffffffff80c30986 in cdev_pager_free_page (object=<value optimized out>, 
    m=0xfffff8041a03e450) at /hdd/src/sys/vm/device_pager.c:215
#10 0xffffffff8223ce30 in ttm_bo_release_mmap (bo=0xfffff800cd06e848)
    at /hdd/src/sys/modules/drm2/drm2/../../../dev/drm2/ttm/ttm_bo_vm.c:390
#11 0xffffffff82238a7c in ttm_bo_unmap_virtual (bo=0xfffff800cd06e848)
    at /hdd/src/sys/modules/drm2/drm2/../../../dev/drm2/ttm/ttm_bo.c:1651
#12 0xffffffff82081365 in radeon_pm_set_clocks (rdev=0xfffffe000133d000)
    at /hdd/src/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_pm.c:146
#13 0xffffffff82081e4e in radeon_pm_compute_clocks (rdev=<value optimized out>)
    at /hdd/src/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/radeon_pm.c:777
#14 0xffffffff82093b63 in atombios_crtc_dpms (crtc=<value optimized out>, 
    mode=<value optimized out>)
    at /hdd/src/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/atombios_crtc.c:277
#15 0xffffffff820955f9 in atombios_crtc_prepare (crtc=0xfffff80005c7f000)
    at /hdd/src/sys/modules/drm2/radeonkms/../../../dev/drm2/radeon/atombios_crtc.c:1829
#16 0xffffffff8221e938 in drm_crtc_helper_set_mode (crtc=0xfffff80005c7f000, 
    mode=0xfffff80005775d00, x=0, y=0, old_fb=0xfffff80005c63100)
    at /hdd/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_crtc_helper.c:454
#17 0xffffffff8221f504 in drm_crtc_helper_set_config (set=0xfffff80005742000)
---Type <return> to continue, or q <return> to quit---
    at /hdd/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_crtc_helper.c:752
#18 0xffffffff822255c6 in vt_kms_postswitch (arg=<value optimized out>)
    at /hdd/src/sys/modules/drm2/drm2/../../../dev/drm2/drm_fb_helper.c:344
#19 0xffffffff8081f249 in vt_window_switch (vw=0xffffffff81558208)
    at /hdd/src/sys/dev/vt/vt_core.c:531
#20 0xffffffff8081ce83 in vtterm_cngrab (tm=<value optimized out>)
    at /hdd/src/sys/dev/vt/vt_core.c:1423
#21 0xffffffff8092f225 in cngrab () at /hdd/src/sys/kern/kern_cons.c:368
#22 0xffffffff809c1a9a in kdb_trap (type=9, code=0, tf=<value optimized out>)
    at /hdd/src/sys/kern/subr_kdb.c:651
#23 0xffffffff80dcd235 in trap_fatal (frame=0xfffffe046cfad950, eva=<value optimized out>)
    at /hdd/src/sys/amd64/amd64/trap.c:848
#24 0xffffffff80dccf03 in trap (frame=<value optimized out>)
    at /hdd/src/sys/amd64/amd64/trap.c:201
#25 0xffffffff80dace32 in calltrap () at /hdd/src/sys/amd64/amd64/exception.S:235
#26 0xffffffff80941430 in knote (list=0xfffff801a2589408, hint=2147483648, 
    lockflags=<value optimized out>) at /hdd/src/sys/kern/kern_event.c:1920
#27 0xffffffff80946a51 in exit1 (td=0xfffff801b84014d0, rv=<value optimized out>)
    at /hdd/src/sys/kern/kern_exit.c:560
#28 0xffffffff80945f1e in sys_sys_exit (td=0x0, uap=<value optimized out>)
    at /hdd/src/sys/kern/kern_exit.c:178
#29 0xffffffff80dcdaa2 in amd64_syscall (td=0xfffff801b84014d0, traced=0)
    at subr_syscall.c:133
#30 0xffffffff80dad11b in Xfast_syscall () at /hdd/src/sys/amd64/amd64/exception.S:395
#31 0x0000000800922eea in ?? ()
Previous frame inner to this frame (corrupt stack?)
Current language:  auto; currently minimal

Let me know if you need more details.

-- 
pozdrawiam / with regards
Paweł Pękala
Received on Mon Jul 13 2015 - 19:16:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:58 UTC