From Andre.Albsmeier@siemens.com  Fri Dec 25 18:20:23 2009
Return-Path: <Andre.Albsmeier@siemens.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 072FD1065692
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Dec 2009 18:20:23 +0000 (UTC)
	(envelope-from Andre.Albsmeier@siemens.com)
Received: from goliath.siemens.de (goliath.siemens.de [192.35.17.28])
	by mx1.freebsd.org (Postfix) with ESMTP id 931728FC32
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Dec 2009 18:20:22 +0000 (UTC)
Received: from mail1.siemens.de (localhost [127.0.0.1])
	by goliath.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBPIKLaS025470
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Dec 2009 19:20:21 +0100
Received: from curry.mchp.siemens.de (curry.mchp.siemens.de [139.25.40.130])
	by mail1.siemens.de (8.12.11.20060308/8.12.11) with ESMTP id nBPIKLQW016521
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 25 Dec 2009 19:20:21 +0100
Received: (from localhost)
	by curry.mchp.siemens.de (8.14.3/8.14.3) id nBPIKLSK064426
	for FreeBSD-gnats-submit@freebsd.org; Fri, 25 Dec 2009 19:20:21 +0100 (CET)
Message-Id: <200912251820.nBPIKLUI079846@curry.mchp.siemens.de>
Date: Fri, 25 Dec 2009 19:20:21 +0100 (CET)
From: Andre Albsmeier <Andre.Albsmeier@siemens.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: em needs "ifconfig em0 down up" when link was gone
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         142019
>Category:       kern
>Synopsis:       [em] em needs "ifconfig em0 down up" when link was gone
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jfv
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 25 18:30:01 UTC 2009
>Closed-Date:    
>Last-Modified:  Mon Aug 23 17:41:22 UTC 2010
>Originator:     Andre Albsmeier
>Release:        FreeBSD 7.2-STABLE i386
>Organization:
>Environment:

System: FreeBSD 7.2-STABLE #0: Sat Nov 28 12:28:42 CET 2009 

em0: <Intel(R) PRO/1000 Network Connection 6.9.6> port 0xcf00-0xcf1f mem 0xfd7e0000-0xfd7fffff irq 16 at device 0.0 on pci2
em0: Using MSI interrupt

em0@pci0:2:0:0: class=0x020000 card=0x64101462 chip=0x109a8086 rev=0x00 hdr=0x00
    vendor     = 'Intel Corporation'
    device     = 'Intel PRO/1000 PL Network Adaptor (82573L)'
    class      = network
    subclass   = ethernet

>Description:

The em0 interface mentioned above is connected to another 100MBit
Ethernet device through a cross cable. Everything works until
this other device is powered down and up again. In this case
one can't talk to this device anymore:

gate:~>ping 192.168.128.66
PING 192.168.128.66 (192.168.128.66): 56 data bytes
ping: sendto: No buffer space available
ping: sendto: No buffer space available
ping: sendto: No buffer space available
...

After running "ifconfig em0 down up" on the FreeBSD box all is
well (pinging and transferring files) until the other device
has been  powered down and up again.

The very same hardware didn't show this problem in 6-STABLE
so I assume something has changed in the em driver.

>How-To-Repeat:

See above. I tried with a satellite dish receiver and another
fxp-based machine as the other device.

>Fix:

Unknown, possibly a MFC of the em driver from 8-STABLE
might be enough, see:
 
http://lists.freebsd.org/pipermail/freebsd-stable/2009-November/052887.html

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Sat Dec 26 07:41:55 UTC 2009 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=142019 
Responsible-Changed-From-To: freebsd-net->jfv 
Responsible-Changed-By: andre 
Responsible-Changed-When: Mon Aug 23 17:40:59 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer. 

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