Re: kern/105229: panic in sync_fsync

From: Kostik Belousov <kostikbel_at_gmail.com>
Date: Mon, 20 Nov 2006 17:26:40 +0200
On Mon, Nov 20, 2006 at 10:43:57PM +0900, Yoichi Nakayama wrote:
> At Fri, 10 Nov 2006 12:45:25 +0900,
> Yoichi NAKAYAMA wrote:
> > At Thu, 9 Nov 2006 13:20:35 +0200,
> > Giorgos Keramidas wrote:
> > > On 2006-11-08 23:00, Yoichi Nakayama <yoichi_at_FreeBSD.org> wrote:
> > > >At Tue, 7 Nov 2006 21:22:18 +0200,
> > > >Giorgos Keramidas wrote:
> > > >> Hi NAKAYAMA-san :)
> > > >>
> > > >> In general, we handle CURRENT problems in the freebsd-current mailing
> > > >> list, instead of opening problem reports.
> > > >
> > > > I'm sorry for my mistake.
> > > 
> > > Nothing to worry about :)
> > > 
> > > >> The build from `2006.11.07.05.51.41', as I said seems to work fine.
> > > >>
> > > >> Can you try re-syncing your source tree to see if a newer commit has
> > > >> fixed this in CURRENT?
> > > >
> > > > Thanks for your suggestion. I've already synced it to current
> > > > yesterday (after the time vfs_subr.c Revision 1.691 was committed at
> > > > Nov 7 19:45:05 2006 UTC), and I'm keeping it running.
> > > >
> > > > I'll post a report to freebsd-current list after one week trial.
> > > > I've met the same problem for some number of times after 2-7 days run.
> > > 
> > > Cool!  Unfortunately, I don't leave my laptop running for so long.
> > > If this is related to staying up several days, I wouldn't notice it
> > > easily :)
> > 
> > Then, I got panic at another place.
> 
> With the same kernel (current in Nov 7 2006), I got panic at sync_fsync again:
> 
> 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
> 
> Regards,
> -- 
> Yoichi NAKAYAMA
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"

Received on Mon Nov 20 2006 - 14:26:46 UTC

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