From nobody@FreeBSD.org  Sat Jun 19 18:56:32 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id A45AF16A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 19 Jun 2004 18:56:32 +0000 (GMT)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 9E01243D5C
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 19 Jun 2004 18:56:32 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i5JItlMG004472
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 19 Jun 2004 18:55:47 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.11/8.12.11/Submit) id i5JItlhX004471;
	Sat, 19 Jun 2004 18:55:47 GMT
	(envelope-from nobody)
Message-Id: <200406191855.i5JItlhX004471@www.freebsd.org>
Date: Sat, 19 Jun 2004 18:55:47 GMT
From: Suihong Liang <s2liang@uwaterloo.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: serious network collisions after NIC "media/mediaopt" change
X-Send-Pr-Version: www-2.3

>Number:         68117
>Category:       i386
>Synopsis:       [nic] serious network collisions after NIC "media/mediaopt" change
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    remko
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 19 19:00:33 GMT 2004
>Closed-Date:    Mon Jul 09 16:01:51 GMT 2007
>Last-Modified:  Mon Jul 09 16:01:51 GMT 2007
>Originator:     Suihong Liang
>Release:        5.2.1
>Organization:
University of Waterloo
>Environment:
FreeBSD hurricane.cs.uwaterloo.ca 5.2.1-RELEASE FreeBSD 5.2.1-RELEASE #1: Thu Jun 17 13:09:16 GMT 2004     root@hurricane.cs.uwaterloo.ca:/usr/src/sys/i386/compile/REAL  i386
>Description:
If the NIC's media/mediaopt is ever changed, then start a file transfer, there will be lots of network collision (~75%) reported by netstat. The collisions were also confirmed by the Netgear FS524 switch.

The NIC I have tried are: em0, rl0.

Note that same hardware configuration under Linux 2.6 works smoothly.
>How-To-Repeat:
ifconfig em0 media 10baseT/UTP mediaopt half-duplex (or full-duplex)

then scp a big file.
>Fix:
      
>Release-Note:
>Audit-Trail:

From: Maxim Konovalov <maxim@macomnet.ru>
To: Suihong Liang <s2liang@uwaterloo.ca>
Cc: bug-followup@freebsd.org
Subject: i386/68117
Date: Tue, 18 Apr 2006 20:09:05 +0400 (MSD)

 Hello,
 
 The described behaviour is more than expected.  You must have the same
 duplex sets on both sides of the link (i.e. NIC and switch port).
 Moreover, media autoselection is often works unreliable or doesn't
 work as expected.
 
 I don't see what we need to fix in FreeBSD really.
 
 -- 
 Maxim Konovalov
State-Changed-From-To: open->feedback 
State-Changed-By: remko 
State-Changed-When: Mon Sep 11 12:59:47 UTC 2006 
State-Changed-Why:  
Hello, 

Maxim provided feedback, and in my opinion he is right. 
I have seen this behaviour at my former boss where we 
had a very large infrastructure and this problem occurred 
very now and then when people changed the duplex/speed mode 
on a nic and forgot to change the backends. 

Please confirm that you took notice of this feedback. 


Responsible-Changed-From-To: freebsd-i386->remko 
Responsible-Changed-By: remko 
Responsible-Changed-When: Mon Sep 11 12:59:47 UTC 2006 
Responsible-Changed-Why:  
grab the pr 

http://www.freebsd.org/cgi/query-pr.cgi?pr=68117 
State-Changed-From-To: feedback->closed 
State-Changed-By: linimon 
State-Changed-When: Mon Jul 9 16:00:41 UTC 2007 
State-Changed-Why:  
Feedback timeout (> 6 months).  The recommendation from 2 committers 
was "don't do that". 

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