Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Apr 1997 13:03:09 +0200 (SAT)
From:      rv@disa.uni.net.za
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/3201: de0 not re-enabled after hub down
Message-ID:  <199704051103.NAA12683@disa.uni.net.za>
Resent-Message-ID: <199704051110.DAA02215@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         3201
>Category:       kern
>Synopsis:       de0 not re-enabled after hub down
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr  5 03:10:01 PST 1997
>Last-Modified:
>Originator:     Russell Vincent
>Organization:
University of Cape Town
>Release:        FreeBSD 2.2-STABLE i386
>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.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199704051103.NAA12683>