From anarcat@anarcat.dyndns.org Thu Mar 7 10:58:44 2002 Return-Path: Received: from tomts19-srv.bellnexxia.net (tomts19.bellnexxia.net [209.226.175.73]) by hub.freebsd.org (Postfix) with ESMTP id 1DB9937B400 for ; Thu, 7 Mar 2002 10:58:43 -0800 (PST) Received: from khan.anarcat.dyndns.org ([65.94.191.9]) by tomts19-srv.bellnexxia.net (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20020307185842.GGOK20823.tomts19-srv.bellnexxia.net@khan.anarcat.dyndns.org> for ; Thu, 7 Mar 2002 13:58:42 -0500 Received: from lenny.anarcat.dyndns.org (lenny.anarcat.dyndns.org [192.168.0.4]) by khan.anarcat.dyndns.org (Postfix) with SMTP id 1682818C8; Thu, 7 Mar 2002 13:57:51 -0500 (EST) Received: by lenny.anarcat.dyndns.org (sSMTP sendmail emulation); Thu, 7 Mar 2002 13:58:48 -0500 Message-Id: <20020307185751.1682818C8@khan.anarcat.dyndns.org> Date: Thu, 7 Mar 2002 13:58:48 -0500 From: The Anarcat Reply-To: The Anarcat To: FreeBSD-gnats-submit@freebsd.org Cc: anarcat@anarcat.dyndns.org Subject: heavy collision rate hangs vr network interface X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 35640 >Category: kern >Synopsis: heavy collision rate hangs vr network interface >Confidential: no >Severity: critical >Priority: high >Responsible: silby >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 07 11:00:02 PST 2002 >Closed-Date: Sun May 19 18:20:52 PDT 2002 >Last-Modified: Sun May 19 18:20:52 PDT 2002 >Originator: The Anarcat >Release: FreeBSD 4.5-STABLE i386 >Organization: Nada, Inc >Environment: System: FreeBSD lenny.anarcat.dyndns.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Mon Mar 4 12:16:06 EST 2002 anarcat@lenny.anarcat.dyndns.org:/usr/src/sys/compile/LENNY i386 10 baseT/UTP network, 2 machines connected through a 4 port Hub. >Description: I can reproducibly hang my 4.5-STABLE server when FTP uploading at around 1Mb/s. The collision rate is extremely high for some reason, input (Total) output packets errs bytes packets errs bytes colls 698 0 1053348 512 0 30756 417 After around 30 seconds of full use of the bandwidth, all network connections hang, and I have to reset the interface (ifconfig down/up) in order to bring back network capabilities. >How-To-Repeat: More info on the hardware: Server side: vr0: port 0x6600-0x66ff mem 0xe1001000-0xe10010ff irq 10 at device 11.0 on pci0 Client side: rl0: port 0x9400-0x94ff mem 0xd6800000-0xd68000ff irq 9 at device 9.0 on pci0 Base system ftp clients and servers. Simply ftp upload around 15-20 Mbytes of data. >Fix: To temporarly unhang the machine, ifconfig down/up the guilty interface. Unknown long-term fix. >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: silby State-Changed-When: Thu Mar 7 15:09:07 PST 2002 State-Changed-Why: Update the client system to today's -stable (rlphy.c, specifically.) There was a fix committed to the rl driver which makes it behave better on 10baseT networks. Of course, that doesn't explain the vr system locking up, but it may be a good enough solution for you. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35640 State-Changed-From-To: feedback->open State-Changed-By: silby State-Changed-When: Thu Mar 7 22:28:11 PST 2002 State-Changed-Why: The Anarcat reports that even with the rl fix, his network situation has not changed. It looks like an investigation of the vr driver is in order. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35640 From: The Anarcat To: freebsd-gnats-submit@FreeBSD.org Cc: Subject: Re: kern/35640: heavy collision rate hangs vr network interface Date: Fri, 08 Mar 2002 15:40:45 -0500 It seems this PR is a duplicate of several others, and that there is a solution for the hanging problems of the vr. Please see: kern/26613: ethernet vr0 hangs kern/17965: vr (MII-bus version in 4.0 ONLY) driver lock-up problems kern/12966: receiver lockups in vr0 driver pr kern/17965 features a fix that should be applied. I will test it in a few minutes. From: "Internet Partners Inc. Support" To: , Cc: Subject: Re: kern/35640: heavy collision rate hangs vr network interface Date: Wed, 17 Apr 2002 18:01:44 -0700 please also reference PR kern/35720 same problem, patch included. Responsible-Changed-From-To: freebsd-bugs->wpaul Responsible-Changed-By: dougb Responsible-Changed-When: Thu Apr 25 21:49:57 PDT 2002 Responsible-Changed-Why: Bill already has some of the other vr pr's. http://www.freebsd.org/cgi/query-pr.cgi?pr=35640 Responsible-Changed-From-To: wpaul->silby Responsible-Changed-By: silby Responsible-Changed-When: Fri May 17 10:43:03 PDT 2002 Responsible-Changed-Why: I'm taking all the vr-related PRs for now. http://www.freebsd.org/cgi/query-pr.cgi?pr=35640 State-Changed-From-To: open->closed State-Changed-By: silby State-Changed-When: Sun May 19 18:20:03 PDT 2002 State-Changed-Why: A fix to automatically reset the network card when this condition occurs has been committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=35640 >Unformatted: