panic: mtx_lock_spin: recursed on non-recursive mutex cnputs_mtx @ /usr/src/sys/kern/kern_cons.c:420 when running dump in ddb

Garrett Cooper yanegomi at gmail.com
Fri Aug 19 00:55:49 UTC 2011


Hi,
    Long story short, I was running a UP kernel on a netbook trying to
stimulate a crash and when I did dump, it would periodically fail
non-recursive mutex failure with the output shown below (I caught it
once, but the other times the dump failed).
Thanks,
-Garrett

Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d33a0
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc084cbee
stack pointer	        = 0x28:0xe6ca3098
frame pointer	        = 0x28:0xe6ca3130
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2f80
frame pointer	        = 0x28:0xe6ca2fb8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2e68
frame pointer	        = 0x28:0xe6ca2ea0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2d50
frame pointer	        = 0x28:0xe6ca2d88
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2c38
frame pointer	        = 0x28:0xe6ca2c70
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2b20
frame pointer	        = 0x28:0xe6ca2b58
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca2a08
frame pointer	        = 0x28:0xe6ca2a40
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca28f0
frame pointer	        = 0x28:0xe6ca2928
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca27d8
frame pointer	        = 0x28:0xe6ca2810
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca26c0
frame pointer	        = 0x28:0xe6ca26f8
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled


Fatal trap 12: page fault while in kernel mode
fault virtual address	= 0x967d31e4
fault code		= supervisor read, page not present
instruction pointer	= 0x20:0xc085f46f
stack pointer	        = 0x28:0xe6ca25a8
frame pointer	        = 0x28:0xe6ca25e0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= resume, IOPL = 0
current process		= kernel trap 12 with interrupts disabled

panic: mtx_lock_spin: recursed on non-recursive mutex cnputs_mtx @
/usr/src/sys/kern/kern_cons.c:420


More information about the freebsd-current mailing list