Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jun 2010 11:48:06 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-stable@freebsd.org
Cc:        pluknet <pluknet@gmail.com>
Subject:   Re: mfiutil create .. leads to deadlock in 6-STABLE
Message-ID:  <201006081148.06315.jhb@freebsd.org>
In-Reply-To: <AANLkTil5tr99tq7TcmrJ_8M3-6qGJGVEjLX_5I3Wmq26@mail.gmail.com>
References:  <AANLkTil5tr99tq7TcmrJ_8M3-6qGJGVEjLX_5I3Wmq26@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 08 June 2010 5:30:30 am pluknet wrote:
> hi,
> 
> I faced w/ subj. issue on IBM ServeRAID M5015 (LSISAS2108 SAS2.0 6Gbps).
> 
> As I can see, lockup is caused by sleeping on sx lock after Giant was 
acquired.
> Can r160217 help me or am I go the wrong way?
> from r160217: "Use a sleep mutex instead of an sx lock for the kernel
> environment."

Giant is special, it can be acquired both before and after sx locks because it 
is released while blocking on an sx lock.  Are you sure that mfiutil is hung?  
The thread appears to be running rather than blocked on a lock.

-- 
John Baldwin



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