Re: kern/105229: panic in sync_fsync

From: Yoichi Nakayama <yoichi_at_FreeBSD.org>
Date: Tue, 21 Nov 2006 01:13:26 +0900
At Mon, 20 Nov 2006 17:26:40 +0200,
Kostik Belousov wrote:
> > panic: mtx_lock() of spin mutex vnode interlock _at_ /usr/src/sys/kern/vfs_subr.c:2855
> >   ...
> > #13 0xc06b131f in panic (fmt=0xc0930a10 "mtx_lock() of spin mutex %s _at_ %s:%d")
> > ---Type <return> to continue, or q <return> to quit---
> >     at /usr/src/sys/kern/kern_shutdown.c:551
> > #14 0xc06a85c0 in _mtx_lock_flags (m=0xc58593a8, opts=0, 
> >     file=0xc093c091 "/usr/src/sys/kern/vfs_subr.c", line=2855)
> >     at /usr/src/sys/kern/kern_mutex.c:131
> > #15 0xc0712570 in vfs_msync (mp=0xc3d4e538, flags=2)
> >     at /usr/src/sys/kern/vfs_subr.c:2855
> Please, show the output of the "p *vp" and "p *mp" at this frame.
> 
> > #16 0xc0712d21 in sync_fsync (ap=0x0) at /usr/src/sys/kern/vfs_subr.c:3089
> > #17 0xc08bafde in VOP_FSYNC_APV (vop=0x0, a=0xe3c39cb4) at vnode_if.c:1007
> > #18 0xc071094e in sync_vnode (bo=0xc3d4b704, td=0xc3924c40) at vnode_if.h:537
> > #19 0xc0710bcd in sched_sync () at /usr/src/sys/kern/vfs_subr.c:1691
> > #20 0xc069b908 in fork_exit (callout=0xc07109dc <sched_sync>, arg=0x0, 
> >     frame=0xe3c39d38) at /usr/src/sys/kern/kern_fork.c:834
> > #21 0xc08943bc in fork_trampoline () at /usr/src/sys/i386/i386/exception.s:199

I tried "gdb6 -k /boot/kernel.old/kernel /var/crash/vmcore.13", selecting frame #15,
then "p *vp" and "p *mp" cause Segmentation fault.

Now I'm running newer current kernel & world (cvsup'ed from cvsup.jp.FreeBSD.org
at Mon Nov 20 13:48:11 UTC 2006). When I get panic again, I'll try those.
Regards,
-- 
Yoichi NAKAYAMA
Received on Mon Nov 20 2006 - 15:14:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:03 UTC