Re: HPT370 locks up (2.4/2.6)

From: Balazs Ree
Date: Thu Apr 01 2004 - 05:52:01 EST


On Wed, 31 Mar 2004 10:54:01 +0200, Denis Vlasenko wrote:
> You may need to serialize channel usage in driver code if it indeed
> happens when both channels are working at the same time.

Thank you, this tip was really useful.

Setting #define HPT_SERIALIZE_IO in hpt366.h solves the lockups on my
machine (ABIT KT7-RAID). There seems to be a small (10-20%) performance
penalty involved according to the benchmarks on my RAID1 setup, but that's
acceptable.

If this solves the "hdd led stays on" freezups for others with HPT370
(rev. 3) on motherboards with possibly buggy IRQ handling, then maybe this
option could even be made settable through kernel config, together with an
appropriate explanation.

--
Balazs REE


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