* HPT370 locks up (2.4/2.6)
@ 2004-03-30 12:36 Balazs Ree
2004-03-31 8:54 ` Denis Vlasenko
0 siblings, 1 reply; 6+ messages in thread
From: Balazs Ree @ 2004-03-30 12:36 UTC (permalink / raw)
To: linux-kernel
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
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).
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).
--
Balazs REE
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HPT370 locks up (2.4/2.6)
2004-03-30 12:36 HPT370 locks up (2.4/2.6) Balazs Ree
@ 2004-03-31 8:54 ` Denis Vlasenko
2004-04-01 10:32 ` Balazs Ree
0 siblings, 1 reply; 6+ messages in thread
From: Denis Vlasenko @ 2004-03-31 8:54 UTC (permalink / raw)
To: Balazs Ree, linux-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HPT370 locks up (2.4/2.6)
2004-03-31 8:54 ` Denis Vlasenko
@ 2004-04-01 10:32 ` Balazs Ree
2004-04-01 11:40 ` Jaco Kroon
0 siblings, 1 reply; 6+ messages in thread
From: Balazs Ree @ 2004-04-01 10:32 UTC (permalink / raw)
To: linux-kernel
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HPT370 locks up (2.4/2.6)
2004-04-01 10:32 ` Balazs Ree
@ 2004-04-01 11:40 ` Jaco Kroon
2004-04-01 18:14 ` Balazs Ree
0 siblings, 1 reply; 6+ messages in thread
From: Jaco Kroon @ 2004-04-01 11:40 UTC (permalink / raw)
To: Balazs Ree; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
Weird question, but do you perhaps have the APIC enabled?
Balazs Ree wrote:
>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.
>
>
>
--
Cohen's Law:
There is no bottom to worse.
===========================================
This message and attachments are subject to a disclaimer. Please refer to www.it.up.ac.za/documentation/governance/disclaimer/ for full details.
Hierdie boodskap en aanhangsels is aan 'n vrywaringsklousule onderhewig. Volledige besonderhede is by www.it.up.ac.za/documentation/governance/disclaimer/ beskikbaar.
===========================================
[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/x-pkcs7-signature, Size: 3174 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: HPT370 locks up (2.4/2.6)
2004-04-01 11:40 ` Jaco Kroon
@ 2004-04-01 18:14 ` Balazs Ree
0 siblings, 0 replies; 6+ messages in thread
From: Balazs Ree @ 2004-04-01 18:14 UTC (permalink / raw)
To: linux-kernel
On Thu, 01 Apr 2004 13:40:42 +0200, Jaco Kroon wrote:
> Weird question, but do you perhaps have the APIC enabled?
Yes.
But I have tried switching it off earlier - no success. Seems that at
least this particular problem is not APIC related.
--
Balazs REE
^ permalink raw reply [flat|nested] 6+ messages in thread
* HPT370 locks up (2.4/2.6)
@ 2004-03-30 12:47 Balazs Ree
0 siblings, 0 replies; 6+ messages in thread
From: Balazs Ree @ 2004-03-30 12:47 UTC (permalink / raw)
To: linux-kernel
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
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).
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).
--
Balazs REE
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-04-01 18:15 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-30 12:36 HPT370 locks up (2.4/2.6) Balazs Ree
2004-03-31 8:54 ` Denis Vlasenko
2004-04-01 10:32 ` Balazs Ree
2004-04-01 11:40 ` Jaco Kroon
2004-04-01 18:14 ` Balazs Ree
2004-03-30 12:47 Balazs Ree
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®