# dtrace -n 'fbt::hardclock:entry { @[stack()] = count() }' dtrace: description 'fbt::hardclock:entry ' matched 1 probe [ 6248.8623939] Mutex error: mutex_vector_enter,525: assertion failed: !cpu_intr_p() [ 6248.8623939] lock address : 0xffffc00001680880 type : sleep/adaptive [ 6248.8623939] initialized : 0xffffc000000b98c4 [ 6248.8623939] shared holds : 0 exclusive: 0 [ 6248.8623939] shares wanted: 0 exclusive: 0 [ 6248.8623939] relevant cpu : 1 last held: 1 [ 6248.8623939] relevant lwp : 0xffff00007ec91b00 last held: 000000000000000000 [ 6248.8623939] last locked : 0xffffc000000bcecc unlocked*: 0xffffc000000bd01c [ 6248.8623939] owner field : 000000000000000000 wait/spin: 0/0 [ 6248.8623939] Turnstile: no active turnstile for this lock. [ 6248.8623939] panic: LOCKDEBUG: Mutex error: mutex_vector_enter,525: assertion failed: !cpu_intr_p() [ 6248.8623939] cpu1: Begin traceback... [ 6248.8623939] trace fp ffffc000bebcec40 [ 6248.8623939] fp ffffc000bebcec70 vpanic() at ffffc000005d52f8 netbsd:vpanic+0x178 [ 6248.8623939] fp ffffc000bebcecd0 panic() at ffffc000005d5404 netbsd:panic+0x44 [ 6248.8623939] fp ffffc000bebced60 lockdebug_abort1() at ffffc000005c839c netbsd:lockdebug_abort1+0xec [ 6248.8623939] fp ffffc000bebcedb0 mutex_enter() at ffffc0000057d7bc netbsd:mutex_enter+0x7fc [ 6248.8623939] fp ffffc000bebcee50 pmap_fault_fixup() at ffffc000000bcec8 netbsd:pmap_fault_fixup+0xf4 [ 6248.8623939] fp ffffc000bebceef0 data_abort_handler() at ffffc000000b4ff4 netbsd:data_abort_handler+0x854 [ 6248.8623939] tf ffffc000bebcef90 el1_trap() at ffffc000000b6784 netbsd:el1_vectors+0x784 [ 6248.8623939] ---- Instruction Abort (EL1): trapframe 0xffffc000bebcef90 (304 bytes) ---- [ 6248.8623939] pc=ffffc00002028b80, spsr=0000000060000005 [ 6248.8623939] esr=000000008600000b, far=ffffc00002028b80 [ 6248.8623939] x0=0000000000003683, x1=ffffc000bebcf770 [ 6248.8623939] x2=0000000000000000, x3=0000000000000005 [ 6248.8623939] x4=0000000000000090, x5=ffffc000000a7b2c [ 6248.8623939] x6=0000005afd7531a5, x7=000000000042c1d8 [ 6248.8623939] x8=0000000000000004, x9=0000000000000050 [ 6248.8623939] x10=0000000000000040, x11=000000000000003f [ 6248.8623939] x12=ffffff0001036cc0, x13=ffffff0001036ec0 [ 6248.8623939] x14=00000000000000c8, x15=ffffc00040dbb000 [ 6248.8623939] x16=ffffc0000202db24, x17=0000f44c637b56ac [ 6248.8623939] x18=0000000000000073, x19=ffff00007ca16a00 [ 6248.8623939] x20=ffffc00001f8f398, x21=ffffc000005548b4 [ 6248.8623939] x22=ffffc000bebcf770, x23=00000000f200040d [ 6248.8623939] x24=0000f44c61dfb000, x25=000000000013240d [ 6248.8623939] x26=ffffc00000dc58d8, x27=ffff00007f808800 [ 6248.8623939] x28=0000000000000006, fp=x29=ffffc000bebcf2c0 [ 6248.8623939] lr=x30=ffffc00002034504, sp=ffffc000bebcf2c0 [ 6248.8623939] ------------------------------------------------ [ 6248.8623939] fp ffffc000bebcf2c0 dtrace_probe() at ffffc00002028b80 dtrace:dtrace_dif_emulate+0x3fbc [ 6248.8623939] fp ffffc000bebcf2e0 dtrace_invop_start() at ffffc0000202db68 dtrace:dtrace_invop_start+0x44 [ 6248.8623939] tf ffffc000bebcf310 el1_trap() at ffffc000000b6784 netbsd:el1_vectors+0x784 [ 6248.8623939] ---- BKPT Instruction Execution: trapframe 0xffffc000bebcf310 (304 bytes) ---- [ 6248.8623939] pc=ffffc000005548b4, spsr=0000000020000005 [ 6248.8623939] esr=00000000f200040d, far=0000f44c61dfb000 [ 6248.8623939] x0=ffffc000bebcf770, x1=0000000000000000 [ 6248.8623939] x2=0000000000000005, x3=0000000000000090 [ 6248.8623939] x4=ffffc000000a7b2c, x5=0000005afd7ebed4 [ 6248.8623939] x6=0000005afd7531a5, x7=000000000042c1d8 [ 6248.8623939] x8=0000000000000004, x9=0000000000000050 [ 6248.8623939] x10=0000000000000040, x11=000000000000003f [ 6248.8623939] x12=ffffff0001036cc0, x13=ffffff0001036ec0 [ 6248.8623939] x14=00000000000000c8, x15=ffffc00040dbb000 [ 6248.8623939] x16=ffffc000000050e4, x17=0000f44c637b56ac [ 6248.8623939] x18=0000000000000073, x19=ffffc000016ef2b0 [ 6248.8623939] x20=0000000000000000, x21=ffffc000bebcf770 [ 6248.8623939] x22=0000000000000000, x23=ffffc00001246580 [ 6248.8623939] x24=ffffc00040452710, x25=000000000013240d [ 6248.8623939] x26=ffffc00000dc58d8, x27=ffff00007f808800 [ 6248.8623939] x28=0000000000000006, fp=x29=ffffc000bebcf640 [ 6248.8623939] lr=x30=ffffc0000000a590, sp=ffffc000bebcf640 [ 6248.8623939] ------------------------------------------------ [ 6248.8623939] fp ffffc000bebcf640 hardclock() at ffffc000005548b4 netbsd:statclock+0x2f4 [ 6248.8623939] fp ffffc000bebcf6a0 pic_dispatch() at ffffc0000000287c netbsd:pic_dispatch+0x3c [ 6248.8623939] fp ffffc000bebcf6e0 armgic_irq_handler() at ffffc000000051cc netbsd:armgic_irq_handler+0xe8 [ 6248.8623939] fp ffffc000bebcf750 cpu_irq() at ffffc000000b3e28 netbsd:cpu_irq+0x38 [ 6248.8623939] tf ffffc000bebcf770 el1_trap() at ffffc000000b6784 netbsd:el1_vectors+0x784 [ 6248.8623939] ---- Interrupt: trapframe 0xffffc000bebcf770 (304 bytes) ---- [ 6248.8623939] pc=ffffc00000534f48, spsr=0000000040000005 [ 6248.8623939] esr=ffffffffffffffff, far=0000000000000000 [ 6248.8623939] x0=0000000000000566, x1=0000000000000566 [ 6248.8623939] x2=ffff00007ec91b00, x3=0000000000000001 [ 6248.8623939] x4=0000000000000000, x5=0000000000000000 [ 6248.8623939] x6=0000000000000005, x7=0000000000000001 [ 6248.8623939] x8=00000ffc00040ee6, x9=0000000000000050 [ 6248.8623939] x10=0000000000000040, x11=000000000000003f [ 6248.8623939] x12=ffffff0001036cc0, x13=ffffff0001036ec0 [ 6248.8623939] x14=00000000000000c8, x15=ffffc00040dbb000 [ 6248.8623939] x16=ffffc00000004460, x17=0000f44c637b56ac [ 6248.8623939] x18=0000000000000073, x19=ffff000043ffd3c0 [ 6248.8623939] x20=0000000000000000, x21=0000000004000001 [ 6248.8623939] x22=0000000000000000, x23=0000000000000000 [ 6248.8623939] x24=ffffc00040ee7000, x25=0000000000000000 [ 6248.8623939] x26=ffff00007f3c1400, x27=ffffc000bebcfb0c [ 6248.8623939] x28=ffff000043ffdaa0, fp=x29=ffffc000bebcfaa0 [ 6248.8623939] lr=x30=ffffc00000534f48, sp=ffffc000bebcfaa0 [ 6248.8623939] ------------------------------------------------ [ 6248.8623939] fp ffffc000bebcfaa0 uvm_pagealloc_strat() at ffffc00000534f48 netbsd:uvm_pagealloc_strat+0x254 [ 6248.8623939] fp ffffc000bebcfb20 uvm_km_kmem_alloc() at ffffc00000521364 netbsd:uvm_km_kmem_alloc+0x120 [ 6248.8623939] fp ffffc000bebcfba0 kmem_intr_alloc() at ffffc000005c4f5c netbsd:kmem_intr_alloc+0xfc [ 6248.8623939] fp ffffc000bebcfbf0 kmem_zalloc() at ffffc000005c5574 netbsd:kmem_zalloc+0x94 [ 6248.8623939] fp ffffc000bebcfc20 dtrace_state_buffer() at ffffc0000201c1ec dtrace:dtrace_state_buffer+0x17c [ 6248.8623939] fp ffffc000bebcfcb0 dtrace_state_buffers() at ffffc0000201c410 dtrace:dtrace_state_buffers+0x20 [ 6248.8623939] fp ffffc000bebcfce0 dtrace_state_go() at ffffc0000202a930 dtrace:dtrace_state_go+0x310 [ 6248.8623939] fp ffffc000bebcfd40 sys_ioctl() at ffffc000005e80bc netbsd:sys_ioctl+0x3cc [ 6248.8623939] fp ffffc000bebcfe20 syscall() at ffffc000000b2ebc netbsd:syscall+0x19c [ 6248.8623939] tf ffffc000bebcfed0 el0_trap() at ffffc000000b67f0 netbsd:el1_trap_exit+0x68 [ 6248.8623939] ---- SVC Instruction Execution: trapframe 0xffffc000bebcfed0 (304 bytes) ---- [ 6248.8623939] pc=0000f44c637b56b0, spsr=0000000000000000 [ 6248.8623939] esr=0000000056000036, far=0000f44c61dfb000 [ 6248.8623939] x0=0000000000000003, x1=000000004004780c [ 6248.8623939] x2=0000f44c63a56730, x3=0000000000000000 [ 6248.8623939] x4=fffffffffffffffe, x5=00000000ffffffff [ 6248.8623939] x6=0000000000000002, x7=0000000000000001 [ 6248.8623939] x8=0000f44c40000000, x9=00000000000235f4 [ 6248.8623939] x10=0000f44c6382c000, x11=000000000000001b [ 6248.8623939] x12=0000f44c63839290, x13=0000f44c62e008c0 [ 6248.8623939] x14=00000000000000c8, x15=00000000008c3128 [ 6248.8623939] x16=0000f44c63ba5500, x17=0000f44c637b56ac [ 6248.8623939] x18=0000000000000073, x19=0000f44c63a56000 [ 6248.8623939] x20=0000000000000003, x21=0000000000000000 [ 6248.8623939] x22=0000000007a36000, x23=0000000007a35000 [ 6248.8623939] x24=0000ffffffc22a20, x25=0000000000000002 [ 6248.8623939] x26=0000000000000000, x27=0000ffffffc22a50 [ 6248.8623939] x28=0000000007a48320, fp=x29=0000ffffffc22910 [ 6248.8623939] lr=x30=0000f44c63b27c68, sp=0000ffffffc22910 [ 6248.8623939] ------------------------------------------------ [ 6248.8623939] cpu1: End traceback... Stopped in pid 1382.1382 (dtrace) at netbsd:cpu_Debugger+0xc: ldp x29, x30, [sp],#16