Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2007 12:41:29 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-hackers@freebsd.org
Cc:        Nex Mon <sugarfreemonkey@gmail.com>
Subject:   Re: questions on nonsleepable lock
Message-ID:  <200708151241.29534.jhb@freebsd.org>
In-Reply-To: <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com>
References:  <1fc8a2a60708142327p3f9ff079l345d47f9ceb6f489@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 15 August 2007 02:27:56 am Nex Mon wrote:
> Hello All,
> 
> Can someone point me out or explain the technical details of this kernel
> panic:
> 
> sleeping thread (tid 100093, pid 2676) owns nonsleepable lock
> panic: sleeping thread
> --
> --
> 
> 
> Is this caused by incorrect use of mutex or semaphores? Is this
> related to kernel scheduling? Can this be addressed at the
> user process? I've tried looking throught the freebsd mailing list
> archives and documentations but coudn't find a real good answer to
> solve or prevent this problem.
> 
> Im using freebsd 6.1 with SMP enabled on a Xeon dual core hardware. The
> system has several busy applications running, But the load average is very
> minimal, around 8.55 and no process hogging the CPU. So I expect my system
> should be running smoothly without in problem.
> 
> I appreciate any help.

I know there was at least one bug that could result in this, but the root 
cause was either a deadlock or use after free, etc.  It should be fixed in 
6-stable.  I can't recall further what it is though.

-- 
John Baldwin



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