From anarcat@anarcat.dyndns.org  Thu Feb 28 15:33:27 2002
Return-Path: <anarcat@anarcat.dyndns.org>
Received: from tomts23-srv.bellnexxia.net (tomts23.bellnexxia.net [209.226.175.185])
	by hub.freebsd.org (Postfix) with ESMTP id 162E637B41B
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 28 Feb 2002 15:33:23 -0800 (PST)
Received: from khan.anarcat.dyndns.org ([65.94.182.28])
          by tomts23-srv.bellnexxia.net
          (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP
          id <20020228233106.KGAP7197.tomts23-srv.bellnexxia.net@khan.anarcat.dyndns.org>
          for <FreeBSD-gnats-submit@freebsd.org>;
          Thu, 28 Feb 2002 18:31:06 -0500
Received: from shall.anarcat.dyndns.org (shall.anarcat.dyndns.org [192.168.0.1])
	by khan.anarcat.dyndns.org (Postfix) with ESMTP
	id 5C0D1190E; Thu, 28 Feb 2002 18:33:14 -0500 (EST)
Received: by shall.anarcat.dyndns.org (Postfix, from userid 1000)
	id 0B8FC20ACC; Thu, 28 Feb 2002 18:33:50 -0500 (EST)
Message-Id: <20020228233350.0B8FC20ACC@shall.anarcat.dyndns.org>
Date: Thu, 28 Feb 2002 18:33:50 -0500 (EST)
From: The Anarcat <anarcat@anarcat.dyndns.org>
Reply-To: The Anarcat <anarcat@anarcat.dyndns.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc: anarcat@anarcat.dyndns.org
Subject: rl driver generates large amount of collisions on heavy load
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         35435
>Category:       kern
>Synopsis:       rl driver generates large amount of collisions on heavy load
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    danny
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 28 15:40:01 PST 2002
>Closed-Date:    Fri Jun 28 18:50:49 PDT 2002
>Last-Modified:  Fri Jun 28 18:50:49 PDT 2002
>Originator:     The Anarcat
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
Nada, Inc.
>Environment:
System: FreeBSD shall.anarcat.dyndns.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Wed Feb 6 01:37:56 EST 2002 anarcat@shall.anarcat.dyndns.org:/usr/src/sys/compile/SHALL i386

rl0: <D-Link DFE-530TX+ 10/100BaseTX> port 0x9400-0x94ff mem
0xd6800000-0xd68000ff irq 9 at device 9.0 on pci0
rl0: Ethernet address: 00:50:ba:bd:ce:41
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto


>Description:

I have been having intense network problems since the inclusion of this
machine in my lan. FTP transfers are generating a lot of collisions. The
network is 10baseT/UTP. If i use the machine as the client to upload
stuff to a local server, the throughput is around 1.1Mbyte/s, but I get
700 collisions/seconds. On download, it's half that number.

Note that the upload collision count is around 50 on Windows (the
machine is dual-boot), and this is the primary reason why I target the
driver as responsible for this behavior.

I tried changing the wires, without any luck.

>How-To-Repeat:

I'm fairly confident that the card is responsible for this behavior. At
least the driver for the card, as Windows doesn't show this behavior.

So:

1- build a box with this card in it
2- connect it to another box (an ftp server) using a crosslink wire, or
a hub
3- try an ftp upload or download

A side effect of this problem is that when I hit 700 collisions/second,
I can hang the network on the server. The server is a small machine
(P166 w/ 64M ram), but I still don't get how it can freeze. All other
functions are unaffected on the server.

>Fix:

Unknown.

For the side effect, a workaround is to ifconfig down/up the faulty
interface.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->danny 
Responsible-Changed-By: silby 
Responsible-Changed-When: Tue Mar 5 22:56:52 PST 2002 
Responsible-Changed-Why:  
The change Daniel O'Callaghan <danny@FreeBSD.org> committed to rlphy.c 
rev 1.6 sounds like it will fix this problem.  This change of responsibility 
is a reminder to Daniel to MFC the change, and also for The Anarcat to test 
it and see if it fixes the problem. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=35435 
State-Changed-From-To: open->closed 
State-Changed-By: silby 
State-Changed-When: Fri Jun 28 18:50:23 PDT 2002 
State-Changed-Why:  
Fix was MFC'd a looong time ago already.  Time to close the PR. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=35435 
>Unformatted:
