From owner-freebsd-current@FreeBSD.ORG Mon Nov 20 16:14:05 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 42D2716A5AB for ; Mon, 20 Nov 2006 16:14:05 +0000 (UTC) (envelope-from yoichi@FreeBSD.org) Received: from alcoholic.geiin.org (59x87x89x234.ap59.ftth.ucom.ne.jp [59.87.89.234]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85E6C43E0E for ; Mon, 20 Nov 2006 16:13:07 +0000 (GMT) (envelope-from yoichi@FreeBSD.org) Received: from tequila.local-net.geiin.org (tequila-air.local-net [192.168.1.6]) by alcoholic.geiin.org (Postfix) with ESMTP id 583491DF10 for ; Tue, 21 Nov 2006 01:13:26 +0900 (JST) Date: Tue, 21 Nov 2006 01:13:26 +0900 Message-ID: <87u00u6qqh.wl%yoichi@FreeBSD.org> From: Yoichi Nakayama To: freebsd-current@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> User-Agent: Wanderlust/2.15.5 (Almost Unreal) EMIKO/1.14.1 (Choanoflagellata) FLIM/1.14.8 (=?ISO-2022-JP?B?GyRCO00+chsoQg==?=) APEL/10.6 Emacs/22.0.90 (i686-pc-linux-gnu) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) Organization: FreeBSD.org X-Face: wLZki+KbGjgKe0,<&3g*rA|R**vj[a8L%[v]ecJh1L(Uqm|LBx; v7Nq7n%?0d.aS]F#[~C\!{m?m,C&#U5}$_pZvBR>5VmX1Ol0`P\M-U8`sUF<5Quj'z&zzW8r|Zl9#W7Wut3duYzpKrP{n+AbarKtJ!i"Al7]P; -?[=iBZa*]r=>C':0~JECx]IH+RXq=/hUX}MB9e]oQKBxsDd/ X-SKK: Daredevil SKK/13.0.90 (Hattori) MIME-Version: 1.0 (generated by EMIKO 1.14.1 - "Choanoflagellata") Content-Type: text/plain; charset=US-ASCII Subject: Re: kern/105229: panic in sync_fsync X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Nov 2006 16:14:05 -0000 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 to continue, or q 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 , 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