Hard lock-ups on RH7.2 install - Via Chipset?
Greetings fellow bit jockeys,
This has been driving me nuts for over a week now. All discussion found and solutions tried so far have proven fruitless. If someone could point me at a fix or offer any insights, I would be most thrilled. I've read about some Athlon/Via related problems, so I'm hoping it fits in with that somehow.
The box is a AMD 1.3GHz Athlon with a "bcm Advanced Research" BC133KT-100 motherboard (Via KT133/VT8363/686B), two Promise Ultra100Tx2 cards, and an IBM 75gb drive on each IDE channel (four drives in all). The graphics card is an Nvidia TNT2 AGP, but I'm thinking that doesn't matter too much as the problem occurs just fine in character mode with no activity on the screen. I've yanked out network cards, disabled unused ports, picked conservative BIOS settings, but to no avail.
The problem first occurred when I tried to do a RH7.2 install. I set each drive up identically, creating a software RAID5 container across all four drives. The box consistently freezes solid either while creating the ext3 filesystem on RAID5, or in the early phases of the .rpm march. (Note that means concurrent load on all four drives...)
Numerous things tried... Finally booted into rescue mode (starting with the latest RH7.2 updated boot image, FWIW) and tried running concurrent dd's out to the drives in various combinations, as in:
(dd if=/dev/zero of=/dev/hde2 &) ; (dd if=/dev/zero of=/dev/hdg2 &) ; etc...
What I found was that writing out to any two drives was fine. Writing to all four will consistently lock up the machine after about 5-10 seconds. So it seems load related. (No, I didn't try three drives.)
Any clues? Any fixes? Pretty please? :)
-cw-
On Tue, Feb 12, 2002 at 05:27:39PM +0000, Alan Cox waxed eloquent:
Quoted 4 lines
Quoted 4 lines
What I found was that writing out to any two drives was fine. Writing to all four will consistently lock up the machine after about 5-10 seconds. So it seems load related. (No, I didn't try three drives.)
[...]
Quoted 6 lines
Its just another identical report of VIA + high PCI load hanging. It might be the promise drivers it might be the chipset. However people have run the same set up on intel boards without seeing this kind of problem so its not clear.
2.4.18pre9-ac has the newer ide layer, but Im dubious that will help
I can confirm that it still locks up. :/ What can I do to help? Anyone I should beat on, or send beer and pizza to?
-cw-
Signature · 11 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Charlie Wilkinson - [email protected] - N3HAZ
Parental Unit, UNIX Admin, Homebrewer, Cat Lover, Spam Fighter, HAM, SWLer...
Visit the Radio For Peace International Website: http://www.rfpi.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
CLOBBER INTERNET SPAM: See!! <http://spam.abuse.net/>
Join!! <http://www.cauce.org/>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
QOTD:
The 50-50-90 rule: Anytime you have a 50-50 chance of getting something
right, there's a 90% probability you'll get it wrong.Quoted 1 line
I can confirm that it still locks up. :/ What can I do to help?
I'm assuming its a hardware issue. It works on non VIA for multiple people it fails on VIA for multiple people
On Thu, Feb 21, 2002 at 04:33:23PM +0000, Alan Cox waxed eloquent:
Quoted 5 lines
Quoted 2 lines
I can confirm that it still locks up. :/ What can I do to help?
I'm assuming its a hardware issue. It works on non VIA for multiple people it fails on VIA for multiple people
yeah, appears to be specific to the KT133 (not 233), as Mark indicated. If I recall I've seen reports that this has happened with the KT133A as well, though I wonder if they are all related specifically to PCI load, or might it be the old Athlon optimization problem in some cases? (That was a seperate and distinct issue, generally unrelated to this problem, yes?)
And then there was something about incorrect chipset register settings from the BIOS...
I'm getting confused.... 8-o
One thing I noticed - and it may mean nothing - but I noticed that during my load tests the drive access lights were not always on solid, that the lights went out for all drives for a small fraction of a second occasionally. (concurrent dd's from /dev/zero to each drive.) I was wondering if this might possibly work back to some kind of timeout issue. And more importantly, is it possible to crank up debugging messages in the kernel and watch for that sort of thing. Is there any point?
Thanks for any tips.
-cw-
On Thu, Feb 21, 2002 at 04:33:23PM +0000, Alan Cox waxed eloquent:
Quoted 5 lines
.
Quoted 1 line
I can confirm that it still locks up. :/ What can I do to help?
.
I'm assuming its a hardware issue. It works on non VIA for multiple people it fails on VIA for multiple people
I think I found a solution. At the very least, I've found something that drastically affects reliability of this hardware combo.
The combo in question is a KT133 chipset (Phoenix BIOS), Athlon 1.3GHz, 2 Promise Ultra100 IDE controllers with an IBM 75gb drive on each channel (4 drives). Doing anything that beat on all 4 drives sufficiently (such as software RAID5) would hang the system hard.
The magic settings that had a drastic impact on reliability were the PCI device latency timers. The early settings I tried just changed how long the system would run before it crashed (in some cases making things *much* worse). Then after more of something one could loosely term "research", I hit on some settings that seem to have resulted in a fully stable system!
Forthwith and to wit:
setpci -v -d *:* latency_timer=b0
setpci -v -d 105a:* latency_timer=ff
Yes, that's a baseline setting of 176 for everything, then max settings for the two Promise cards. Rather drastic? Perhaps, but it works. More research and tweaking is probably in order.
I wanted to get the news out -- even if a bit premature -- in hopes that it might relieve someone else's grief. It's really sucked having all this hardware for three months and not being able to put it to good use (unless crash testing counts...)
-cw-