Subject: Re: port-i386/4830: NE2000 ethernet board interrupt trouble
To: None <current-users@NetBSD.ORG>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: current-users
Date: 01/16/1998 14:43:31
On 16 Jan 1998 22:14:19 GMT 
 tron@lyssa.owl.de (Matthias Scheler) wrote:

 > I agree that this kind of bugs exist. But reading his bug report I had
 > the impression that his fix was kludge to give his poor overstressed
 > hardware time to recover. The 337 MHz indicates that he's not only
 > overclocking the CPU but the system bus so that any kind of failures
 > of the I/O hardware are a logical consequence. I really would like to
 > know if the bug can be reproduced on a system without overclocked bus
 > speed.

Let me address this, now... say I have an NE2000 in a 533MHz Alpha (quite
plausible, although stupid :-) ... even though I'm not overclocking the
hardware, I could still run into this problem simply because the countdown
loop would expire too quickly.

If a comment in a piece of code says "wait 5ms", the code should take some
measures to make sure it waits at least that long.

Jason R. Thorpe                                       thorpej@nas.nasa.gov
NASA Ames Research Center                            Home: +1 408 866 1912
NAS: M/S 258-6                                       Work: +1 650 604 0935
Moffett Field, CA 94035                             Pager: +1 415 428 6939