Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread David Wolfskill
On Mon, Jan 20, 2014 at 10:33:41AM -0800, David Wolfskill wrote: > ... > On Mon, Jan 20, 2014 at 10:47:12AM -0700, Warner Losh wrote: > > ... > > I have a fix for this. I committed the wrong version of uart_core.c. > > r260911 should fix this. So this is broken from r260890-r260910. > > > >

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread David Wolfskill
On Mon, Jan 20, 2014 at 06:37:50PM +0200, Konstantin Belousov wrote: > ... > You do not have option WITNESS_SKIPSPIN in your kernel config, do you ? It was a GENERIC kernel for i386; it has WITNESS_SKIPSPIN. On Mon, Jan 20, 2014 at 10:14:08AM -0700, Ian Lepore wrote: > ... > Since you mention ser

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread Warner Losh
> On Mon, 2014-01-20 at 07:36 -0800, David Wolfskill wrote: >> panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx @ >> /usr/src/sys/dev/uart/uart_cpu.h:94 > > Since you mention serial console, I think r260890 might be a candidate. I have a fix for this.

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread Warner Losh
iles(c753f000,a,c6f0a310,e1fb9b38,c0d416e3,...) at >> ffs_flushfiles+0x14c/frame 0xe1fb9a9c >> softdep_flushfiles(c753f000,2,c6f0a310,0,0,...) at >> softdep_flushfiles+0x6e/frame 0xe1fb9af0 >> ffs_unmount(c753f000,8,e1fb9b70,518,c6f0a310,...) at >> ffs_unmount+0x19

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread Ian Lepore
fb9af0 > ffs_unmount(c753f000,8,e1fb9b70,518,c6f0a310,...) at > ffs_unmount+0x194/frame 0xe1fb9b38 > dounmount(c753f000,8,c6f0a310,0,e1db3eb0,...) at dounmount+0x4dc/frame > 0xe1fb9b98 > vfs_unmountall(e1db4058,0,c112895a,144,c6d8b1a0,...) at > vfs_unmountall+0x4e/frame 0xe1fb9bb

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread Thomas Hoffmann
> > kern_reboot(4008,0,c112895a,c3,0,...) at kern_reboot+0x5af/frame > 0xe1fb9c20 > > sys_reboot(c6f0a310,e1fb9cc8,14,c112b5b7,7a2,...) at > sys_reboot+0x6f/frame 0xe1fb9c40 > > syscall(e1fb9d08) at syscall+0x2de/frame 0xe1fb9cfc > > Xint0x80_syscall() at Xint0x80_syscall

Re: panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread Konstantin Belousov
xe1fb9c40 > syscall(e1fb9d08) at syscall+0x2de/frame 0xe1fb9cfc > Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xe1fb9cfc > --- syscall (55, FreeBSD ELF32, sys_reboot), eip = 0x805a9df, esp = > 0xbfbfd88c, ebp = 0xbfbfd960 --- > Uptime: 4m28s > panic: mtx_lock_spin: recursed on

panic: mtx_lock_spin: recursed on non-recursive mutex uart_hwmtx...

2014-01-20 Thread David Wolfskill
f/frame 0xe1fb9c20 sys_reboot(c6f0a310,e1fb9cc8,14,c112b5b7,7a2,...) at sys_reboot+0x6f/frame 0xe1fb9c40 syscall(e1fb9d08) at syscall+0x2de/frame 0xe1fb9cfc Xint0x80_syscall() at Xint0x80_syscall+0x21/frame 0xe1fb9cfc --- syscall (55, FreeBSD ELF32, sys_reboot), eip = 0x805a9df, esp = 0xbfbfd88c, eb