Re: HPT370 locks up (2.4/2.6)

From: Denis Vlasenko
Date: Wed Mar 31 2004 - 03:58:01 EST


On Tuesday 30 March 2004 14:36, Balazs Ree wrote:
> Hello,
>
> I know that this issue has been brought up before, but still...
>
> I have an ABIT KT7-RAID motherboard with a HPT370 IDE controller on it.
> I have two SAMSUNG SP0802N drives attached, one on each channel, with a
> software RAID1 setup.
>
> Under both 2.4.22 and 2.6.4 that I tried, the same thing happens. System
> boots up allright, and works for a random period of time. Then it
> locks up completely with the disk led stuck lighting. No keystrokes work
> and there is no error message that I could see. The crash can be triggered

SysRq not working too? Look into interrupt handler of this driver.
Is there any potentially-endless loops? Modify them to have
some timeout, make them printk out loud if timeout triggers.

> by disk-intensive operations, it seems however like a random
> phenomenon, that but sooner or later happens for sure. It is likely
> that the case is connected with DMA handling, and that it only occurs if
> both IDE channels are utilized heavily (like is the case with RAID1).

Do parallel reads with dd. Does it happen? Do the same with DMA off.
Does it happen now? Same with writes. etc.

You may need to serialize channel usage in driver code if it indeed
happens when both channels are working at the same time.

> I've read from others having the same symptom on this list, but I could
> find no solution so far. None of the suggestions or patches that I tried
> have worked out (including the new patch of Andre Hedrick, which has no
> effect in this case since the HPT370 is a rev 3. controller)
>
> However, since my last try in last August with 2.4.22 I was using the
> "opensource" driver of HighPoint which worked rock stable for my setup.
> Now I started to experiment again with the hpt366 driver, this time under
> 2.6.4, and it's the same lockup situation. I would be rather happy to see
> the hpt366 driver working as then I (and others) would not be forced to
> use the "opensource" driver of Highpoint, that, besides being a
> partly binary driver, has other disadvantages (like it needs initrd, and
> it does not support S.M.A.R.T., or compile yet with the 2.6 kernel)
>
> In case someone has any idea, I would be glad to send specific logs and/or
> test patches (preferably with 2.6.4).
--
vda
-
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/