Reordered network interface names
Arkadiusz Bubała <[email protected]>
| Newsgroups | gmane.linux.hotplug.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I have server with S5520UR motherboard running Debian Etch (with the latest mainline kernel 3.4). This motherboard has two integrated ports: 01:00.0 Ethernet controller [0200]: Intel Corporation 82575EB Gigabit Network Connection [8086:10a7] (rev 02) 01:00.1 Ethernet controller [0200]: Intel Corporation 82575EB Gigabit Network Connection [8086:10a7] (rev 02) There also additional network adapters attached: 03:00.0 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 03:00.1 Ethernet controller [0200]: Intel Corporation 82599ES 10-Gigabit SFI/SFP+ Network Connection [8086:10fb] (rev 01) 07:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) 07:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) 0a:00.0 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) 0a:00.1 Ethernet controller [0200]: Intel Corporation 82576 Gigabit Network Connection [8086:10c9] (rev 01) Rarely after reboot interfaces are reordered and one of them is named eth1_rename (about 20 reboots is needed to reproduce this issue). I tried to update udev but this didn't resolve this issue. I also tried running udev with debug-trace but it caused that only eth0 didn't have "_rename" suffix. I attached udev rules file, udevinfo output. I also have full logs from udevmonitor if needed (I have problems with attaching this file it has 1MB uncompressed and 100kB compressed). Could you give me any advices how to solve this issue? Thank you in advance. PS I can't reproduce this issue on Linux kernel 2.6.35. Best regards, Arkadiusz
eth.rules
(text/plain, 1.2 KB)
# This file was automatically generated by the /lib/udev/write_net_rules
# program, probably run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.
# MAC addresses must be written in lowercase.
# PCI device 0x8086:0x10fb (ixgbe)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:21:6e:6c:10", NAME="eth1"
# PCI device 0x8086:0x10fb (ixgbe)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:1b:21:6e:6c:11", NAME="eth3"
# PCI device 0x8086:0x10a7 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:aa:eb:e8", NAME="eth0"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:ba:4f:30", NAME="eth4"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:ba:4f:31", NAME="eth5"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:ba:4f:32", NAME="eth6"
# PCI device 0x8086:0x10c9 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:ba:4f:33", NAME="eth7"
# PCI device 0x8086:0x10a7 (igb)
SUBSYSTEM=="net", DRIVERS=="?*", ATTRS{address}=="00:15:17:aa:eb:e9", NAME="eth2"
eth0.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:01.0/0000:01:00.1/net/eth0':
KERNEL=="eth0"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="1000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="6"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:aa:eb:e9"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="6"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.1/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.1':
KERNELS=="0000:01:00.1"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="28"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010A7sv00008086sd000034DEbc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10a7"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:01.0':
KERNELS=="0000:00:01.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="64"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003408sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3408"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth1.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:05.0/0000:03:00.0/net/eth1':
KERNEL=="eth1"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="10000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="3"
ATTR{addr_len}=="6"
ATTR{address}=="00:1b:21:6e:6c:10"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="3"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:05.0/0000:03:00.0/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:05.0/0000:03:00.0':
KERNELS=="0000:03:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="ixgbe"
ATTRS{irq}=="26"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010FBsv00008086sd00000003bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10fb"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x0003"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:05.0':
KERNELS=="0000:00:05.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="66"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d0000340Csv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x340c"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth1_rename.log
(text/x-log, 2.4 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/net/eth1_rename':
KERNEL=="eth1_rename"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1002"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{iflink}=="4"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:aa:eb:e8"
ATTR{operstate}=="down"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="4"
ATTR{link_mode}=="0"
looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:01.0/0000:01:00.0':
KERNELS=="0000:01:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="40"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010A7sv00008086sd000034DEbc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10a7"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:01.0':
KERNELS=="0000:00:01.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="64"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003408sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3408"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth3.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:05.0/0000:03:00.1/net/eth3':
KERNEL=="eth3"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="65535"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="5"
ATTR{addr_len}=="6"
ATTR{address}=="00:1b:21:6e:6c:11"
ATTR{operstate}=="down"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="5"
ATTR{link_mode}=="0"
ATTR{carrier}=="0"
looking at parent device '/devices/pci0000:00/0000:00:05.0/0000:03:00.1/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:05.0/0000:03:00.1':
KERNELS=="0000:03:00.1"
SUBSYSTEMS=="pci"
DRIVERS=="ixgbe"
ATTRS{irq}=="25"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010FBsv00008086sd00000003bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10fb"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x0003"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:05.0':
KERNELS=="0000:00:05.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="66"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d0000340Csv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x340c"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth4.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:09.0/0000:07:00.0/net/eth4':
KERNEL=="eth4"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="1000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="7"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:ba:4f:30"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="7"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:09.0/0000:07:00.0/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:09.0/0000:07:00.0':
KERNELS=="0000:07:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="32"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010C9sv00000000sd00003550bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10c9"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x3550"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:09.0':
KERNELS=="0000:00:09.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="68"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003410sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3410"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth5.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:09.0/0000:07:00.1/net/eth5':
KERNEL=="eth5"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="1000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="8"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:ba:4f:31"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="8"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:09.0/0000:07:00.1/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:09.0/0000:07:00.1':
KERNELS=="0000:07:00.1"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="42"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010C9sv00000000sd00003550bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10c9"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x3550"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:09.0':
KERNELS=="0000:00:09.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="68"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003410sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3410"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth6.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.0/net/eth6':
KERNEL=="eth6"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="1000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="9"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:ba:4f:32"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="9"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.0/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.0':
KERNELS=="0000:0a:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="33"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010C9sv00000000sd00003550bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10c9"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x3550"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:0a.0':
KERNELS=="0000:00:0a.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="69"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003411sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3411"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""
eth7.log
(text/x-log, 2.5 KB)
Udevinfo starts with the device specified by the devpath and then
walks up the chain of parent devices. It prints for every device
found, all possible attributes in the udev rules key format.
A rule to match, can be composed by the attributes of the device
and the attributes from one single parent device.
looking at device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.1/net/eth7':
KERNEL=="eth7"
SUBSYSTEM=="net"
DRIVER==""
ATTR{mtu}=="1500"
ATTR{type}=="1"
ATTR{netdev_group}=="0"
ATTR{flags}=="0x1003"
ATTR{speed}=="1000"
ATTR{dormant}=="0"
ATTR{addr_assign_type}=="0"
ATTR{dev_id}=="0x0"
ATTR{duplex}=="full"
ATTR{iflink}=="10"
ATTR{addr_len}=="6"
ATTR{address}=="00:15:17:ba:4f:33"
ATTR{operstate}=="up"
ATTR{broadcast}=="ff:ff:ff:ff:ff:ff"
ATTR{tx_queue_len}=="1000"
ATTR{ifalias}==""
ATTR{ifindex}=="10"
ATTR{link_mode}=="0"
ATTR{carrier}=="1"
looking at parent device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.1/net':
KERNELS=="net"
SUBSYSTEMS==""
DRIVERS==""
looking at parent device '/devices/pci0000:00/0000:00:0a.0/0000:0a:00.1':
KERNELS=="0000:0a:00.1"
SUBSYSTEMS=="pci"
DRIVERS=="igb"
ATTRS{irq}=="31"
ATTRS{subsystem_vendor}=="0x0000"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x020000"
ATTRS{consistent_dma_mask_bits}=="64"
ATTRS{modalias}=="pci:v00008086d000010C9sv00000000sd00003550bc02sc00i00"
ATTRS{dma_mask_bits}=="64"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x10c9"
ATTRS{enable}=="1"
ATTRS{msi_bus}==""
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x3550"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00/0000:00:0a.0':
KERNELS=="0000:00:0a.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
ATTRS{irq}=="69"
ATTRS{subsystem_vendor}=="0x8086"
ATTRS{broken_parity_status}=="0"
ATTRS{class}=="0x060400"
ATTRS{consistent_dma_mask_bits}=="32"
ATTRS{modalias}=="pci:v00008086d00003411sv00008086sd000034DEbc06sc04i00"
ATTRS{dma_mask_bits}=="32"
ATTRS{local_cpus}=="00000000,00000000,00000000,0000ffff"
ATTRS{device}=="0x3411"
ATTRS{enable}=="2"
ATTRS{msi_bus}=="1"
ATTRS{local_cpulist}=="0-15"
ATTRS{vendor}=="0x8086"
ATTRS{subsystem_device}=="0x34de"
ATTRS{numa_node}=="-1"
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
ATTRS{uevent}==""