Package: udev
Version: 164-3
Severity: normal
Tags: squeeze

I've replaced my broken NIC with  RTL-8169 (lspci ec 10 69 81), deleted 70
-persistent-net.rules, rebooted Linux.
udevd have not generated 70-persistent-net.rules file.

I'm running Linux on a "bare metal", so, bug 652660 is not the case for me.
The reason is either buggy driver (r8169) or buggy 75-persistent-net-
generator.rules file.

"75-persistent-net-generator.rules" thought, it's a "virtual interface", while
it's not.
# ignore interfaces without a driver link like bridges and VLANs, otherwise
# generate and write the rule
DRIVERS=="?*", IMPORT{program}="write_net_rules"

Driver should provide a "driver link", but it's not the reason to ignore this
interface by udevd.
If I replace (to test) the line with DRIVERS=="*",
IMPORT{program}="write_net_rules" - write_net_rules will be called & will
generate 70-persistent-net.rules file,
but it will also add DRIVERS=="?*", so, it will be unusable...

We can workaround it with "PHYSDEVDRIVER", containing "r8169".

== info ==
P: /class/net/eth0
E: UDEV_LOG=3
E: DEVPATH=/class/net/eth0
E: PHYSDEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:01:00.0
E: PHYSDEVBUS=pci
E: PHYSDEVDRIVER=r8169
E: INTERFACE=eth0
E: IFINDEX=23
E: SUBSYSTEM=net
E: MATCHADDR=00:24:8c:e9:a6:ab
E: MATCHIFTYPE=1
E: MATCHDEVID=0x0
E: COMMENT=Unknown net device (/class/net/eth0)

== monitor ==
UDEV  [1330779600.723404] add      /class/net/eth0 (net)
UDEV_LOG=3
ACTION=add
DEVPATH=/class/net/eth0
SUBSYSTEM=net
PHYSDEVPATH=/devices/pci0000:00/0000:00:1c.1/0000:01:00.0
PHYSDEVBUS=pci
PHYSDEVDRIVER=r8169
INTERFACE=eth0
SEQNUM=1320
MATCHADDR=00:24:8c:e9:a6:ab
MATCHIFTYPE=1
MATCHDEVID=0x0
COMMENT=Unknown net device (/class/net/eth0)




-- System Information:
Debian Release: 6.0.4
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages udev depends on:
ii  debconf [debconf-2.0]   1.5.36.1         Debian configuration management sy
ii  libc6                   2.11.3-3         Embedded GNU C Library: Shared lib
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  libudev0                164-3            libudev shared library
ii  libusb-0.1-4            2:0.1.12-16      userspace USB programming library
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  util-linux              2.17.2-9         Miscellaneous system utilities

Versions of packages udev recommends:
ii  pciutils                  1:3.1.7-6      Linux PCI Utilities
ii  usbutils                  0.87-5squeeze1 Linux USB utilities

udev suggests no packages.

-- debconf information:
  udev/new_kernel_needed: false
  udev/sysfs_deprecated_incompatibility:
  udev/title/upgrade:
  udev/reboot_needed:



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

Reply via email to