From rv@disa.uni.net.za  Sat Apr  5 03:03:26 1997
Received: from disa.uni.net.za (disa.uni.net.za [155.232.240.15])
          by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id DAA02046
          for <FreeBSD-gnats-submit@freebsd.org>; Sat, 5 Apr 1997 03:03:23 -0800 (PST)
Received: (from rv@localhost) by disa.uni.net.za (8.8.5/8.7.3) id NAA12683; Sat, 5 Apr 1997 13:03:09 +0200 (SAT)
Message-Id: <199704051103.NAA12683@disa.uni.net.za>
Date: Sat, 5 Apr 1997 13:03:09 +0200 (SAT)
From: rv@disa.uni.net.za
Reply-To: rv@disa.uni.net.za
To: FreeBSD-gnats-submit@freebsd.org
Subject: de0 not re-enabled after hub down
X-Send-Pr-Version: 3.2

>Number:         3201
>Category:       kern
>Synopsis:       de0 not re-enabled after hub down
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    peter
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr  5 03:10:01 PST 1997
>Closed-Date:    Thu Jan 10 10:52:56 PST 2002
>Last-Modified:  Thu Jan 10 10:53:45 PST 2002
>Originator:     Russell Vincent
>Release:        FreeBSD 2.2-STABLE i386
>Organization:
University of Cape Town
>Environment:

de0 is a SMC EtherPower 10Base-T Ethernet Adapter - SMC8432T

  Kernel probe:
FreeBSD 2.2-RELEASE #0: Thu Mar 20 08:55:21 SAT 1997
    root@pineapple.uni.net.za:/usr/src/sys/compile/UNINET
CPU: Pentium (132.63-MHz 586-class CPU)
  Origin = "GenuineIntel"  Id = 0x52c  Stepping=12
  Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 268435456 (262144K bytes)
avail memory = 261218304 (255096K bytes)
eisa0: <ASU5201 (System Board)>
Probing for devices on the EISA bus
Probing for devices on PCI bus 0:
chip0 <Intel 82439> rev 1 on pci0:0
chip1 <Intel 82375EB PCI-EISA bridge> rev 5 on pci0:7:0
de0 <Digital 21041 Ethernet> rev 17 int a irq 9 on pci0:9
de0: 21041 [10Mb/s] pass 1.1
de0: address 00:00:c0:37:5e:d6
ahc0 <Adaptec 2940 Ultra SCSI host adapter> rev 0 int a irq 12 on pci0:10
ahc0: aic7880 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
[ snip ]

>Description:

If the UTP cable is disconnected for about 5 seconds or the hub
powered off for about 5 seconds, the de driver does not detect
that the cable is back in or the hub working again.

I have this problem on 6 machines, so it doesn't appear to be
hardware related.

Doing an 'ifconfig de0 down' followed by 'ifconfig de0 up' on the
console fixes the problem.

>How-To-Repeat:

Disconnect the UTP cable for about 5 seconds and plug it back in
again - the driver will not detect that the network is back up.
Do 'ifconfig de0 down' followed by 'ifconfig de0 up' to re-enable
the network.

>Fix:
	
I work around the problem by having a process that pings the
hub every few minutes and does the ifconfig every now and then
until the network is up again.

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->peter 
Responsible-Changed-By: phk 
Responsible-Changed-When: Sun Apr 26 23:47:20 PDT 1998 
Responsible-Changed-Why:  
->peter 

From: Kevin Day <toasty@home.dragondata.com>
To: freebsd-gnats-submit@freebsd.org
Cc:  Subject: Re: kern/3201: de0 not re-enabled after hub down
Date: Sun, 19 Jul 1998 15:55:39 -0500 (CDT)

 While this doesn't fix the root problem, not letting the card auto-detect
 the media type (ifconfig de0 media 10BaseT/UTP) instead of autoselect cures
 this problem.
 
 Kevin
State-Changed-From-To: open->closed 
State-Changed-By: silby 
State-Changed-When: Thu Jan 10 10:52:56 PST 2002 
State-Changed-Why:  
PR refers to an old version of the OS with an old network 
driver and has not been touched in > 2 years; time to close it. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3201 
>Unformatted:
