[Bug 695814] Re: udevd does not assign device correctly if mac differs only by one

Thomas Schweikle 695814 at bugs.launchpad.net
Sun Jan 22 22:44:20 UTC 2012


Meanwhile fixed for all udev versions for all Ubuntu releases from
10.04.3 LTS onward.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to udev in Ubuntu.
https://bugs.launchpad.net/bugs/695814

Title:
  udevd does not assign device correctly if mac differs only by one

Status in “udev” package in Ubuntu:
  New

Bug description:
  Binary package hint: udev

  Server equiped with two ethernet interface cards:
  Nic1: 52:54:00:45:cf:85
  Nic2: 52:54:00:45:cf:86

  /etc/udev/rules.d/70-persistent-net.rules:
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}="52:54:00:45:cf:85", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}="52:54:00:45:cf:86", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

  ifconfig -a:
  eth1      Link encap:Ethernet  HWaddr 52:54:00:45:cf:86  
            inet addr:172.16.28.64  Bcast:172.16.28.255  Mask:255.255.255.0
            inet6 addr: fe80::5054:ff:fe45:cf86/64 Scope:Link
            UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
            RX packets:94 errors:0 dropped:0 overruns:0 frame:0
            TX packets:84 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:11120 (11.1 KB)  TX bytes:11446 (11.4 KB)

  eth0_rename Link encap:Ethernet  HWaddr 52:54:00:45:cf:85  
            BROADCAST MULTICAST  MTU:1500  Metric:1
            RX packets:0 errors:0 dropped:0 overruns:0 frame:0
            TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
            collisions:0 txqueuelen:1000 
            RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

  upps!! Shouldn't happen!! Looks a lot like udev does not correctly
  parse ATTR{address}="xx:xx:xx:xx:xx:xx", matching addresses as equal
  if they only differ in the last nibble??

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: udev 151-12.3
  ProcVersionSignature: Ubuntu 2.6.32-27.49-server 2.6.32.26+drm33.12
  Uname: Linux 2.6.32-27-server x86_64
  Architecture: amd64
  Date: Thu Dec 30 21:30:47 2010
  InstallationMedia: Ubuntu-Server 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.2)
  Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
  MachineType: Bochs Bochs
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-27-server root=/dev/mapper/hostname-root ro quiet
  ProcEnviron:
   LANG=de_DE.UTF-8
   SHELL=/bin/bash
  SourcePackage: udev
  dmi.bios.date: 01/01/2007
  dmi.bios.vendor: Bochs
  dmi.bios.version: Bochs
  dmi.chassis.type: 1
  dmi.chassis.vendor: Bochs
  dmi.modalias: dmi:bvnBochs:bvrBochs:bd01/01/2007:svnBochs:pnBochs:pvr:cvnBochs:ct1:cvr:
  dmi.product.name: Bochs
  dmi.sys.vendor: Bochs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/udev/+bug/695814/+subscriptions




More information about the foundations-bugs mailing list