mfiutil create .. leads to deadlock in 6-STABLE

John Baldwin jhb at freebsd.org
Tue Jun 8 16:24:15 UTC 2010


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


More information about the freebsd-stable mailing list