Re: Alot of DMA errors in 2.4.18, 2.4.20 and 2.5.52

From: jw schultz (jw@pegasys.ws)
Date: Fri Dec 27 2002 - 10:13:53 EST


On Fri, Dec 27, 2002 at 02:14:45PM +0100, Mikael Olenfalk wrote:
> I can only set UDMA3,4,5 if I pass the ide{1,2}=ata66 kernel boot
> parameter. Actually I don't really care that much about the speed for
> now, I would rather like the thing to work at all :)
>
> The PDC20268 sporadically gives me DMA errors when doing the first
> parity sync of my software RAID5. The last few times it has always been
> the same disk, but that is no requirement (sometimes hde 02:00, hdg
> 03:00, not so often one of the slave disks on the channel).
>
> But the only system seems to be that It either always bails out at
> 30-36% percent of the parity sync or in case it does not bail out the
> speed goes down to 60-80kB/sec, which will finish the sync after 16,000
> or so minutes (definitely too long).
>
> I thought of returning the IBM drives and getting MAXTOR instead, as I
> have heard rumors about the bad quality of the IBM drives. Still this
> seems to be a problem with the controller and/or in combination with MD.
> The drives gives me NO problems when just writing and/or reading them
> with dd if=/dev/zero of=/dev/hd[efgh]. Even running the bonnie++
> benchmark on them with a 20GB file gives no errors (simultaneously).

I'm a bit suprised noone else has mentioned this so i will.
Your RAID description seems to indicate it is built of four
drives on a two channel HBA. In other words you have two
pairs of drives each pair sharing a cable (master/slave).
It is my understanding that that is at best a recepe for
poor performance. From what i have heard ata66 and above is
problematic (out of spec) in that configuration. I imagine
such a configuration might also cause poor interactions
between the drives.

Aside from the reputed problems with PDC and with the IBM
"deathstar" drives you might first try adding another HBA
and use better cables before you scrap the drives.

-- 
________________________________________________________________
	J.W. Schultz            Pegasystems Technologies
	email address:		jw@pegasys.ws

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



This archive was generated by hypermail 2b29 : Tue Dec 31 2002 - 22:00:10 EST