[Bug 753370] New: udev: devices with same MAC address cause undesired delays
https://bugzilla.novell.com/show_bug.cgi?id=753370 https://bugzilla.novell.com/show_bug.cgi?id=753370#c0 Summary: udev: devices with same MAC address cause undesired delays Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: x86-64 OS/Version: Linux Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: jengelh@medozas.de QAContact: qa-bugs@suse.de Found By: Beta-Customer Blocker: --- As part of bonding or bridging, all slave devices will be set to have the same MAC address by software. This is normal AFAICT. Now, it seems that some incarnations of r8169-based hardware retain such software-set MAC addresses across reboots, leading to: # lspci 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 02) # lspci -n 01:00.0 0200: 10ec:8168 (rev 02) 02:00.0 0200: 10ec:8168 (rev 02) # dmesg [ 12.807644] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 12.807791] r8169 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16 [ 12.807915] r8169 0000:01:00.0: setting latency timer to 64 [ 12.808095] r8169 0000:01:00.0: irq 42 for MSI/MSI-X [ 12.809355] r8169 0000:01:00.0: eth0: RTL8168c/8111c at 0xffffc900001e2000, 4 0:61:86:2b:46:da, XID 1c4000c0 IRQ 42 [ 12.809429] r8169 0000:01:00.0: eth0: jumbo features [frames: 6128 bytes, tx checksumming: ko] [ 12.809520] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded [ 12.809611] r8169 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 12.809700] r8169 0000:02:00.0: setting latency timer to 64 [ 12.809779] r8169 0000:02:00.0: irq 43 for MSI/MSI-X [ 12.810971] r8169 0000:02:00.0: eth1: RTL8168c/8111c at 0xffffc900001e4000, 40:61:86:2b:46:da, XID 1c4000c0 IRQ 43 [ 12.811044] r8169 0000:02:00.0: eth1: jumbo features [frames: 6128 bytes, tx checksumming: ko] Because both NICs have the same MAC address, 1. kernel can't seem to flush the event queue(?) 2. udev times out The device rename does seem logical though. # dmesg [ 12.873853] udevd[415]: renamed network interface eth1 to rename3 [ 71.584760] boot.md[365]: udevadm settle - timeout of 60 seconds reached, the event queue contains: [ 71.585052] boot.md[365]: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1 (1406) [ 71.585953] boot.md[365]: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1/queues/rx-0 (1407) [ 71.586083] boot.md[365]: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/eth1/queues/tx-0 (1408) [ 71.586112] boot.md[365]: /sys/devices/pci0000:00/0000:00:1c.1/0000:02:00.0/net/rename3 (1413) # cat /etc/udev/rules.d/70-persistent-net.rules # PCI device 0x10ec:0x8168 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:61:86:2b:46:da", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" # PCI device 0x10ec:0x8168 (r8169) SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="40:61:86:2b:46:db", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1" -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c
kk zhang
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c1
Li Bin
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c2
Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c5
--- Comment #5 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c6
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c7
David Hodgson
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c8
--- Comment #8 from Jan Engelhardt
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c
Xiaolong Li
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c
Ye Yuan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c10
Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c11
--- Comment #11 from Robert Milasan
https://bugzilla.novell.com/show_bug.cgi?id=753370
https://bugzilla.novell.com/show_bug.cgi?id=753370#c12
Robert Milasan
participants (1)
-
bugzilla_noreply@novell.com