DragonFly bugs List (threaded) for 2007-04
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: [diagnostic] cache_lock: blocked on... extremely urgent
YONETANI Tomokazu wrote:
On Thu, Apr 12, 2007 at 02:01:54AM +1000, Petr Janda wrote:
Its running this raid card:;
mly0@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 */
Thanks Yonetani,
I applied your patch and i am rebooting now. I will keep an eye on the
server for the next few days/weeks and see if this fixed it.
Petr
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]