different h/w addresses on one eth

3 messages, 3 authors, 2000-03-24 · open the first message on its own page

different h/w addresses on one eth

From: Claus <hidden>
Date: 2000-03-23 19:29:44

sorry, one question from another newbie

pb3400, builtin eth {not the combo card}
and de4x5:
Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
Mar 23 19:57:53 arma kernel:       and requires IRQ28 (provided by PCI BIOS).
Mar 23 19:57:53 arma kernel: de4x5.c:V0.544 1999/5/8 davies@maniac.ultranet.com
Mar 23 19:57:57 arma kernel: eth0: media is unconnected, link down or incompatible connection.

now tulip.o:
Mar 23 20:03:27 arma kernel: tulip.c:v0.91g-ppc 7/16/99 becker@cesdis.gsfc.nasa.gov
Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
Mar 23 20:03:27 arma kernel: eth0: 21041 Media table, default media ffff (Autosense).
Mar 23 20:03:27 arma kernel: eth0:  21041 media #0, 10baseT.
Mar 23 20:03:27 arma kernel: eth0:  21041 media #1, 10base2.
Mar 23 20:03:27 arma kernel: eth0:  21041 media #2, AUI.
Mar 23 20:03:30 arma kernel: eth0: No 21041 10baseT link beat, Media switched to 10base2.

hm..
/usr/doc/LDP/nag/node9.html#SECTION003320000 says:
A host is addressed by a six-byte address hard-coded into the
firmware of its Ethernet board. These addresses are usually written as a sequence of two-digit hex numbers separated by colons, as in aa:bb:cc:dd:ee:ff.

got someone of this list a solution for different h/w addresses on one eth card?

thx
Claus

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: different h/w addresses on one eth

From: Martin Costabel <hidden>
Date: 2000-03-23 21:22:53

Claus wrote:
Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
got someone of this list a solution for different h/w addresses on one eth card?
You may have noticed that you get the second address from the first by
bitswapping each byte. One of your drivers is reading backwards.

--
Martin

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: different h/w addresses on one eth

From: Michael Schmitz <hidden>
Date: 2000-03-24 08:55:25

quoted
Mar 23 19:57:53 arma kernel: eth0: DC21041 at 0x0400 (PCI bus 0, device 14), h/w address 00:05:02:26:3a:02,
quoted
Mar 23 20:03:27 arma kernel: eth0: Digital DC21041 Tulip rev 33 at 0x400, 00:A0:40:64:5C:40, IRQ 28.
quoted
got someone of this list a solution for different h/w addresses on one eth card?
You may have noticed that you get the second address from the first by
bitswapping each byte. One of your drivers is reading backwards.
The first address was from the PCI BIOS - assuming the BIOS knows about
endianess problems with the card, the driver would be to blame. Does
anyone know what the correct prefix for this brands of card is?

Please note that the PCI being correct is only a weak assumption. Apple
has a history of storing the MAC address backwards in the PROM so you have
to byteswap - one particular case even required byteswapping nybbles :-)

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help