[diagnostic] cache_lock: blocked on... extremely urgent

YONETANI Tomokazu qhwt+dfly at les.ath.cx
Wed Apr 11 22:05:29 PDT 2007


On Thu, Apr 12, 2007 at 02:01:54AM +1000, Petr Janda wrote:
> Its running this raid card:;
> 
> mly0 at pci1:6:1:  class=0x010400 card=0x00541069 chip=0x00501069 rev=0x02 
> hdr=0x00
>    vendor   = 'Mylex Corp'
>    device   = 'AcceleRAID Disk Array'
>    class    = mass storage
>    subclass = RAID
> 
> It seems that because of this problem, mails get stuck in postfix queues.

It looks to me like another critical section mismatch:

Index: mly.c
===================================================================
RCS file: /home/source/dragonfly/cvs/src/sys/dev/raid/mly/mly.c,v
retrieving revision 1.17
diff -u -p -r1.17 mly.c
--- mly.c	22 Dec 2006 23:26:24 -0000	1.17
+++ mly.c	12 Apr 2007 05:00:42 -0000
@@ -820,8 +820,10 @@ mly_immediate_command(struct mly_command
 
     /* spinning at splcam is ugly, but we're only used during controller init */
     crit_enter();
-    if ((error = mly_start(mc)))
+    if ((error = mly_start(mc))) {
+	crit_exit();
 	return(error);
+    }
 
     if (sc->mly_state & MLY_STATE_INTERRUPTS_ON) {
 	/* sleep on the command */





More information about the Bugs mailing list