From owner-freebsd-bugs Thu Apr 13 17: 2: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from mx1.ews.uiuc.edu (mx1.ews.uiuc.edu [130.126.161.237]) by hub.freebsd.org (Postfix) with ESMTP id C3B4937BAC6 for ; Thu, 13 Apr 2000 17:02:05 -0700 (PDT) (envelope-from locke@mcs.net) Received: from pete.mcs.net (isr4186.urh.uiuc.edu [130.126.208.202]) by mx1.ews.uiuc.edu (8.9.3/8.9.3) with ESMTP id TAA07651; Thu, 13 Apr 2000 19:01:54 -0500 (CDT) Message-Id: <4.3.1.2.20000413185330.022f58f0@popmail.mcs.net> X-Sender: locke@popmail.mcs.net X-Mailer: QUALCOMM Windows Eudora Version 4.3.1 Date: Thu, 13 Apr 2000 19:01:54 -0500 To: Bill Paul From: Peter Johnson Subject: Re: kern/17965: vr (MII-bus version in 4.0 ONLY) driver lock-up problems Cc: bugs@freebsd.org In-Reply-To: <200004132106.RAA29981@skynet.ctr.columbia.edu> References: <200004130316.UAA17121@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org At 05:06 PM 4/13/2000 -0400, Bill Paul wrote: >Of all the gin joints in all the towns in all the world, locke@mcs.net >had to walk into mine and say: > > > Moderate to heavy traffic load on the vr card can periodically cause > > the network to completely freeze up (all connections die, everything > > unreachable with ping, etc) for about 10-30 secs. Also, the following > > message appears in the system log: > > vr0: watchdog timeout > >The only thing I can come up with is that polling the MII bus while >the chip is transmitting might be confusing it. (This driver uses >the bitbang MII access method, which requires reading lots of registers.) >I'm including a patch for if_vr.c and if_vrreg.h which should drastically >cut down on the register accesses. This *may* help, but I need you to >test it to be sure. No, unfortunately, it didn't help. My test has been to download and then subsequently upload a 62 MB file using FTP from my FreeBSD server to my workstation, plugged into the same switch. With the non-MII-bus drivers this transfer completes with no problem. Even with the patch, the download locked up the link after about 40 meg had been transferred; it came back and finished after about 20 secs, and the "watchdog timeout" message appeared in the system log. More details on my network setup if this would help: - D-Link DFE-530TX card - NetGear FS108 Fast Ethernet switch Both my workstation and my server have the D-Link cards, both are plugged into this switch at FDX 100-mbit. Thanks, Peter Johnson locke@mcs.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message