Package: udev
Version: 0.076-6
Severity: normal

Until about a month ago (note: I upgrade Debian unstable every few
days) udev used to reliably rename my network interfaces, but no
longer does so.  When I boot the machine my 2 network interfaces have
their default names of eth0 and eth1 rather than my preference of lan0
and wlan0.  A similar thing happens when I suspend (and unload
modules) and resume (and reload modules).  Later, if I remove a single
module (tg3 or ipw2200) manually and reload it then the relevant
interface is correctly renamed.  This points to a race condition,
since the machine is more heavily loaded at boot or resume time.

My rules look like this:

  /etc/udev/rules.d/z00_local.rules:

  ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:12:f0:81:05:d3", \
        NAME="wlan0"
  #ACTION=="add", SUBSYSTEM=="net", SYSFS{address}=="00:11:25:15:a7:ba", \
  #       NAME="lan0"
  #KERNEL="eth*", SYSFS{address}="00:12:f0:81:05:d3", NAME="wlan0"
  KERNEL="eth*", SYSFS{address}="00:11:25:15:a7:ba", NAME="lan0"

As you can see, I have 2 different styles of rules, but neither style
works reliably.  I'm pretty sure this file used to have a different
name that put it at the end of the list of rules.  However, I renamed
it while trying to solve the current problems.

Since udev is supposed to be able to do interface renaming, and has
done it reliably in the past, I'd like to get it working again instead
of installing some other package to do the job.

Thanks for any idea...

peace & happiness,
martin


-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 8
lrwxrwxrwx 1 root root  20 Apr 11  2005 020_permissions.rules -> 
../permissions.rules
lrwxrwxrwx 1 root root  19 Oct 12 09:09 025_libgphoto2.rules -> 
../libgphoto2.rules
lrwxrwxrwx 1 root root  16 Oct 31 10:54 025_libsane.rules -> ../libsane.rules
lrwxrwxrwx 1 root root  22 Dec  7 11:04 025_logitechmouse.rules -> 
../logitechmouse.rules
lrwxrwxrwx 1 root root  12 Oct 24 12:20 050_hal-plugdev.rules -> ../hal.rules
lrwxr-xr-x 1 root root  19 Dec  6  2004 cd-aliases.rules -> ../cd-aliases.rules
lrwxr-xr-x 1 root root  13 Jun 22  2004 udev.rules -> ../udev.rules
-rw-r--r-- 1 root root 721 Dec 16 17:21 z00_local.rules
lrwxrwxrwx 1 root root  19 Aug 20 12:17 z20_persistent.rules -> 
../persistent.rules
lrwxrwxrwx 1 root root  12 Jul  7 09:40 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root  16 Oct 11 17:23 z55_hotplug.rules -> ../hotplug.rules
lrwxrwxrwx 1 root root  19 Aug  5 04:34 z60_alsa-utils.rules -> 
../alsa-utils.rules
lrwxrwxrwx 1 root root  15 Sep 22 13:11 z60_hdparm.rules -> ../hdparm.rules
lrwxrwxrwx 1 root root  17 Jul  7 09:40 z70_hotplugd.rules -> ../hotplugd.rules

-- /sys/:
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/block/sda/sda5/dev
/sys/block/sda/sda6/dev
/sys/block/sda/sda7/dev
/sys/block/sda/sda8/dev
/sys/block/sr0/dev
/sys/class/input/event0/dev
/sys/class/input/event1/dev
/sys/class/input/event2/dev
/sys/class/input/mice/dev
/sys/class/input/mouse0/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/scsi_generic/sg0/dev
/sys/class/scsi_generic/sg1/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/pcmC0D0c/dev
/sys/class/sound/pcmC0D0p/dev
/sys/class/sound/pcmC0D1c/dev
/sys/class/sound/pcmC0D2c/dev
/sys/class/sound/pcmC0D3c/dev
/sys/class/sound/pcmC0D4p/dev
/sys/class/sound/timer/dev
/sys/class/usb_device/usbdev1.1/dev
/sys/class/usb_device/usbdev2.1/dev
/sys/class/usb_device/usbdev3.1/dev
/sys/class/usb_device/usbdev4.1/dev
/sys/class/usb_device/usbdev4.2/dev
/sys/class/usb_device/usbdev5.1/dev

-- Kernel configuration:
 isapnp_init not present.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14.3
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages udev depends on:
ii  initscripts                   2.86.ds1-6 Standard scripts needed for bootin
ii  libc6                         2.3.5-8.1  GNU C Library: Shared libraries an
ii  libselinux1                   1.26-1     SELinux shared libraries
ii  lsb-base                      3.0-12     Linux Standard Base 3.0 init scrip
ii  makedev                       2.3.1-79   creates device files in /dev
ii  sed                           4.1.4-5    The GNU sed stream editor

udev recommends no packages.

-- debconf information:
  udev/devfs-warning:
* udev/reboot-warning:



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

Reply via email to