Lost of pci device even after reboot

mcdull

Member
Aug 23, 2020
65
2
13
46
I tried to passthrough a pcie device (USB 3.0 controller) to a vm but failed and resulting a crash to the host. It should have automatically reboot but since then I cannot find the pcie device anymore with lspci.
The vm in question reported fail to start because the pcie assigned is missing.

0a:00.1 Encryption controller: Advanced Micro Devices, Inc. [AMD] Starship/Matisse Cryptographic Coprocessor PSPCPP
0a:00.3 (This item was a USB 3.0 controller but is now missing after soft reboot)
0a:00.4 Audio device: Advanced Micro Devices, Inc. [AMD] Starship/Matisse HD Audio Controller

I think power cycle should fix it but the machine is far away from me and if there are any way to fix it I could save some hours of travel time.

My next stage will install a remote control power meter with relay so that I can always powercycle the entire machine remotely, but not at this stage.
Any help would be appreciated.

Thanks.
 
cmd tried but not work
sudo sh -c "echo 1 > /sys/bus/pci/rescan "

/var/log/message
Aug 25 15:58:31 proxmox kernel: [ 8497.090654] pci 0000:0a:00.3: not ready after 16383ms; waiting
Aug 25 15:58:49 proxmox kernel: [ 8515.266400] pci 0000:0a:00.3: not ready after 32767ms; waiting
Aug 25 15:59:24 proxmox kernel: [ 8550.081965] pci 0000:0a:00.3: not ready after 65535ms; giving up