From owner-freebsd-questions Sun Feb 26 12:06:50 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id MAA01663 for questions-outgoing; Sun, 26 Feb 1995 12:06:50 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.1]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id MAA01654 for ; Sun, 26 Feb 1995 12:06:39 -0800 Received: from corbin.Root.COM (corbin.Root.COM [198.145.90.18]) by Root.COM (8.6.8/8.6.5) with ESMTP id MAA21137; Sun, 26 Feb 1995 12:05:38 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.9/8.6.5) with SMTP id MAA00692; Sun, 26 Feb 1995 12:05:38 -0800 Message-Id: <199502262005.MAA00692@corbin.Root.COM> X-Authentication-Warning: corbin.Root.COM: Host localhost didn't use HELO protocol To: brian@mediacity.com (Brian Litzinger) cc: freebsd-questions@FreeBSD.org Subject: Re: maxwait in if_ed.c not long enough In-reply-to: Your message of "Sun, 26 Feb 95 09:24:09 PST." From: David Greenman Reply-To: davidg@Root.COM Date: Sun, 26 Feb 1995 12:05:31 -0800 Sender: questions-owner@FreeBSD.org Precedence: bulk >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