Hi ich777 — I think I've hit a packaging/registration issue with the AMD Vendor Reset plugin on my kernel version. I've narrowed it down fairly far before posting; details and exact command output below. System Unraid 7.3.1 Kernel: 6.18.33-Unraid Board/CPU: ASRock Rack ROMED8-2T / EPYC 7543P GPU (passthrough target): AMD reference RX 6900 XT, Navi 21, all four functions stubbed to vfio-pci from boot via vfio-pci.cfg Host boots on onboard ASPEED VGA; video=efifb:off on the append line so the host never touches the 6900 XT. Symptom The plugin installs and the module loads (hook reports installed), but the reset method never becomes device_specific — it stays bus, and writing device_specific fails with write error: Invalid argument. This happens even with the card idle, no VM running, in a clean vfio-bound state. Exact output Kernel and module (vermagic matches the running kernel): # uname -r
6.18.33-Unraid
# modinfo vendor_reset
filename: /lib/modules/6.18.33-Unraid/updates/vendor-reset.ko.xz
version: 0.1.1
author: Adam Madsen <
[email protected]>
author: Geoffrey McRae <
[email protected]>
license: GPL v2
srcversion: 9DB935EFAD3315A519FE253
depends:
name: vendor_reset
retpoline: Y
vermagic: 6.18.33-Unraid SMP preempt mod_unload
parm: install_hook:bool
Package folder matches the kernel: # ls /boot/config/plugins/amd-vendor-reset/packages/
6.18.33/
Hook reports installed: # dmesg | grep -i vendor
[ 67.711636] vendor_reset_hook: installed
Reset method stays bus and rejects device_specific: # cat /sys/bus/pci/devices/0000:07:00.0/reset_method
bus
# echo device_specific > /sys/bus/pci/devices/0000:07:00.0/reset_method
bash: echo: write error: Invalid argument
GPU (all four functions, vfio-pci bound): # lspci -nnk -s 07:00.
07:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 [Radeon RX 6800/6800 XT / 6900 XT] [1002:73bf] (rev c0)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Radeon RX 6900 XT [1002:0e3a]
Kernel driver in use: vfio-pci
Kernel modules: amdgpu
07:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21/23 HDMI/DP Audio Controller [1002:ab28]
Kernel driver in use: vfio-pci
07:00.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] Device [1002:73a6]
Kernel driver in use: vfio-pci
07:00.3 Serial bus controller [0c80]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 21 USB [1002:73a4]
Kernel driver in use: vfio-pci
Boot command line: # cat /proc/cmdline
BOOT_IMAGE=/bzimage initrd=/bzroot video=efifb:off
What I've ruled out Wrong/mismatched module: vermagic is 6.18.33-Unraid, matching the running kernel exactly; package folder is 6.18.33/. vfio-lock / timing: I unbound 07:00.0 from vfio-pci and the write still failed with Invalid argument; rebound it to vfio-pci (clean state) and it still fails. Same result in both states, card idle, no VM. Unsupported card: Navi 21 1002:73bf is reported working with vendor-reset elsewhere (same device IDs). Conflicting local config: removed earlier manual go-file reset_method write and a modprobe.d softdep; go is back to stock, only zfs.conf remains in modprobe.d. My read (could be wrong) The hook installs, but the module's device_specific handler does not appear to register into the kernel PCI reset infrastructure on this kernel — the kernel rejects device_specific as invalid for the device even when idle and regardless of bind state. This looks like it could be a build/registration issue with the pre-built package for 6.18.33-Unraid, rather than a config problem on my end. Question Is the pre-built vendor-reset package for 6.18.33-Unraid known-good, or might it need a rebuild against this kernel? Anything else I can check to confirm whether the handler is registering? Happy to provide full diagnostics or test a rebuilt package.
unraid-diagnostics-20260630-2029.zip