eth0 has different MAC address, ignoring

Issues related to configuring your network
colinabrett
Posts: 33
Joined: 2012/01/31 10:05:24
Contact:

eth0 has different MAC address, ignoring

Post by colinabrett » 2012/01/31 11:40:16

Hi,

This is my first post to the forum. I'm experiencing some network problems when re-using some old (10+ years) hardware.

I'm using a Celeron laptop from Tiny Computers (now defunct company) with a Psion Gold Card 56K+10Mb Ethernet pcmcia card. This is the only network card on the machine. The install ran smoothly but on first reboot the eth0 network card reported:

"Device eth0 has different MAC address than expected, ignoring"

and the network card doesn't start up at boot.

I've googled for the above message and most results say to check /etc/sysconfig/network-scripts/ifcfg-eth0 and change the HWADDR parameter to the correct MAC address. Part of the problem is that I don't know what that HWADDR should be as I don't have the original manual. Hoiwever, system-config-network does report that the card is bound to MAC 00:60:62:01:F4:84 and this same address appears in ifcfg-eth0.

I've also seen some interrupt and IRQ errors in dmesg. system-config-network reports the IRQ is unknown.

I don't know how to fix this one. Any suggestions from the forum regulars? I have several pieces of supporting information ready to upload or include in this call. This includes the output of getinfo.sh and some command line output. For example:
[root@localhost logs]# cat /etc/sysconfig/network-scripts/ifcfg-eth0
# Psion 56k + 10Mb Ethernet 400019-16C 123456789abc
DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:60:63:01:F4:84
ONBOOT=yes
TYPE=Ethernet
[root@localhost logs]#

[root@localhost logs]# service network start
Bringing up loopback interface: [ OK ]
Bringing up interface eth0: Device eth0 has different MAC address than expected, ignoring.
[FAILED]
[root@localhost logs]#


I don't want to overload this first post with extraneous info, so any suggestions for uploading or attaching would be useful.

Regards,
Colin

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: eth0 has different MAC address, ignoring

Post by TrevorH » 2012/01/31 11:44:58

Run `ifconfig -a` and see what MAC address is listed on the interface there.

colinabrett
Posts: 33
Joined: 2012/01/31 10:05:24
Contact:

Re: eth0 has different MAC address, ignoring

Post by colinabrett » 2012/01/31 17:56:09

[quote]
TrevorH wrote:
Run `ifconfig -a` and see what MAC address is listed on the interface there.[/quote]

Hi Trevor,

ifconfig -a reports only the loopback interface is up:

[root@localhost logs]# ifconfig -a
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4743 errors:0 dropped:0 overruns:0 frame:0
TX packets:4743 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3976990 (3.7 MiB) TX bytes:3976990 (3.7 MiB)

[root@localhost logs]#

I do have shed-loads of other info I've already collected. Can you advise how to include this without overloading the post with extraneous information?

Regards,
Colin

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: eth0 has different MAC address, ignoring

Post by pschaff » 2012/01/31 18:04:46

Welcome to the CentOS fora. Please see the recommended reading for new users linked in my signature. [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28726&forum=54]Readme First[/url] has some guidance on what to do with large amounts of information, if needed. For now, please [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=28723&forum=54]provide more information about your system[/url] by running "./getinfo.sh" and showing us the output file.

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

eth0 has different MAC address, ignoring

Post by gerald_clark » 2012/01/31 18:08:32

TrevorH did not say the interface would be up. He said to use 'ifconfig -a' to read the MAC address.
You could also just remove the HW_ADDR line.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: eth0 has different MAC address, ignoring

Post by TrevorH » 2012/02/01 09:44:48

If `ifconfig -a` does not show the interface then there is no driver loaded capable of driving it. The -a switch means "all, even inactive interfaces" and the fact that you have only lo showing there means that the ethernet card in your machine does not have a driver loaded for it. Myself, I doubt if you will find a driver for it - it's old, very old, and Psion were never great at providing drivers or information for anything other than Windows.

