Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 04 Jan 2004 13:22:54 +0900
From:      Jun Kuriyama <kuriyama@imgsrc.co.jp>
To:        Alexander Kabaev <ak03@gte.com>
Cc:        Current <freebsd-current@freebsd.org>
Subject:   Re: VOP_PRINT: 0xc775b128 interlock is locked but should not be
Message-ID:  <7mhdzcs5pd.wl@black.imgsrc.co.jp>
In-Reply-To: <20040104041306.GA27551@kanpc.gte.com>
References:  <7misjss9ud.wl@black.imgsrc.co.jp> <20040104041306.GA27551@kanpc.gte.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At Sat, 3 Jan 2004 23:13:06 -0500,
Alexander Kabaev wrote:
> ffs_snapshot calls vprint with vnode interlock held and that triggers
> DEBUG_VFS_LOCKS guards on VOP_PRINT. You have both snapdebug and vfs
> locking debugging enabled in your kernel?

Yes, I enabled DEBUG_VFS_LOCKS option and snapdebug via sysctl.

But sorry, I inserted printf() for debugging in sched_sync() because
I'm not understand how lock works.  That may be problem.  I'll try
without my modification.

This box is still in ddb prompt.  Let me know if you want more
information.


-- 
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
             <kuriyama@FreeBSD.org> // FreeBSD Project



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7mhdzcs5pd.wl>