--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: udev: does not always rename wireless interface
- From: Brice Goglin <Brice.Goglin@ens-lyon.org>
- Date: Sun, 24 Sep 2006 14:04:48 -0400
- Message-id: <20060924180448.9038.88089.reportbug@panpancucul>
Package: udev
Version: 0.100-1
Severity: important
Hi,
Since udev has been upgraded from 0.093-1 to 0.100-1 on my Debian
testing, I have problems with my wireless interface (ipw2200 driver).
/etc/udev/rules.d/z25_persistent-net.rules contains the following
rule to rename it:
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:12:f0:12:05:03", NAME="wifi"
This rule has been automatically added by the system, I just changed
"eth0" to "wifi".
Since 0.100-1, the rule is very often _not_ applied. The interface
remains named "eth0". Additionnaly, wpasupplicant and network-manager
have strange behaviors when dealing with this interface.
The problem seems to appear with both 2.6.17 and 2.6.18.
But not always. Sometimes it works just fine. I didn't find anything
that seems to cause the problem to occur. For instance, sometimes,
I load ipw2200, the interface becomes "wifi", but if I change nothing
on the system, unload and reload ipw2200, the interface would be
"eth0".
In case it matters, note that I always load ipw2200 manually after
the boot.
I have a similar rule for the wired interface, it seems to always
work fine. The corresponding driver (tg3) is loaded during the boot
(through /etc/modules).
Let me know if I can do anything to help debugging. I didn't find
a log file describing which udev rules are applied.
Thanks,
Brice Goglin
-- Package-specific info:
-- /etc/udev/rules.d/:
/etc/udev/rules.d/:
total 8
lrwxrwxrwx 1 root root 20 2005-10-28 04:31 020_permissions.rules -> ../permissions.rules
lrwxrwxrwx 1 root root 19 2005-10-28 05:26 025_libgphoto2.rules -> ../libgphoto2.rules
lrwxrwxrwx 1 root root 16 2006-08-11 09:28 025_libsane.rules -> ../libsane.rules
lrwxrwxrwx 1 root root 22 2005-12-16 23:04 025_logitechmouse.rules -> ../logitechmouse.rules
lrwxrwxrwx 1 root root 15 2006-02-08 18:27 85-pcmcia.rules -> ../pcmcia.rules
-rw-r--r-- 1 root root 569 2006-09-18 22:37 brice.rules
lrwxrwxrwx 1 root root 13 2005-10-28 04:31 udev.rules -> ../udev.rules
lrwxrwxrwx 1 root root 25 2006-04-04 18:47 z20_persistent-input.rules -> ../persistent-input.rules
lrwxrwxrwx 1 root root 19 2005-10-28 04:31 z20_persistent.rules -> ../persistent.rules
-rw-r--r-- 1 root root 449 2006-09-24 12:26 z25_persistent-net.rules
lrwxrwxrwx 1 root root 33 2006-05-09 18:42 z45_persistent-net-generator.rules -> ../persistent-net-generator.rules
lrwxrwxrwx 1 root root 12 2005-10-28 04:31 z50_run.rules -> ../run.rules
lrwxrwxrwx 1 root root 16 2005-11-01 19:15 z55_hotplug.rules -> ../hotplug.rules
lrwxrwxrwx 1 root root 19 2005-10-28 05:21 z60_alsa-utils.rules -> ../alsa-utils.rules
lrwxrwxrwx 1 root root 15 2005-12-16 18:38 z60_hdparm.rules -> ../hdparm.rules
lrwxrwxrwx 1 root root 20 2006-09-16 22:28 z60_xen-backend.rules -> ../xen-backend.rules
lrwxrwxrwx 1 root root 29 2006-09-18 21:52 z75_cd-aliases-generator.rules -> ../cd-aliases-generator.rules
lrwxrwxrwx 1 root root 12 2006-08-27 01:24 z99_hal.rules -> ../hal.rules
-- /sys/:
/sys/block/ram0/dev
/sys/block/ram1/dev
/sys/block/ram10/dev
/sys/block/ram11/dev
/sys/block/ram12/dev
/sys/block/ram13/dev
/sys/block/ram14/dev
/sys/block/ram15/dev
/sys/block/ram2/dev
/sys/block/ram3/dev
/sys/block/ram4/dev
/sys/block/ram5/dev
/sys/block/ram6/dev
/sys/block/ram7/dev
/sys/block/ram8/dev
/sys/block/ram9/dev
/sys/block/sda/dev
/sys/block/sda/sda1/dev
/sys/block/sda/sda2/dev
/sys/block/sda/sda3/dev
/sys/block/sda/sda4/dev
/sys/block/sda/sda5/dev
/sys/block/sda/sda6/dev
/sys/block/sda/sda7/dev
/sys/class/drm/card0/dev
/sys/class/input/input0/event0/dev
/sys/class/input/input1/event1/dev
/sys/class/input/input1/mouse0/dev
/sys/class/input/input2/event2/dev
/sys/class/input/input3/event3/dev
/sys/class/input/input3/js0/dev
/sys/class/input/mice/dev
/sys/class/misc/agpgart/dev
/sys/class/misc/hpet/dev
/sys/class/misc/nvram/dev
/sys/class/misc/psaux/dev
/sys/class/misc/rtc/dev
/sys/class/misc/snapshot/dev
/sys/class/misc/tun/dev
/sys/class/sound/adsp/dev
/sys/class/sound/audio/dev
/sys/class/sound/controlC0/dev
/sys/class/sound/dsp/dev
/sys/class/sound/mixer/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
/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0/usbdev2.1_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.0/usb2/usbdev2.1_ep00/dev
/sys/devices/pci0000:00/0000:00:1d.1/usb3/3-0:1.0/usbdev3.1_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.1/usb3/usbdev3.1_ep00/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-0:1.0/usbdev4.1_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/usbdev4.2_ep02/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/usbdev4.2_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/4-2:1.0/usbdev4.2_ep83/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-2/usbdev4.2_ep00/dev
/sys/devices/pci0000:00/0000:00:1d.2/usb4/usbdev4.1_ep00/dev
/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-0:1.0/usbdev5.1_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.3/usb5/usbdev5.1_ep00/dev
/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-0:1.0/usbdev1.1_ep81/dev
/sys/devices/pci0000:00/0000:00:1d.7/usb1/usbdev1.1_ep00/dev
-- Kernel configuration:
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18=shepherd
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages udev depends on:
ii libc6 2.3.6.ds1-4 GNU C Library: Shared libraries
ii libselinux1 1.30.27-3 SELinux shared libraries
ii libvolume-id0 0.100-1 libvolume_id shared library
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
udev recommends no packages.
-- no debconf information
--- End Message ---