Hi
HP 8000 SFF
2 cpu 3000 / 6 MB cash
when shutdown VM it complete normal , but in case add any pci passthrough even builtin USB, then when try to shutdown or reboot VM stuck with " In progress " status and complete after 80 minutes or more !
i tested various versions of Esxi and same issue exist
i noticed High CPU load after shutdown VM .. this happen in Stuck time " in progress" status , and back normal once shutdown done after 80 minutes
i tried also with esxi U3 + last patch update
Video:
logs attached
log2 after VM shutdown complete (HungVM)
hi,
use the command to shutdown it forcely.
esxcli vm process list
Note down the world id of the vm
esxcli vm process kill --type=force --world-id=WorldNumber
Replace the world id with the vm world id.
Thanks
for more visit vmwarediary.com
Issue is not with your ESXi or VM.
It is with the OS you are using. During shutdown, OS is unable to stop & release the PCI device.
This could be device id conflict or anything else. You need to investigate the OS logs.
i did your nice commands and VM killed , after that trying to power off from context menu .. it stuck and same thing hapen (high CPU) and not powered off
i tried centos + debian 8.8 and same issue happen
i was thinking about your method of release the PCI device before shutdown or power Off and found nice steps here:
How to Reset/Cycle Power to a PCIe Device? - Unix & Linux Stack Exchange
before apply (centos7):
# echo "1" > /sys/bus/pci/devices/0000\:0b\:00.0//remove
# lspci
#halt
after some time i powered off from context menu
but same result !!
any solution or fix ?!
This maybe be helpful:
Re: ESXi 6.0 U2, Passthrough Video Card, Hang/Freeze
in few words: add "1002 ffff link false" to /etc/vmware/passthru.map and reboot the host
i followed your link and mentioned line but no luck !!
i could get both vendor ID and device id by cmd:
#vmkchdev -l
or from gui
#vi /etc/vmware/passthru.map
reboot Host
and started VM then tried to shutdown or reset ... same issue exist .. any solution?