I'd try to find a different card. From the dim and distant past I seem to remember that 3Com had better support than most (but no guarantees!).

colinabrett
Posts: 33
Joined: 2012/01/31 10:05:24
Contact:

Re: eth0 has different MAC address, ignoring

Post by colinabrett » 2012/02/01 10:32:12

Here's the getinfo.sh output as requested:

Information for general problems.
[code]
== BEGIN uname -rmi ==
2.6.18-238.el5 i686 i386
== END uname -rmi ==

== BEGIN rpm -qa \*-release\* ==
centos-release-notes-5.6-0
centos-release-5-6.el5.centos.1
== END rpm -qa \*-release\* ==

== BEGIN cat /etc/redhat-release ==
CentOS release 5.6 (Final)
== END cat /etc/redhat-release ==

== BEGIN getenforce ==
Permissive
== END getenforce ==

== BEGIN free -m ==
total used free shared buffers cached
Mem: 304 297 6 0 22 119
-/+ buffers/cache: 154 149
Swap: 639 0 639
== END free -m ==

== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.4.3-43.el5
rpm-libs-4.4.2.3-22.el5
rpm-python-4.4.2.3-22.el5
yum-3.2.22-33.el5.centos
yum-fastestmirror-1.1.16-14.el5.centos.1
yum-metadata-parser-1.1.2-3.el5.centos
yum-updatesd-0.9-2.el5
== END rpm -qa yum\* rpm-\* python | sort ==

== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-Debuginfo.repo
CentOS-Media.repo
CentOS-Vault.repo
== END ls /etc/yum.repos.d ==

== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum

# Note: yum-RHN-plugin doesn't honor this.
metadata_expire=1h

installonly_limit = 5

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==

== BEGIN yum repolist all ==
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Error: Cannot find a valid baseurl for repo: base
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=5&arch=i386&repo=os error was
[Errno 4] IOError: <urlopen error (-3, 'Temporary failure in name resolution')>
== END yum repolist all ==

== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==

== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==

== BEGIN cat /etc/fstab ==
/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
== END cat /etc/fstab ==

== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
3.9G 2.6G 1.1G 72% /
/dev/hda1 99M 12M 82M 13% /boot
tmpfs 153M 0 153M 0% /dev/shm
== END df -h ==

== BEGIN fdisk -l ==

Disk /dev/hda: 5028 MB, 5028065280 bytes
255 heads, 63 sectors/track, 611 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 611 4803435 8e Linux LVM
== END fdisk -l ==

== BEGIN blkid ==
/dev/mapper/VolGroup00-LogVol01: TYPE="swap"
/dev/mapper/VolGroup00-LogVol00: UUID="acce2c4e-366a-469b-ad58-e341a09f8338" TYPE="ext3"
/dev/hdc: LABEL="CentOS_5.6_Final" TYPE="iso9660"
/dev/hda1: LABEL="/boot" UUID="38c857f2-44a6-40ea-91a6-ed865b561fb7" TYPE="ext3"
/dev/VolGroup00/LogVol00: UUID="acce2c4e-366a-469b-ad58-e341a09f8338" TYPE="ext3"
/dev/VolGroup00/LogVol01: TYPE="swap"
== END blkid ==

== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==

== BEGIN pvs ==
/dev/hdc: open failed: No medium found
PV VG Fmt Attr PSize PFree
/dev/hda2 VolGroup00 lvm2 a- 4.56G 0
== END pvs ==

== BEGIN vgs ==
/dev/hdc: open failed: No medium found
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 2 0 wz--n- 4.56G 0
== END vgs ==

== BEGIN lvs ==
/dev/hdc: open failed: No medium found
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol00 VolGroup00 -wi-ao 3.94G
LogVol01 VolGroup00 -wi-ao 640.00M
== END lvs ==

== BEGIN rpm -qa kernel\* | sort ==
kernel-2.6.18-238.el5
== END rpm -qa kernel\* | sort ==

== BEGIN lspci -nn ==
00:00.0 Host bridge [0600]: VIA Technologies, Inc. VT8601 [Apollo ProMedia] [1106:0601] (rev 05)
00:01.0 PCI bridge [0604]: VIA Technologies, Inc. VT8601 [Apollo ProMedia AGP] [1106:8601]
00:06.0 Communication controller [0780]: Agere Systems LT WinModem [11c1:0450]
00:07.0 ISA bridge [0601]: VIA Technologies, Inc. VT82C686 [Apollo Super South] [1106:0686] (rev 22)
00:07.1 IDE interface [0101]: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE [1106:0571] (rev 10)
00:07.2 USB Controller [0c03]: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller [1106:3038] (rev 10)
00:07.4 ISA bridge [0601]: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] [1106:3057] (rev 30)
00:07.5 Multimedia audio controller [0401]: VIA Technologies, Inc. VT82C686 AC97 Audio Controller [1106:3058] (rev 20)
00:0a.0 CardBus bridge [0607]: Texas Instruments PCI1225 [104c:ac1c] (rev 01)
00:0a.1 CardBus bridge [0607]: Texas Instruments PCI1225 [104c:ac1c] (rev 01)
01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade i1 [1023:8520] (rev 6a)
== END lspci -nn ==

== BEGIN lsusb ==
Bus 001 Device 001: ID 0000:0000
== END lsusb ==

== BEGIN rpm -qa kmod\* kmdl\* ==
== END rpm -qa kmod\* kmdl\* ==

== BEGIN ifconfig -a ==
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4695 errors:0 dropped:0 overruns:0 frame:0
TX packets:4695 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3972814 (3.7 MiB) TX bytes:3972814 (3.7 MiB)

== END ifconfig -a ==

== BEGIN brctl show ==
./getinfo.sh: line 87: brctl: command not found
== END brctl show ==

== BEGIN route -n ==
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
== END route -n ==

== BEGIN cat /etc/resolv.conf ==
== END cat /etc/resolv.conf ==

== BEGIN grep net /etc/nsswitch.conf ==
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus
== END grep net /etc/nsswitch.conf ==

== BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
NetworkManager 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
wpa_supplicant 0:off 1:off 2:off 3:off 4:off 5:off 6:off
== END chkconfig --list | grep -Ei 'network|wpa' ==

[/code]


Regards,
Colin

pschaff
Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America
Contact:

Re: eth0 has different MAC address, ignoring

Post by pschaff » 2012/02/02 00:40:32

No sign of anything but the Winmodem being detected. Haven't used PCMCIA in a decade or so. Is pcmciautils installed? What does lspcmcia show? Have you tried pccardctl?

epaulsen5
Posts: 1
Joined: 2013/07/29 19:57:23

Re: eth0 has different MAC address, ignoring

Post by epaulsen5 » 2013/07/29 20:09:27

I have CentOS 5.9 running on an HP Proliant server with a quad NIC interface. Ethernet cable is in eth0. If I update the kernel past CentOS (2.6.18-274.17.1.el5PAE) I get the same error. The latest kernel I tried was CentOS (2.6.18-348.12.1.el5PAE). For now, I've changed the GRUB preferences and just use the first (and working) kernel as the default. However, it seems strange that the newer kernels will not work with the machine. Any suggestions?
---
Eric

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: eth0 has different MAC address, ignoring

Post by TrevorH » 2013/07/29 20:46:58

Please don't hijack threads. Raise your own with a descriptive subject line and link to this one if you think it is similar.

The output of `ifconfig -a` from working and non-working boots might help to diagnose the problem, also the output of `lspci -nn` and, if you have a file /etc/udev/*persistent-rules* then the contents of that will also be useful.

This thread is locked.

Locked