Package: udev Version: 0.087-1 Severity: normal I use the following ruleset to rename interfaces:
KERNEL="eth*", SYSFS{address}="00:02:8a:80:21:31", NAME="internet"
KERNEL="eth*", SYSFS{address}="08:00:46:b1:2d:ee", NAME="lan"
Alternatively, I tried matching on PCI IDs:
KERNEL="eth*", SYSFS{device}="0x24c4", NAME="internet"
KERNEL="eth*", SYSFS{device}="0x103d", NAME="lan"
The result in both cases is the same:
2: internet: <BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 08:00:46:b1:2d:ee brd ff:ff:ff:ff:ff:ff
3: eth0_ifrename: <BROADCAST,MULTICAST> mtu 1500 qdisc noop qlen 1000
link/ether 00:02:8a:80:21:31 brd ff:ff:ff:ff:ff:ff
For some weird reason, udev assigns "internet" to the wrong interface.
This only happens during boot. If I later remove the modules and
modprobe them again, the name changes take place as expected.
I should note that I have been able *once* to reproduce
the problem from the command line by quickly loading the modules in
succession. Thus, it seems like there's a race condition going on.
This is with a 2.6.15-1-686 kernel (2.6.15-8).
It may be related that I see a timeout during boot. After initramfs
hands over to init, the hotplug events get synthesized. I then get
a screenful of device driver output. Finally, it tells me that it
waits for /dev to become fully populated, before it says "done
(timeout)". Note that I can't find this output in neither kern.log
nor the bootlog created by bootlogd.
--
.''`. martin f. krafft <[EMAIL PROTECTED]>
: :' : proud Debian developer and author: http://debiansystem.info
`. `'`
`- Debian - when you have better things to do than fixing a system
Invalid/expired PGP (sub)keys? Use subkeys.pgp.net as keyserver!
it is better to have loft and lost
than to never have loft at all.
-- groucho marx
signature.asc
Description: Digital signature (GPG/PGP)

