Subject: Re: kern/18051: tlp doesn't configure media, faults on apm reset
To: None <raeburn@raeburn.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-bugs
Date: 08/24/2002 16:48:23
On Fri, Aug 23, 2002 at 01:45:54PM -0400, raeburn@raeburn.org wrote:
> 
> >Number:         18051
> >Category:       kern
> >Synopsis:       tlp doesn't configure media, faults on apm reset
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    kern-bug-people
> >State:          open
> >Class:          sw-bug
> >Submitter-Id:   net
> >Arrival-Date:   Fri Aug 23 10:46:00 PDT 2002
> >Closed-Date:
> >Last-Modified:
> >Originator:     Ken Raeburn <raeburn@raeburn.org>
> >Release:        1.6 branch as of a few days ago
> >Organization:
> 	not much
> >Environment:
> 	
> NetBSD 1.6 branch with kernel based on GENERIC 1.491.4.2
> Architecture: i386
> Machine: i386
> >Description:
> 
> Following the lead of the GENERIC config, I updated my machine's
> config to use the tulip driver rather than the de driver for my 4-port
> card.
> 
> #de*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
> tlp*	at pci? dev ? function ?	# DECchip 21x4x (and clones) Ethernet
> 
> I brought up my new kernel in single-user mode (so the fact that the
> remaining user-land code is much older shouldn't matter much), and
> walked away.
> 
> During boot, all four ports were identified as "DECchip 21143 Ethernet
> pass 4.1".  All four also reported IRQ and ethernet address, and then
> these messages:
> 
> tlp0: OUI 0x1000e8 model 0x0001 rev 0 at tlp0 phy 1 not configured
> tlp0: unable to configure MII
> tlp0: no media found!

You need dont configure PHYs in you kernel.
I think this PHY is either a nsphy or nsphyter, so add a last:
nsphy*  at mii? phy ?                   # NS83840 PHYs
nsphyter* at mii? phy ?                 # NS83843 PHYs 

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
--