Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Nov 2006 01:13:26 +0900
From:      Yoichi Nakayama <yoichi@FreeBSD.org>
To:        freebsd-current@freebsd.org
Subject:   Re: kern/105229: panic in sync_fsync
Message-ID:  <87u00u6qqh.wl%yoichi@FreeBSD.org>
In-Reply-To: <20061120152640.GH1841@deviant.kiev.zoral.com.ua>
References:  <200611062349.kA6NnbCG051817@www.freebsd.org> <20061107192218.GB1624@kobe.laptop> <878ximm418.wl%yoichi@FreeBSD.org> <20061109112035.GA1722@kobe.laptop> <86mz709d7u.wl%yoichi@geiin.org> <87vela6xnm.wl%yoichi@FreeBSD.org> <20061120152640.GH1841@deviant.kiev.zoral.com.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
At Mon, 20 Nov 2006 17:26:40 +0200,
Kostik Belousov wrote:
> > panic: mtx_lock() of spin mutex vnode interlock @ /usr/src/sys/kern/vfs_subr.c:2855
> >   ...
> > #13 0xc06b131f in panic (fmt=0xc0930a10 "mtx_lock() of spin mutex %s @ %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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87u00u6qqh.wl%yoichi>