Subject: setting ethernet MAC addresses on the Netra X1?
To: None <port-sparc64@netbsd.org>
From: Aditya <aditya@mighty.grot.org>
List: port-sparc64
Date: 05/29/2002 14:01:18
I just built current on a Netra X1 2 days ago. Almost everything seems to work
well (apart from sa core dumping), however I have a more annoying problem for
which a search through the archives failed to yield any clues.

The Netra X1 has 2 ethernet interfaces which are recognized:

 tlp0 at pci0 dev 12 function 0: Davicom DM9102A Ethernet, pass 3.1
 tlp0: broken MicroWire interface detected; setting SROM size to 1Kb
 tlp0: interrupting at ivec 3006
 tlp0: Ethernet address 00:03:ba:0a:15:ba
 ukphy0 at tlp0 phy 1: Generic IEEE 802.3u media interface
 tlp1 at pci0 dev 5 function 0: Davicom DM9102A Ethernet, pass 3.1
 tlp1: broken MicroWire interface detected; setting SROM size to 1Kb
 tlp1: interrupting at ivec 301c
 tlp1: Ethernet address 00:03:ba:0a:15:ba
 ukphy1 at tlp1 phy 1: Generic IEEE 802.3u media interface

as you can see above, both interfaces have the same MAC address...is there any
way to set the MAC address on tlp1 to be different than that for tlp0? (If I
didn't have both interfaces on separate VLANs on the same switch, it might not
be a problem...but they _are_ supposed to be uniquely indentified interfaces
right?)

I also get stuff like:

tlp0: receive process failed to idle: state RUNNING - WAIT
tlp0: receive process failed to idle: state RUNNING - WAIT
tlp1: receive process failed to idle: state RUNNING - WAIT
tlp1: receive process failed to idle: state RUNNING - WAIT
tlp1: receive process failed to idle: state RUNNING - WAIT

which causes the interface to lock up for about 10 seconds.

hints appreciated.

NetBSD some 1.6A NetBSD 1.6A (SOME) #2: Tue May 28 16:10:44 PDT 2002
aditya@some:/usr/src/sys/arch/sparc64/compile/SOME sparc64

Thanks,
Adi