> On Wed, 8 Dec 1999, Michael Trainor wrote:
>
> > I've got a Dual Celeron 466 system (Abit BP6) running four maxtor IDE
> > hard drives on the ATA66 controller (using ATA33 for all four drives).
>
> I have the same box with PIIX4 onboard and extra HPT ata66 controller; 4
> identical bigfoots, raid0.
> However, I keep getting the SMP-IDE-RAID lockups.
>
> > I'm running 2.2.14pre11 with the ide patch and the latest raid patch
> > (8/24?). ATA/66 mode is disabled for the channels (lock up problems).
>
> I wonder if you're trying to say that you fixed the lockups by disabling
> Ultra/66 on your controller. If so, I really wanna know how to do that, so
> I can enable SMP again.
>
When you ask about disabling Ultra/66 on the controller, you're talking
about hitting Control-H, right? If so, no, I couldn't find anyway to do
that. It appears that even if you tell the hpt bios that the drive should
only be Ultra/33, the hpt code in the linux ide patch forces the drives back
into Ultra/66.
In any event, I ended up browsing through the code (experienced programmer,
linux kernel newbie) and found that I could disable Ultra/66 by changing
#DEFINE HPT366_ALLOW_ATA66_4 1 to #DEFINE HPT366_ALLOW_ATA66_4 0
Once I did that (and rebuilt and the whole hoopla), IDE, RAID and SMP are
rock stable under any load I've simulated. (Though it's only been somewhere
around 24 hours or so). Previous to the change I couldn't keep the machine
running while using the drives under heavy load for more than a few seconds.
I could copy files to it, but if I popped into another console and did some
other access, I'd get a message about DMA timeout (or something similar) and
the machine would effectively lock (I spent a lot of the last four days to
fsck's on my boot drive, a 9GB SCSI).
Quick synopsis: I grabbed 2.2.13, dropped in pre11, ide-patch for pre11
(forget the name) and then the raid patch from 8/24. Modified hpt366.c (the
above define), build and install. Stable so far.
Does that answer in sufficient detail? If not, let me know what's not clear
and I'll try and expound. Personally I have little interest in the ATA66
support (I'd use it if it works though), but the extra four drive support is
very important.
Mike