[Issue]: amdgpu-dkms ships invalid udev rule: GROUP=="video"
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 68/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- linux
- Ambito
- devops
Direzione di ricerca
Inizia individuando il sorgente del pacchetto che installa /etc/udev/rules.d/70-amdgpu.rules ed esamina la regola KERNEL=="kfd". Il rapporto indica l’operatore GROUP non valido e fornisce l’assegnazione corretta; verifica se il sorgente corrisponde al file installato. Il lavoro è completato quando la regola inclusa nel pacchetto usa la forma corretta indicata e non produce più l’errore udev segnalato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem Description
OS:
NAME="Ubuntu"
VERSION="26.04.1 LTS (Resolute Raccoon)"
CPU:
model name : AMD Ryzen 9 5950X 16-Core Processor
GPU:
Name: gfx1010
Marketing Name: AMD Radeon RX 5700
Name: amdgcn-amd-amdhsa--gfx1010:xnack-
Name: amdgcn-amd-amdhsa--gfx10-1-generic:xnack-
Package: amdgpu-dkms 6.16.13.30300400
File: /etc/udev/rules.d/70-amdgpu.rules
Incorrect: KERNEL=="kfd", GROUP=="video", MODE="0660"
Correct: KERNEL=="kfd", GROUP="video", MODE="0660"
Error: Invalid operator for GROUP
RELATED:
https://askubuntu.com/questions/1315436/new-gpu-amd-kernel-driver-issues-with-kfd-rules
https://unix.stackexchange.com/questions/626002/etc-udev-rules-d-70-amdgpu-rules1-invalid-operator-for-group-found-in-error-l
MORE INFO :
=== OS ===
PRETTY_NAME="Ubuntu 26.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="26.04"
VERSION="26.04.1 LTS (Resolute Raccoon)"
VERSION_CODENAME=resolute
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=resolute
LOGO=ubuntu-logo
Linux 7.0.0-43-generic #43-Ubuntu SMP PREEMPT_DYNAMIC Fri Oct 23 13:25:25 UTC 2026 x86_64 GNU/Linux
=== GPU ===
03:00.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset USB 3.1 xHCI Compliant Host Controller [1022:43d5] (rev 01)
Subsystem: ASMedia Technology Inc. Device [1b21:1142]
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
03:00.1 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD] 400 Series Chipset SATA Controller [1022:43c8] (rev 01)
28:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c4)
Subsystem: Sapphire Technology Limited Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT]Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1da2:e411]
Kernel driver in use: amdgpu
Kernel modules: amdgpu
28:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
=== AMDGPU / ROCm versions ===
amdgpu-dkms 1:6.16.13.30300400-2341068.24.04
amdgpu-dkms-firmware 1:6.1.5.50600-1609671.22.04
amdgpu-install 30.30.4.0.30300400-2341068.24.04
hsa-rocr
rocm-core
rocm-core5.2.0
rocm-llvm5.2.0
rocm-opencl 2.0.0.70204-93~24.04
rocm-opencl-icd
rocm-opencl-icd-loader
rocminfo 7.1.1-0ubuntu1
=== ROCm installation ===
bash: /opt/rocm/bin/rocminfo: No such file or directory
=== AMDGPU kernel driver ===
filename: /lib/modules/7.0.0-43-generic/kernel/drivers/gpu/drm/amd/amdgpu/amdgpu.ko.zst
srcversion: DDB33AF6FA14152D93F2400
vermagic: 7.0.0-43-generic SMP preempt mod_unload modversions
=== UDEV rule and package ownership ===
KERNEL=="kfd", GROUP="video", MODE="0660"
amdgpu-dkms: /etc/udev/rules.d/70-amdgpu.rules
=== Previous UDEV errors ===
nov 10 17:43:09 systemd-udevd[1202]: /etc/udev/rules.d/70-amdgpu.rules:1 Invalid operator for GROUP.
nov 10 17:43:11 systemd-udevd[1202]: /etc/udev/rules.d/70-amdgpu.rules:1 Invalid operator for GROUP.
nov 10 17:43:15 systemd-udevd[1202]: /etc/udev/rules.d/70-amdgpu.rules:1 Invalid operator for GROUP.
nov 10 18:56:04 systemd-udevd[1202]: /etc/udev/rules.d/70-amdgpu.rules:1 Invalid operator for GROUP.
Operating System
Ubuntu 26.04.1 LTS (Resolute Raccoon)
CPU
AMD Ryzen 9 5950X 16-Core Processor
GPU
AMD Radeon RX 5700
ROCm Version
amdgpu-dkms 1:6.16.13.30300400-2341068.24.04 amdgpu-dkms-firmware 1:6.1.5.50600-1609671.22.04 amdgpu-install 30.30.4.0.30300400-2341068.24.04 hsa-rocr rocm-core rocm-core5.2.0 rocm-llvm5.2.0 rocm-opencl 2.0.0.70204-93~24.04 rocm-opencl-icd rocm-opencl-icd-loader rocminfo 7.1.1-0ubuntu1
Installation Method
Package manager
Installed ROCm Packages / Versions
Installed ROCm packages / versions
amdgpu-dkms-firmware/now 1:6.1.5.50600-1609671.22.04 all [installed,local]
amdgpu-dkms/now 1:6.16.13.30300400-2341068.24.04 all [installed,local]
amdgpu-install/now 30.30.4.0.30300400-2341068.24.04 all [installed,local]
libdrm-amdgpu1/resolute,now 2.4.131-1 amd64 [installed,automatic]
libdrm-amdgpu1/resolute,now 2.4.131-1 i386 [installed,automatic]
pytorch-rocm-gfx1010/now 2.15.0 amd64 [installed,local]
rocminfo/resolute,now 7.1.1-0ubuntu1 amd64 [installed]
whiptail/resolute,now 0.52.25-1ubuntu3 amd64 [installed,automatic]
xserver-xorg-video-amdgpu/resolute,now 25.0.0-1 amd64 [installed,automatic]
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of rocminfo --support
rocminfo --support output
ROCk module is loaded
HSA System Attributes
Runtime Version: 1.1
Runtime Ext Version: 1.14
System Timestamp Freq.: 1000.000000MHz
Sig. Max Wait Duration: 18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model: LARGE
System Endianness: LITTLE
Mwaitx: DISABLED
XNACK enabled: NO
DMAbuf Support: YES
VMM Support: YES
==========
HSA Agents
Agent 1
Name: AMD Ryzen 9 5950X 16-Core Processor
Uuid: CPU-XX
Marketing Name: AMD Ryzen 9 5950X 16-Core Processor
Vendor Name: CPU
Feature: None specified
Profile: FULL_PROFILE
Float Round Mode: NEAR
Max Queue Number: 0(0x0)
Queue Min Size: 0(0x0)
Queue Max Size: 0(0x0)
Queue Type: MULTI
Node: 0
Device Type: CPU
Cache Info:
L1: 32768(0x8000) KB
Chip ID: 0(0x0)
ASIC Revision: 0(0x0)
Cacheline Size: 64(0x40)
Max Clock Freq. (MHz): 5086
BDFID: 0
Internal Node ID: 0
Compute Unit: 32
SIMDs per CU: 0
Shader Engines: 0
Shader Arrs. per Eng.: 0
WatchPts on Addr. Ranges:1
Memory Properties:
Features: None
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: FINE GRAINED
Size: 82268488(0x4e75148) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
Pool 2
Segment: GLOBAL; FLAGS: EXTENDED FINE GRAINED
Size: 82268488(0x4e75148) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
Pool 3
Segment: GLOBAL; FLAGS: KERNARG, FINE GRAINED
Size: 82268488(0x4e75148) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
Pool 4
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 82268488(0x4e75148) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:4KB
Alloc Alignment: 4KB
Accessible by all: TRUE
ISA Info:
Agent 2
Name: gfx1010
Uuid: GPU-XX
Marketing Name: AMD Radeon RX 5700
Vendor Name: AMD
Feature: KERNEL_DISPATCH
Profile: BASE_PROFILE
Float Round Mode: NEAR
Max Queue Number: 128(0x80)
Queue Min Size: 64(0x40)
Queue Max Size: 131072(0x20000)
Queue Type: MULTI
Node: 1
Device Type: GPU
Cache Info:
L1: 16(0x10) KB
L2: 4096(0x1000) KB
Chip ID: 29471(0x731f)
ASIC Revision: 2(0x2)
Cacheline Size: 128(0x80)
Max Clock Freq. (MHz): 1750
BDFID: 10240
Internal Node ID: 1
Compute Unit: 36
SIMDs per CU: 2
Shader Engines: 2
Shader Arrs. per Eng.: 2
WatchPts on Addr. Ranges:4
Coherent Host Access: FALSE
Memory Properties:
Features: KERNEL_DISPATCH
Fast F16 Operation: TRUE
Wavefront Size: 32(0x20)
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Max Waves Per CU: 40(0x28)
Max Work-item Per CU: 1280(0x500)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 2147483647(0x7fffffff)
y 65535(0xffff)
z 65535(0xffff)
Max fbarriers/Workgrp: 32
Packet Processor uCode:: 146
SDMA engine uCode:: 35
IOMMU Support:: None
Pool Info:
Pool 1
Segment: GLOBAL; FLAGS: COARSE GRAINED
Size: 8372224(0x7fc000) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:2048KB
Alloc Alignment: 4KB
Accessible by all: FALSE
Pool 2
Segment: GLOBAL; FLAGS: EXTENDED FINE GRAINED
Size: 8372224(0x7fc000) KB
Allocatable: TRUE
Alloc Granule: 4KB
Alloc Recommended Granule:2048KB
Alloc Alignment: 4KB
Accessible by all: FALSE
Pool 3
Segment: GROUP
Size: 64(0x40) KB
Allocatable: FALSE
Alloc Granule: 0KB
Alloc Recommended Granule:0KB
Alloc Alignment: 0KB
Accessible by all: FALSE
ISA Info:
ISA 1
Name: amdgcn-amd-amdhsa--gfx1010:xnack-
Machine Models: HSA_MACHINE_MODEL_LARGE
Profiles: HSA_PROFILE_BASE
Default Rounding Mode: NEAR
Default Rounding Mode: NEAR
Fast f16: TRUE
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 2147483647(0x7fffffff)
y 65535(0xffff)
z 65535(0xffff)
FBarrier Max Size: 32
ISA 2
Name: amdgcn-amd-amdhsa--gfx10-1-generic:xnack-
Machine Models: HSA_MACHINE_MODEL_LARGE
Profiles: HSA_PROFILE_BASE
Default Rounding Mode: NEAR
Default Rounding Mode: NEAR
Fast f16: TRUE
Workgroup Max Size: 1024(0x400)
Workgroup Max Size per Dimension:
x 1024(0x400)
y 1024(0x400)
z 1024(0x400)
Grid Max Size: 4294967295(0xffffffff)
Grid Max Size per Dimension:
x 2147483647(0x7fffffff)
y 65535(0xffff)
z 65535(0xffff)
FBarrier Max Size: 32
*** Done ***
Additional Information
I've already fixed the issue manually on my PC, but the fix could be overwritten by a future update or if I reinstall the driver.
Please fix this in the package so it doesn't happen again.
Thanks!
- Lingua principale
- C
- Stelle
- 472
- Fork
- 153
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ROCm/amdgpu
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 8/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 15/100
-
[BUG] KFD deadlock: profiler_lock and the DQM lock are taken in opposite orders (profiler release vs create_queue_cpsch), all of /dev/kfd hangs on MI355X with amdgpu-dkms 7.1.3Forse già presa @benrichard-amd l’ha presa 5 giorni fa. Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 18/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
Life-Framework/Life-Framework#5378 ·
I maintainer di solito rispondono entro 1 giorno
-
Bug Status: Needs Triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
I maintainer di solito rispondono entro 1 giorno
-
bug status: planned ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
ChupathingyCE/chupathingyce#2126 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue simulation
Difficoltà 1/5 1-3 ore Idoneità per principianti 92/100
MarcosAsh/Lattice_Fluid_Dynamics#270 ·
I maintainer di solito rispondono entro 1 giorno
-
needs-kind
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
falcosecurity/libs#3173 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno