[Bug 225321] dtrace/powerpc64: System crash

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225321

Mark Linimon  changed:

   What|Removed |Added

   Assignee|freebsd-bugs@FreeBSD.org|freebsd-...@freebsd.org
   Hardware|Any |powerpc

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"


[Bug 225321] dtrace/powerpc64: System crash

2018-01-19 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=225321

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.lei...@gmail.com

When running dtrace function on powerpc64 it crashes:


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


# Meanwhile you can run some workload as compiling the kernel. You are going 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 = 2
time = 1516383953
KDB: stack backtrace:
0xc00042f7c160: at .kdb_backtrace+0x5c
0xc00042f7c290: at .vpanic+0x1a4
0xc00042f7c350: at .kassert_panic+0x8c
0xc00042f7c3f0: at .witness_checkorder+0xf8
0xc00042f7c4e0: at .__mtx_lock_flags+0xfc
0xc00042f7c590: at ._vm_map_lock_read+0x34
0xc00042f7c610: at .vm_map_lookup+0x94
0xc00042f7c740: at .vm_fault_hold+0x158
0xc00042f7c950: at .vm_fault+0x9c
0xc00042f7ca00: at .trap_pfault+0xd8
0xc00042f7caa0: at .trap+0xec0
0xc00042f7cc60: at .powerpc_interrupt+0x1e0
0xc00042f7cd00: kernel DSI read trap @ 0x9b90 by
.dtrace_getpcstack+0x138: srr1=0x80001032
r1=0xc00042f7cfb0 cr=0x28202024 xer=0
ctr=0xc00043290788 r2=0xc000432d66e8 sr=0x4000
0xc00042f7cfb0: at 0x1dffe3fc
0xc00042f7d050: at .dtrace_probe+0xd70
0xc00042f7d300: at .sched_switch+0x530
0xc00042f7d3b0: at .mi_switch+0x2c4
0xc00042f7d440: at .critical_exit+0xb4
0xc00042f7d4c0: at .powerpc_interrupt+0xb4
0xc00042f7d560: kernel EXI trap by .powerpc_interrupt+0x1f0:
srr1=0x80009032
r1=0xc00042f7d810 cr=0x2000f032 xer=0 ctr=0x1
r2=0x1015e38
0xc00042f7d810: user DSI write trap @ 0x810a59008 by 0x104a29a8:
srr1=0x8000f032
r1=0x9b80 cr=0x22044028 xer=0 ctr=0x104b357c
r2=0x1071b970 sr=0x4200
KDB: enter: panic
[ thread pid 8219 tid 100089 ]
Stopped at  .kdb_enter+0x60:ld  r2, r1, 0x28

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"