From owner-freebsd-bugs Sat Apr 5 03:10:06 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA02222 for bugs-outgoing; Sat, 5 Apr 1997 03:10:06 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id DAA02215; Sat, 5 Apr 1997 03:10:02 -0800 (PST) Resent-Date: Sat, 5 Apr 1997 03:10:02 -0800 (PST) Resent-Message-Id: <199704051110.DAA02215@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, rv@disa.uni.net.za 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 ; 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 X-Send-Pr-Version: 3.2 Subject: kern/3201: de0 not re-enabled after hub down Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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 real memory = 268435456 (262144K bytes) avail memory = 261218304 (255096K bytes) eisa0: Probing for devices on the EISA bus Probing for devices on PCI bus 0: chip0 rev 1 on pci0:0 chip1 rev 5 on pci0:7:0 de0 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 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: