name_eths 0.4 bug

Stephane Billiart stephane.billiart at gmail.com
Mon Sep 10 18:40:29 CDT 2007


I have several Poweredge 850 running CentOS 4.
The machines have a dual Intel gigabit ethernet card in addition to the
2 built-in Broadcom NICs 
Recently, I noticed the interfaces order changed after I modified the
RPM list installed on the server (to add support for OMSA)
I just found out why:

[root at server ~]# /sbin/hw_eth_order.pl
Cannot find location of eth0, bus=0000:03:02
Cannot find location of eth1, bus=0000:03:02
Cannot find location of eth2, bus=0000:04:00
Cannot find location of eth3, bus=0000:05:00
eth0 00:04:23:D1:BD:60 # e1000
eth1 00:04:23:D1:BD:61 # e1000
eth2 00:15:C5:E0:DF:1A # tg3
eth3 00:15:C5:E0:DF:1B # tg3
[root at server ~]# rpm -i pciutils-2.1.99.test8-3.2.i386.rpm
warning: pciutils-2.1.99.test8-3.2.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
[root at server ~]# /sbin/hw_eth_order.pl
eth0 00:15:C5:E0:DF:1A # tg3
eth1 00:15:C5:E0:DF:1B # tg3
eth2 00:04:23:D1:BD:60 # e1000
eth3 00:04:23:D1:BD:61 # e1000

As can be seen from this output, without pciutils, hw_eth_order.pl prints
out some errors and gives a different order than when pciutils is installed.

I am wondering what should be the correct order and how to fix this
issue? RPM dependancies or Perl code

Thank you,

-- 
Stéphane Billiart                      http://perso.orange.fr/billiart/



More information about the Linux-PowerEdge mailing list