Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2011 16:27:39 +0300
From:      Jaakko Heinonen <jh@FreeBSD.org>
To:        freebsd-current@freebsd.org, freebsd-ia64@freebsd.org
Subject:   Re: ia64 r225789 panic during "make installworld": Bad buffer logic,  remain = 0
Message-ID:  <20110928132739.GB5077@jh>
In-Reply-To: <20110928083909.GA52495@mech-cluster241.men.bris.ac.uk>
References:  <20110928083909.GA52495@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2011-09-28, Anton Shterenlikht wrote:
> KDB: stack backtrace:
> getenv with the following non-sleepable locks held:
> exclusive sleep mutex vnode interlock (vnode interlock) r = 0 (0xe000000011950488) locked @ /usr/src/sys/fs/devfs/devfs_vnops.c:406
> 
> etc. until a hang, requiring cold reset via MP.

Someone is calling getenv with a vnode interlock held. You need to
figure out the caller. Unfortunately the backtrace is missing above.

As a temporary workaround you could comment the WITNESS_WARN() line in
getenv() (sys/kern/kern_environment.c) but it is not a real fix.

-- 
Jaakko



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