can't change power state from d3hot to d0 (config space inaccessible)

Prox815

New Member
Jun 13, 2021
21
0
1
I am currently following this guide to passthrough a onboard NVMe controller to my Windows 10 VM.

The following error occurred, and the q35 Bios cannot detect the existence of the passthroughed disk:
dmesg
Code:
[  152.072781] pcieport 0000:00:1b.4: PCIe Bus Error: severity=Uncorrected (Non-Fatal), type=Transaction Layer, (Requester ID)
[  152.072802] pcieport 0000:00:1b.4:   device [8086:06ac] error status/mask=00100000/00010000
[  152.072816] pcieport 0000:00:1b.4:    [20] UnsupReq               (First)
[  152.072828] pcieport 0000:00:1b.4: AER:   TLP Header: 34008000 06000010 00000000 88458845
[  152.072986] vfio-pci 0000:06:00.0: can't change power state from D0 to D3hot (config space inaccessible)



Here's my configuration:
nano /etc/pve/qemu-server/104.conf
agent: 1
args: -cpu 'host,+kvm_pv_unhalt,+kvm_pv_eoi,kvm=off'
bios: ovmf
boot: order=hostpci0
cores: 4
cpu: host,flags=+pcid;+spec-ctrl
hostpci0: 0000:06:00,pcie=1,rombar=0
hostpci1: 0000:03:00,pcie=1
hotplug: network,usb
machine: pc-q35-6.0
memory: 8196
name: msWindows
net0: virtio=56:12:09:12:3D:10,bridge=vmbr0,firewall=1
numa: 0
ostype: win10
scsihw: virtio-scsi-single
smbios1: uuid=f77ab107-a743-4297-b07c-9c2e78907749
sockets: 1
usb0: host=1-11
vga: qxl
vmgenid: a0e877ca-01c8-4a96-a330-b2cf8dd7a6ea

Here's my pcie devices:
00:1b.4 PCI bridge [0604]: Intel Corporation Comet Lake PCI Express Root Port #21 [8086:06ac] (rev f0)
03: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 ca)
03:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio [1002:ab38]
(AMD rx5600xt)
06:00.0 Non-Volatile memory controller [0108]: Sandisk Corp WD Black SN750 / PC SN730 NVMe SSD [15b7:5006]
(WD sn750)

nano /etc/modprobe.d/vfio.conf
options vfio-pci ids=1002:731f,1002:ab38,15b7:5006
lspci -n -s 03:00
03:00.0 0300: 1002:731f (rev ca)
03:00.1 0403: 1002:ab38
lspci -n -s 06:00
06:00.0 0108: 15b7:5006

nano /etc/kernel/cmdline
root=ZFS=rpool/ROOT/pve-1 boot=zfs quiet intel_iommu=on iommu=pt video=efifb:off
(I am currently using ZFS as my root filesystem)
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!