Package: udev
Version: 0.103-1

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

I think that it may be a bug because I reproduced this behaviour and on my
Vmware machine. Installed clean etch with one nic. When install process
asked for reboot I added secondary nic. Machine booted without an errors.

Then I've modified the z25_persistent-net.rules file like this (after the
first boot card with mac which ends with 1f:f7 had a name eth1 in this
file):

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:ae:1f:f7",
NAME="eth0"

# PCI device 0x1022:0x2000 (pcnet32)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:0c:29:ae:1f:ed",
NAME="eth1"

In other words I tried to exchange net interface names, I wanted eth1 name
to became eth0. I can see that the kernel assigns eth0 name to the nic which
mac ends with 1f:ed. And when I restarted machine these renaming errors
started to show up again:( 

So I need help and resolution. Thanks.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to