Subject: Re: Sun Quad Ethernet card on PC
To: Joel CARNAT <joel@carnat.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-sparc64
Date: 04/01/2005 21:54:47
On Fri, Apr 01, 2005 at 08:21:26PM +0200, Joel CARNAT wrote:
> 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
> ...
> 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 STP2002-STQ" in my kernel.
> I can setup hme0 (and ping it), but hme1 don't work.
> ifconfig says:
> ********************************
> hme0: flags=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> 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=8a63<UP,BROADCAST,NOTRAILERS,RUNNING,ALLMULTI,SIMPLEX,MULTICAST> 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=8822<BROADCAST,NOTRAILERS,SIMPLEX,MULTICAST> mtu 1500
> address: 08:00:20:cc:0c:d4
> media: Ethernet manual
> hme3: flags=8822<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* ?
If they are not on the same lan it shouldn't matter.
> 3. I am missing some i386 kernel device ?
Yes, the *phy at mii? devices. This may explain your problems.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--