Subject: Sun Quad Ethernet card on PC
To: None <port-sparc64@netbsd.org, port-i386@netbsd.org>
From: Joel CARNAT <joel@carnat.net>
List: port-sparc64
Date: 04/01/2005 20:21:26
--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

first, sorry for cross-posting, but I have a problem I don't know
which port it belongs to.

I have installed a SUN Quad Ethernet in an Intel PC.
dmesg says :
********************************
cpu0 at mainbus0: (uniprocessor)
cpu0: Intel Celeron (686-class), 631.45 MHz, id 0x686
=2E..
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) at =
pci2 dev 0 function 0 not configured
hme0 at pci2 dev 0 function 1: Sun Happy Meal Ethernet, rev. 1
hme0: interrupting at irq 9
hme0: Ethernet address 08:00:20:cc:0c:d4
OUI 0x0006b8 model 0x000c rev 1 at hme0 phy 1 not configured
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) at =
pci2 dev 1 function 0 not configured
hme1 at pci2 dev 1 function 1: Sun Happy Meal Ethernet, rev. 1
hme1: interrupting at irq 3
hme1: Ethernet address 08:00:20:cc:0c:d4
OUI 0x0006b8 model 0x000c rev 1 at hme1 phy 1 not configured
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) at =
pci2 dev 2 function 0 not configured
hme2 at pci2 dev 2 function 1: Sun Happy Meal Ethernet, rev. 1
hme2: interrupting at irq 10
hme2: Ethernet address 08:00:20:cc:0c:d4
OUI 0x0006b8 model 0x000c rev 1 at hme2 phy 1 not configured
Sun Microsystems, Inc. PCIO Ebus2 (miscellaneous bridge, revision 0x01) at =
pci2 dev 3 function 0 not configured
hme3 at pci2 dev 3 function 1: Sun Happy Meal Ethernet, rev. 1
hme3: interrupting at irq 11
hme3: Ethernet address 08:00:20:cc:0c:d4
OUI 0x0006b8 model 0x000c rev 1 at hme3 phy 1 not configured
********************************

I have enabled "hme* at pci? dev ? function ? # Sun Microelectronics STP200=
2-STQ" in my kernel.
I can setup hme0 (and ping it), but hme1 don't work.
ifconfig says:
********************************
hme0: flags=3D8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICA=
ST> mtu 1500
        address: 08:00:20:cc:0c:d4
        media: Ethernet manual (none)
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::a00:20ff:fecc:cd4%hme0 prefixlen 64 scopeid 0x3
hme1: flags=3D8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICA=
ST> mtu 1500
        address: 08:00:20:cc:0c:d4
        media: Ethernet manual (none)
        inet 10.0.0.253 netmask 0xffffff00 broadcast 10.0.0.255
        inet6 fe80::a00:20ff:fecc:cd4%hme1 prefixlen 64 scopeid 0x4
hme2: flags=3D8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:cc:0c:d4
        media: Ethernet manual
hme3: flags=3D8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
        address: 08:00:20:cc:0c:d4
        media: Ethernet manual
********************************

so :
1. anyone ever succeed in such a conf ?
2. is it related to single MAC Address for hme* ?
3. I am missing some i386 kernel device ?

Thanks for help,
	Jo
--=20
,- This mail runs ------.
`--------- NetBSD/i386 -'

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (NetBSD)

iD8DBQFCTZEm0/VH7L7F7Y4RArEFAJ9lCj++G53VLUjRoKE2CTcW9nNyuQCfUlV9
b0iDHX5TPVFprnr02TYiQjo=
=uM+P
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--