Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jan 2018 17:51:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 225321] dtrace/powerpc64: System crash
Message-ID:  <bug-225321-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225321

            Bug ID: 225321
           Summary: dtrace/powerpc64: System crash
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: breno.leitao@gmail.com

When running dtrace function on powerpc64 it crashes:


Dtrace line:
# dtrace -n 'sched:::off-cpu { @[stack(8)] =3D count(); }'


# Meanwhile you can run some workload as compiling the kernel. You are goin=
g to
hit:


panic: acquiring blockable sleep lock with spinlock or critical section
held (sleep mutex) vm map (system) @
/root/kernel/freebsd/sys/vm/vm_map.c:4086
cpuid =3D 2
time =3D 1516383953
KDB: stack backtrace:
0xc000000042f7c160: at .kdb_backtrace+0x5c
0xc000000042f7c290: at .vpanic+0x1a4
0xc000000042f7c350: at .kassert_panic+0x8c
0xc000000042f7c3f0: at .witness_checkorder+0xf8
0xc000000042f7c4e0: at .__mtx_lock_flags+0xfc
0xc000000042f7c590: at ._vm_map_lock_read+0x34
0xc000000042f7c610: at .vm_map_lookup+0x94
0xc000000042f7c740: at .vm_fault_hold+0x158
0xc000000042f7c950: at .vm_fault+0x9c
0xc000000042f7ca00: at .trap_pfault+0xd8
0xc000000042f7caa0: at .trap+0xec0
0xc000000042f7cc60: at .powerpc_interrupt+0x1e0
0xc000000042f7cd00: kernel DSI read trap @ 0xffffffffffff9b90 by
.dtrace_getpcstack+0x138: srr1=3D0x8000000000001032
            r1=3D0xc000000042f7cfb0 cr=3D0x28202024 xer=3D0
ctr=3D0xc000000043290788 r2=3D0xc0000000432d66e8 sr=3D0x40000000
0xc000000042f7cfb0: at 0x1dffe3fc
0xc000000042f7d050: at .dtrace_probe+0xd70
0xc000000042f7d300: at .sched_switch+0x530
0xc000000042f7d3b0: at .mi_switch+0x2c4
0xc000000042f7d440: at .critical_exit+0xb4
0xc000000042f7d4c0: at .powerpc_interrupt+0xb4
0xc000000042f7d560: kernel EXI trap by .powerpc_interrupt+0x1f0:=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20
srr1=3D0x8000000000009032
            r1=3D0xc000000042f7d810 cr=3D0x2000f032 xer=3D0 ctr=3D0x1
r2=3D0x1015e38
0xc000000042f7d810: user DSI write trap @ 0x810a59008 by 0x104a29a8:
srr1=3D0x800000000000f032
            r1=3D0xffffffffffff9b80 cr=3D0x22044028 xer=3D0 ctr=3D0x104b357c
r2=3D0x1071b970 sr=3D0x42000000
KDB: enter: panic
[ thread pid 8219 tid 100089 ]
Stopped at      .kdb_enter+0x60:        ld      r2, r1, 0x28

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225321-8>