Re: Kernel 2.4.0test10 crash (RAID+SMP)

From: ryan (ryan@netidea.com)
Date: Sun Nov 05 2000 - 19:09:29 EST


> It looks like an interupt is happening while another interrupt is
> happening, which should be impossible... but it isn't.

Dont you love SMP? ;-)

>
> raid1.c:end_sync_write calls raid1_free_buff which calls
> spin_lock_irq()/spin_unlock_irq(), which unmasks interrupts. but
> end_sync_write is called from interupt context. This is bad.
>
> Try:
[patch goes here]
>

This infact fixes the problem completely. You probably already
suspected it did, but for verification it works like a charm. Inclusion
into 2.4.0test11/whatever would probably be a Good Thing.

-ryan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Nov 07 2000 - 21:00:18 EST