linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* eth3 becoming /sys/class/net/dev22358
@ 2007-01-31 13:00 Jan-Frode Myklebust
  2007-01-31 15:25 ` Jan-Frode Myklebust
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jan-Frode Myklebust @ 2007-01-31 13:00 UTC (permalink / raw)
  To: linux-hotplug

I'm working with a fairly new machine running rhel4u3, 
and for some reason only 2 out of 4 broadcom nics are
named correctly. I.e. during boot it shows them all named 
correctly:

eth0: Tigon3 [partno(BCM95704A41) rev 2100 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:14:5e:4b:5a:16
eth1: Tigon3 [partno(BCM95704A41) rev 2100 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:14:5e:4b:5a:17
eth2: Tigon3 [partno(BCM95704s) rev 2100 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:14:5e:3f:56:04
eth3: Tigon3 [partno(BCM95704s) rev 2100 PHY(serdes)] (PCIX:133MHz:64-bit) 10/100/1000BaseT Ethernet 00:14:5e:3f:56:05

but for some reason eth2 and eth3 are named dev22358 and 
dev6737. Any ideas why this might be?

I could probably fix it by a simple rule looking at SYSFS{address}
for these two interfaces, but it looks like something must
be wrong with udev here.. ?

# udevinfo -a -p /sys/class/net/eth1
<snip>
  looking at class device '/sys/class/net/eth1':
    SYSFS{addr_len}="6"
    SYSFS{address}="00:14:5e:3f:56:05"
    SYSFS{broadcast}="ff:ff:ff:ff:ff:ff"
    SYSFS{features}="0x11a3"
    SYSFS{flags}="0x1803"
    SYSFS{ifindex}="10"
    SYSFS{iflink}="10"
    SYSFS{mtu}="1500"
    SYSFS{tx_queue_len}="1000"
    SYSFS{type}="1"

follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0/0000:04:00.2/0000:05:01.1':
    BUS="pci"
    ID="0000:05:01.1"
    SYSFS{class}="0x020000"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x16a8"
    SYSFS{irq}="217"
    SYSFS{subsystem_device}="0x02e9"
    SYSFS{subsystem_vendor}="0x1014"
    SYSFS{vendor}="0x14e4"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0/0000:04:00.2':
    BUS="pci"
    ID="0000:04:00.2"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x032a"
    SYSFS{irq}="0"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0':
    BUS="pci"
    ID="0000:00:03.0"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x3596"
    SYSFS{irq}="169"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS=""
    ID="pci0000:00"
    SYSFS{detach_state}="0"

# udevinfo -a -p /sys/class/net/dev22358
<snip>
  looking at class device '/sys/class/net/dev22358':
    SYSFS{addr_len}="6"
    SYSFS{address}="00:14:5e:4b:5a:16"
    SYSFS{broadcast}="ff:ff:ff:ff:ff:ff"
    SYSFS{features}="0x11a3"
    SYSFS{flags}="0x1002"
    SYSFS{ifindex}="7"
    SYSFS{iflink}="7"
    SYSFS{mtu}="1500"
    SYSFS{tx_queue_len}="1000"
    SYSFS{type}="1"

follow the class device's "device"
  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0/0000:04:00.0/0000:06:01.0':
    BUS="pci"
    ID="0000:06:01.0"
    SYSFS{class}="0x020000"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x16a8"
    SYSFS{irq}="193"
    SYSFS{subsystem_device}="0x02e9"
    SYSFS{subsystem_vendor}="0x1014"
    SYSFS{vendor}="0x14e4"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0/0000:04:00.0':
    BUS="pci"
    ID="0000:04:00.0"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x0329"
    SYSFS{irq}="0"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00/0000:00:03.0':
    BUS="pci"
    ID="0000:00:03.0"
    SYSFS{class}="0x060400"
    SYSFS{detach_state}="0"
    SYSFS{device}="0x3596"
    SYSFS{irq}="169"
    SYSFS{subsystem_device}="0x0000"
    SYSFS{subsystem_vendor}="0x0000"
    SYSFS{vendor}="0x8086"

  looking at the device chain at '/sys/devices/pci0000:00':
    BUS=""
    ID="pci0000:00"
    SYSFS{detach_state}="0"



  -jf


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CIDÞVDEV
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-01-31 16:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-31 13:00 eth3 becoming /sys/class/net/dev22358 Jan-Frode Myklebust
2007-01-31 15:25 ` Jan-Frode Myklebust
2007-01-31 16:24 ` Bill Nottingham
2007-01-31 16:36 ` Linas Vepstas
2007-01-31 16:37 ` Jan Frode Myklebust
2007-01-31 16:57 ` Jan Frode Myklebust
2007-01-31 16:58 ` Bill Nottingham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).