Subject: Re: network on Netra does not work
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 10/12/2002 18:22:44
On Sat, Oct 12, 2002 at 05:48:31PM +0200, David Wetzel wrote:
> 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.

Yes.
Maybe try the second ethernet too

> 
> 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

Looks like interrupt are not working.
But I wonder if the "interrupting at ivec 0" is right.

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