Mailinglist Archive: opensuse-bugs (5243 mails)

< Previous Next >
[Bug 809843] Random eth0/eth1 name spave with two Ethernet driver modules

https://bugzilla.novell.com/show_bug.cgi?id=809843

https://bugzilla.novell.com/show_bug.cgi?id=809843#c4


Marius Tomaschewski <mt@xxxxxxxx> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |duwe@xxxxxxxx,
| |mfilka@xxxxxxxx
AssignedTo|bnc-team-screening@xxxxxxxx |fcrozat@xxxxxxxx
|ovo.novell.com |

--- Comment #4 from Marius Tomaschewski <mt@xxxxxxxx> 2013-03-18 15:53:17 UTC
---
Yes, I've noticed too, that the persistent network interface name
has been removed from udev and biosdevname usually does not work:

e.g. on a Dell OptiPlex 960, because there is smbios 2.5 and the
biosdevname rule explicitly checks for 2.6; further, one of the
NICs is not from Dell, but an additional TP-Link (r8169) PCIe Card.
When I've observed it correctly on a Dell OptiPlex 990 (SMBIOS 2.6),
it is not reliable; before [SLES-11-SP2] a r8169 card were renamed
to p1p1, on [SLES-11-SP3] p1p4.

Workaround is to add rules to the
/etc/udev/rules.d/70-persistent-net.rules,
e.g.:

# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:19.0 (e1000e)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:26:b9:8e:f8:66", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="nic0"

# PCI device 0x10ec:/sys/devices/pci0000:00/0000:00:1c.1/0000:03:00.0 (r8169)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="90:f6:52:03:62:50", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="nic1"

The rules can be IMO added using yast2.

To avoid rename problems, use something else than "ethX" for the names.

--
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.

< Previous Next >
References