[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Debian etch, udev and net interface renaming errors



Hi,
  
When I had Debian etch RC1 which came with 2.6.17 kernel and older version of udev I had no network interfaces renaming errors. I installed fresh etch with the latest kernel and udev yesterday (kernet 2.6.18-3, udev 0.103-1) and right after that I started to notice interface renaming errors.
 
My system:
 
1x ISA PNP 3Com net card
2x almost indentical Realtek RTL-8139 PCI net cards
1x 3Com 3c905 PCI card.
 
My z25_persistent-net.rules file:
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.

# Realtek card
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:50:22:81:d8:fb", NAME="eth3"

#3Com card
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:60:97:20:5e:dd", NAME="eth1"

#Realtek card
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:e0:4c:ac:9a:75", NAME="eth2"

When system starts I can see that all interfaces were named correctly, but during boot time I can see few interface renaming errors:

udevd-event[599]: rename_netif: error changing net interface name eth0_rename to eth1: No such device

udevd-event[600]: rename_netif: error changing net interface name eth1_rename to eth2: No such device

So my question would be - how can I eliminate these errors? As I saw in logs kernel assigns eth0 and eth1 names to realtek cards at boot time. They both use the same module. And I'm trying to rename them to eth2 and eth3. Thanks in advance.


Reply to: