Udev: erinevus redaktsioonide vahel
Allikas: Imre kasutab arvutit
Mine navigeerimisribaleMine otsikasti
(Uus lehekülg: '===Sissejuhatus=== TODO ===Tööpõhimõte=== <pre> root@pm60-trt:~# udevadm info -a -p /sys/class/net/enp6s0 | grep -A 3 "looking at p" looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:06.0/0000:06:00.0': KERNELS=="0000:06:00.0" SUBSYSTEMS=="pci" DRIVERS=="r8169" -- looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:06.0': KERNELS=="0000:03:06.0" SUBSYSTEMS=="pci" DRIVERS=="pcieport"...') |
|||
| (ei näidata sama kasutaja 2 vahepealset redaktsiooni) | |||
| 31. rida: | 31. rida: | ||
SUBSYSTEMS=="" |
SUBSYSTEMS=="" |
||
DRIVERS=="" |
DRIVERS=="" |
||
| + | |||
| + | root@pm60-trt:~# udevadm info -a -p /sys/class/nvme/nvme1 | grep -A 3 "looking at pa" |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:09.0/0000:08:00.0': |
||
| + | KERNELS=="0000:08:00.0" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="nvme" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:09.0': |
||
| + | KERNELS=="0000:03:09.0" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2': |
||
| + | KERNELS=="0000:02:00.2" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3': |
||
| + | KERNELS=="0000:00:01.3" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00': |
||
| + | KERNELS=="pci0000:00" |
||
| + | SUBSYSTEMS=="" |
||
| + | DRIVERS=="" |
||
| + | |||
| + | root@pm60-trt:~# udevadm info -a -p "/sys/class/net/enp4s0f0np0" | grep -A 3 "looking at p" |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:00.0/0000:04:00.0': |
||
| + | KERNELS=="0000:04:00.0" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="mlx5_core" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:00.0': |
||
| + | KERNELS=="0000:03:00.0" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2': |
||
| + | KERNELS=="0000:02:00.2" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00/0000:00:01.3': |
||
| + | KERNELS=="0000:00:01.3" |
||
| + | SUBSYSTEMS=="pci" |
||
| + | DRIVERS=="pcieport" |
||
| + | -- |
||
| + | looking at parent device '/devices/pci0000:00': |
||
| + | KERNELS=="pci0000:00" |
||
| + | SUBSYSTEMS=="" |
||
| + | DRIVERS=="" |
||
| + | |||
root@pm60-trt:~# lspci -vt |
root@pm60-trt:~# lspci -vt |
||
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex |
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex |
||
Viimane redaktsioon: 6. oktoober 2025, kell 11:33
Sissejuhatus
TODO
Tööpõhimõte
root@pm60-trt:~# udevadm info -a -p /sys/class/net/enp6s0 | grep -A 3 "looking at p"
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:06.0/0000:06:00.0':
KERNELS=="0000:06:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="r8169"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:06.0':
KERNELS=="0000:03:06.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2':
KERNELS=="0000:02:00.2"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3':
KERNELS=="0000:00:01.3"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
root@pm60-trt:~# udevadm info -a -p /sys/class/nvme/nvme1 | grep -A 3 "looking at pa"
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:09.0/0000:08:00.0':
KERNELS=="0000:08:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="nvme"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:09.0':
KERNELS=="0000:03:09.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2':
KERNELS=="0000:02:00.2"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3':
KERNELS=="0000:00:01.3"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
root@pm60-trt:~# udevadm info -a -p "/sys/class/net/enp4s0f0np0" | grep -A 3 "looking at p"
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:00.0/0000:04:00.0':
KERNELS=="0000:04:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="mlx5_core"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2/0000:03:00.0':
KERNELS=="0000:03:00.0"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3/0000:02:00.2':
KERNELS=="0000:02:00.2"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00/0000:00:01.3':
KERNELS=="0000:00:01.3"
SUBSYSTEMS=="pci"
DRIVERS=="pcieport"
--
looking at parent device '/devices/pci0000:00':
KERNELS=="pci0000:00"
SUBSYSTEMS==""
DRIVERS==""
root@pm60-trt:~# lspci -vt
-[0000:00]-+-00.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Root Complex
+-00.2 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) I/O Memory Management Unit
+-01.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-01.1-[01]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
+-01.3-[02-08]--+-00.0 Advanced Micro Devices, Inc. [AMD] Device 43d0
| +-00.1 Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller
| \-00.2-[03-08]--+-00.0-[04]--+-00.0 Mellanox Technologies MT2894 Family [ConnectX-6 Lx]
| | \-00.1 Mellanox Technologies MT2894 Family [ConnectX-6 Lx]
| +-04.0-[05]----00.0 ASMedia Technology Inc. ASM1142 USB 3.1 Host Controller
| +-06.0-[06]----00.0 Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
| +-07.0-[07]----00.0 Intel Corporation I211 Gigabit Network Connection
| \-09.0-[08]----00.0 Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
+-02.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-03.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-03.1-[09]----00.0 ASMedia Technology Inc. ASM1164 Serial ATA AHCI Controller
+-03.2-[0a]----00.0 ASMedia Technology Inc. ASM1164 Serial ATA AHCI Controller
+-04.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-07.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-07.1-[0b]--+-00.0 Advanced Micro Devices, Inc. [AMD] Zeppelin/Raven/Raven2 PCIe Dummy Function
| +-00.2 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Platform Security Processor (PSP) 3.0 Device
| \-00.3 Advanced Micro Devices, Inc. [AMD] Zeppelin USB 3.0 xHCI Compliant Host Controller
+-08.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-1fh) PCIe Dummy Host Bridge
+-08.1-[0c]--+-00.0 Advanced Micro Devices, Inc. [AMD] Zeppelin/Renoir PCIe Dummy Function
| +-00.2 Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode]
| \-00.3 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) HD Audio Controller
+-14.0 Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller
+-14.3 Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge
+-18.0 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 0
+-18.1 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 1
+-18.2 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 2
+-18.3 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 3
+-18.4 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 4
+-18.5 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 5
+-18.6 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 6
\-18.7 Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) Data Fabric: Device 18h; Function 7
root@pm60-trt:~#
pnp seadmed
root@pm60-trt:~# ls -ld /run/udev/data/* | grep PNP -rw-r--r-- 1 root root 62 Jul 5 20:49 /run/udev/data/+acpi:PNP0000:00 -rw-r--r-- 1 root root 62 Jul 5 20:49 /run/udev/data/+acpi:PNP0100:00 -rw-r--r-- 1 root root 62 Jul 5 20:49 /run/udev/data/+acpi:PNP0103:00 -rw-r--r-- 1 root root 62 Jul 5 20:49 /run/udev/data/+acpi:PNP0200:00 ...
Kasulikud lisamaterjalid
- TODO