Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Feb 1995 12:05:31 -0800
From:      David Greenman <davidg@Root.COM>
To:        brian@mediacity.com (Brian Litzinger)
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: maxwait in if_ed.c not long enough 
Message-ID:  <199502262005.MAA00692@corbin.Root.COM>
In-Reply-To: Your message of "Sun, 26 Feb 95 09:24:09 PST." <m0rimhV-000rbtC@easynet.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
>I was not sure which group I should post this too, being somwhat new
>to FreeBSD, so I thought I'd start here and hopefully get some direction
>if this is not the correct place.
>
>I recent upgraded my LAPTOP from a DX2/66 to a DX4/100 and begin
>getting
>
>    ed1: remote transmit DMA failed to complete
>
>After a number of these messages, the system would freeze up.
>
>The problem seems to be related to 'maxwait' in the if_ed.c file.
>
>I changed the two lines which read:
>
>        int     maxwait = 100;   /* about 120us */
>
>to
>
>        int     maxwait = 100*100/66;   /* about 120us */
>
>and this seemed to remedy the problem.

   Thanks. 100*100/66 is 151. I instead doubled the count to 200 (240us) - this
will hopefully handle extreme cases.

-DG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199502262005.MAA00692>