Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> MAC addresses constantly changing?, quad-interface NIC shows different MACs
kodiak
 Posted: Feb 18 2012, 10:09 PM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 1297
Joined: 18-February 12









SOLVED: The problem was caused by the Sun X1034A card. Apparently the card was designed to depend on Solaris assigning MAC addresses, rather than it using it's hardcoded ones.

Hello all!
Sadly this is my first post on this forum and I'm already posting w/ a problem. I'll be sure to stick around and help others when possible but for now here's my curiousity:

I just purchased a 10/100 quad-interface NIC (Older Sun PCI card) and it works for the most part, but I noticed that NetworkManager / UDev would assign new eth# IDs to each interface each boot, looking closer it's because the MAC addresses would report differently after each boot.

I can't figure out what's causing the MACs to appear different each time the card is initialized. This will even happen if I just unload and reload the driver kernel module for the card.

Here's what it looks like in dmesg:
CODE
[somedude@somebox net]# dmesg | egrep Quattro
eth1-4: Quattro HME (PCI/CheerIO) 10/100baseT Ethernet DEC 21153 PCI Bridge
eth1: Quattro HME slot 0 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:f4:19:f7
eth2: Quattro HME slot 1 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:66:07:7c
eth3: Quattro HME slot 2 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:22:ad:27
eth4: Quattro HME slot 3 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:98:38:d9
eth1-4: Quattro HME (PCI/CheerIO) 10/100baseT Ethernet DEC 21153 PCI Bridge
eth1: Quattro HME slot 0 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:1c:17:00
eth2: Quattro HME slot 1 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:46:0c:8a
eth3: Quattro HME slot 2 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:8c:6a:d8
eth4: Quattro HME slot 3 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:92:a5:24
eth1-4: Quattro HME (PCI/CheerIO) 10/100baseT Ethernet DEC 21153 PCI Bridge
eth1: Quattro HME slot 0 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:da:9c:79
eth2: Quattro HME slot 1 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:91:dc:50
eth3: Quattro HME slot 2 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:45:e7:ba
eth4: Quattro HME slot 3 (PCI/CheerIO) 10/100baseT Ethernet 08:00:20:24:c8:6f


Isn't that just wild? Anyone seen such a thing before? http://www.madjacksports.com/forum/images/smilies/facepalm.gif

The worst part is that my whole Saturday could have been devoted to RHCE prep but instead I got to fiddle around with /sys/dev/class/net files and dmesg and udev and modules - I suppose it's all relevant to Linux SA in the end at least...

Anywho, thanks in advance,
- Kodiak


PS, this is the device:
CODE
04:00.0 Bridge: Oracle Corporation EBUS (rev 01)
04:00.1 Ethernet controller: Oracle Corporation Happy Meal 10/100 Ethernet [hme] (rev 01)
04:01.0 Bridge: Oracle Corporation EBUS (rev 01)
04:01.1 Ethernet controller: Oracle Corporation Happy Meal 10/100 Ethernet [hme] (rev 01)
04:02.0 Bridge: Oracle Corporation EBUS (rev 01)
04:02.1 Ethernet controller: Oracle Corporation Happy Meal 10/100 Ethernet [hme] (rev 01)
04:03.0 Bridge: Oracle Corporation EBUS (rev 01)
04:03.1 Ethernet controller: Oracle Corporation Happy Meal 10/100 Ethernet [hme] (rev 01)
PM
^
tux99
 Posted: Feb 18 2012, 11:24 PM
Quote Post


SLF Guru
********

Group: Members
Posts: 1298
Member No.: 224
Joined: 28-May 11









I vaguely remember (but I might be mistaken) that those Sun cards actually didn't come with MAC addresses, the MAC address was assigned either by Solaris or by the Sun system firmware. I have no idea how this is handled with Linux, maybe the kernel modules have a parameter that allow you to set the MAC address?

Edit: yep. here (http://everything2.com/title/Happy+Meal) it says:

QUOTE
These chips get their MAC address dynamically from the system when installed on Sun machines. It's possible to use the PCI versions in non-Sun machines, but if so the driver must provide a MAC address. This makes them slightly weird to use in PCs. Looking through the Linux driver source for this card, there are a number of comments that indicate it's rather buggy - but in practice they usually work fine.

A 4-port version, called the Sun Quad Fast Ethernet (qfe for short) is also produced, again in both SBus and PCI incarnations. The PCI versions use a 64-bit interface.


Edit2: this thread might also help you:
http://7200emu.hacki.at/viewtopic.php?t=6283


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
kodiak
 Posted: Feb 19 2012, 12:25 AM
Quote Post


SLF Newbie


Group: Members
Posts: 3
Member No.: 1297
Joined: 18-February 12









QUOTE (tux99 @ Feb 18 2012, 06:24 PM)
I vaguely remember (but I might be mistaken) that those Sun cards actually didn't come with MAC addresses, the MAC address was assigned either by Solaris or by the Sun system firmware. I have no idea how this is handled with Linux, maybe the kernel modules have a parameter that allow you to set the MAC address?

Edit: yep. here (http://everything2.com/title/Happy+Meal) it says:

QUOTE
These chips get their MAC address dynamically from the system when installed on Sun machines. It's possible to use the PCI versions in non-Sun machines, but if so the driver must provide a MAC address. This makes them slightly weird to use in PCs. Looking through the Linux driver source for this card, there are a number of comments that indicate it's rather buggy - but in practice they usually work fine.

A 4-port version, called the Sun Quad Fast Ethernet (qfe for short) is also produced, again in both SBus and PCI incarnations. The PCI versions use a 64-bit interface.


Edit2: this thread might also help you:
http://7200emu.hacki.at/viewtopic.php?t=6283



Wow- amazing and timely reply, thanks so much!

Looks like I'm in the market for a new quad PCI card. Bummer but great to know what was happening!
- Kodiak
PM
^
tux99
 Posted: Feb 19 2012, 09:13 AM
Quote Post


SLF Guru
********

Group: Members
Posts: 1298
Member No.: 224
Joined: 28-May 11









QUOTE (kodiak @ Feb 19 2012, 01:25 AM)

Wow- amazing and timely reply, thanks so much!

Looks like I'm in the market for a new quad PCI card.  Bummer but great to know what was happening!
- Kodiak


Why, do you have more than 2 GB of RAM? Else it should work, also in that thread there is someone with 32 GB RAM who has it working so I wouldn't give up so quickly.


--------------------
My personal SL6 repository, specialized in audio/video software: http://pkgrepo.linuxtech.net/el6/
(can be used together with EPEL and ELRepo repositories) - repository mirror: http://linuxsoft.cern.ch/linuxtech/el6/
PM
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll