Subject: Re: network on Netra does not work
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: David Wetzel <dave@turbocat.de>
List: port-sparc64
Date: 10/12/2002 17:48:31
Hi Folks,

Manuel Bouyer wrote:

> If I remember properly, the netra has 2 ethernet interface,
> but shows up as only one with 2 PHYs on NetBSD, right ?

the machine has 2 ethernet ports. They show up as 

hme0 at pci1 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at ivec 3021
hme0: Ethernet address 08:00:20:b2:9b:33
ukphy0 at hme0 phy 0: Generic IEEE 802.3u media interface
ukphy0: OUI 0x0006b8, model 0x000c, rev. 1
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
ukphy1 at hme0 phy 1: Generic IEEE 802.3u media interface
ukphy1: OUI 0x0006b8, model 0x000c, rev. 1
ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
(...)
hme1 at pci1 dev 3 function 1: Sun Happy Meal Ethernet, rev. 1
hme1: interrupting at ivec 301a
hme1: Ethernet address 08:00:20:b2:9b:33
ukphy2 at hme1 phy 0: Generic IEEE 802.3u media interface
ukphy2: OUI 0x0006b8, model 0x000c, rev. 1
ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

That looks like the first port has two phys and the second has one.
Very strange.

My latest attempt was to disable hme in my kernel and added a working tlp network card:

tlp0 at pci3 dev 15 function 0: DECchip 21143 Ethernet, pass 4.1
tlp0: interrupting at ivec 0
tlp0: Ethernet address 00:40:c7:99:b5:75
ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
ukphy0: Am79C873 10/100 media interface (OUI 0x000676, model 0x0000), rev. 2
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto

after booting with this kernel, I get no working network but:

Oct 12 14:52:10 atlantis /netbsd: tlp0: filter setup and transmit timeout

> Maybe try to select a different PHY instance on hme0:
> ifconfig hme0 instance 0
> or
> ifconfig hme0 instance 1

I will try that later. But why is my PCI network card not working? 

Dave

---
   _  _
 _(_)(_)_  David Wetzel, Turbocat's Development,
(_) __ (_) Buchhorster Strasse 23, D-16567 Muehlenbeck/Berlin, FRG,
  _/  \_   Fax +49 33056 82835 Phone +49 33056 82834
 (______)  http://www.turbocat.de/  dave@turbocat.de