Subject: kern/17209: de fails to detect active link
To: None <gnats-bugs@gnats.netbsd.org>
From: James K. Lowden <jklowden@schemamania.org>
List: netbsd-bugs
Date: 06/10/2002 20:29:47
>Number:         17209
>Category:       kern
>Synopsis:       After network outage, de(4) mistakenly picked AUI intead of UTP.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 10 17:30:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     James K. Lowden
>Release:        1.5.2
>Organization:
>Environment:
NetBSD ntc5003.acml.com 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05
CEST 2001 he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
The network routers were taken down over the weekend
for some sort of maintenance.  On Monday morning, the machine was not
on the network.  "dmesg" showed the de driver had lost its connection
and had sought an active link.  "ifconfig -au" showed it settled on AUI. 
Trouble is, the real hookup is 10BaseT.  

I understand that some hardware doesn't reliably report media status;
ifconfig showed the 10Base5 media as "active".  Perhaps the driver
could be made aware of such unreliability (or note the forced setting
via ifconfig), and avoid seeking other media when the working one goes
down.  

>How-To-Repeat:
	Unplug the UTP for a while?  
	
>Fix:
	ifconfig de0 media UTP
>Release-Note:
>Audit-Trail:
>Unformatted: