eth0/1 swapped places after kernel Upgrade 3.0.8 -> 3.1.0 (and udev 172 -> 174)
Not sure if this is a udev or kernel issue, or indeed whether I
should expect these devices to have persistent naming at all without some udev configuration of my own, but I thought I'd report it just in case it's useful.
Output from lspci:
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
Andrew Walrond
Quoted 10 lines · Andrew Walrond
Not sure if this is a udev or kernel issue, or indeed whether I
should expect these devices to have persistent naming at all without some udev configuration of my own, but I thought I'd report it just in case it's useful.Output from lspci:
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
It's worse than I thought; eth0/eth1 are randomly swapping places on boot. Is this likely to be a kernel or udev problem?
Relevant kernel messages:
bnx2: Broadcom NetXtreme II Gigabit Ethernet Driver bnx2 v2.1.11 (July 20, 2011)
bnx2 0000:03:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bnx2 0000:03:00.0: eth0: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f8000000, IRQ 16, node addr 00:1d:09:64:ae:03 bnx2 0000:07:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
bnx2 0000:07:00.0: eth1: Broadcom NetXtreme II BCM5708 1000Base-T (B2) PCI-X 64-bit 133MHz found at mem f4000000, IRQ 16, node addr 00:1d:09:64:ae:05 bnx2 0000:03:00.0: irq 47 for MSI/MSI-X
bnx2 0000:03:00.0: eth0: using MSI
bnx2 0000:03:00.0: eth0: NIC Copper Link is Up, 100 Mbps full duplex, receive & transmit flow control ON
bnx2 0000:07:00.0: irq 48 for MSI/MSI-X
bnx2 0000:07:00.0: eth1: using MSI
bnx2 0000:07:00.0: eth1: NIC Copper Link is Up, 1000 Mbps full duplex, receive & transmit flow control ON
Please let me know if I need to redirect this elsewhere.
Quoted 2 lines
Andrew Walrond
Quoted 6 lines · On Fri, 11 Nov 2011 11:40:15 +0000 Andrew Walrond <[email protected]> wrote:
Quoted 5 lines · Andrew Walrond
Not sure if this is a udev or kernel issue, or indeed whether I
should expect these devices to have persistent naming at all without some udev configuration of my own, but I thought I'd report it just in case it's useful.
Quoted 8 lines
Quoted 5 lines
Output from lspci:
03:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) 07:00.0 Ethernet controller: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
It's worse than I thought; eth0/eth1 are randomly swapping places on boot. Is this likely to be a kernel or udev problem?
The kernel probes them in whatever order it walks the PCI bus. What udev does afterwards is a distro question.
Does the order of the two probe reports every change or just the final udev result - ie are they always found mac xx:xx:03 then xx:xx:05 ?
Quoted 6 lines · Alan Cox
The kernel probes them in whatever order it walks the PCI bus. What udev does afterwards is a distro question.
Does the order of the two probe reports every change or just the final udev result - ie are they always found mac xx:xx:03 then xx:xx:05 ?
I've just rebooted half a dozen times and the order does not change. so I'll go stare at the udev diffs and see if I can work out what has changed there.
Thanks for your help
Andrew Walrond