{"id":10368,"date":"2019-07-11T00:10:00","date_gmt":"2019-07-10T22:10:00","guid":{"rendered":"http:\/\/159.69.82.204\/win\/?p=10368"},"modified":"2023-07-19T16:24:12","modified_gmt":"2023-07-19T14:24:12","slug":"vmware-esxi-hosts-crash-during-vm-shutdown-with-pci-passthrough","status":"publish","type":"post","link":"https:\/\/borncity.com\/win\/2019\/07\/11\/vmware-esxi-hosts-crash-during-vm-shutdown-with-pci-passthrough\/","title":{"rendered":"VMware ESXi: Hosts crash during VM shutdown with PCI passthrough"},"content":{"rendered":"<p>[<a href=\"https:\/\/www.borncity.com\/blog\/2019\/07\/09\/vmware-esxi-absturz-des-hosts-beim-herunterfahren-einer-vm-mit-pci-passthrough\/\" target=\"_blank\" rel=\"noopener noreferrer\">German<\/a>]A brief note about an issue that may occurs with VMware ESXi virtualization solutions when PCI passthrough is used. Then the host may rashes when the virtual machines (guests) shut down.<\/p>\n<p><!--more--><\/p>\n<h2>VMware ESXi crashes<\/h2>\n<p><img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/vg01.met.vgwort.de\/na\/2a199d5284314af1ad7d03b4baa1cfc5\" width=\"1\" height=\"1\">Users of VMware's ESXi virtualization solutions suffer from sporadic crashes. The problem occurs under various ESXi versions and constellations during virtual machine (guest) shutdown. When PCI passthrough is enabled, the ESXi host crashes with a Purple Screen of Death (similar to the Windows Blue Screen). <\/p>\n<p><a href=\"https:\/\/i.imgur.com\/Gd9C0Rs.jpg\" target=\"_blank\" rel=\"noopener noreferrer\"><img loading=\"lazy\" decoding=\"async\" title=\"VMware ESXi puple screen of death\" alt=\"VMware ESXi puple screen of death\" src=\"https:\/\/i.imgur.com\/Gd9C0Rs.jpg\" width=\"644\" height=\"312\"><\/a><br \/>(Source: administrator.de)<\/p>\n<p>I stumbled upon this issue at German site <a href=\"https:\/\/web.archive.org\/web\/20200805155032\/https:\/\/administrator.de\/wissen\/esxi-host-crash-herunterfahren-vm-passthrough-470915.html\" target=\"_blank\" rel=\"noopener noreferrer\">administrator.de<\/a>. An affected user has published such a case and posted the above Purple Screen of Death. He wrote in a statement that the problem can occur with older PCI-E devices with ESXi hosts.&nbsp; <\/p>\n<blockquote>\n<p>The Purple Screen of Death and the TroubleShooting are described on this website.&nbsp; <\/p>\n<\/blockquote>\n<h2>The error has been occurring for years<\/h2>\n<p>For many years, the error pattern has been described on the Internet from time to time. <a href=\"https:\/\/communities.vmware.com\/thread\/417882\" target=\"_blank\" rel=\"noopener noreferrer\">Here is a description<\/a> from the year 2012. I have also found places with Nvidia graphics cards on the Internet. <a href=\"https:\/\/communities.vmware.com\/thread\/519614\" target=\"_blank\" rel=\"noopener noreferrer\">This forum thread<\/a> contains several pages which deal with the topic <em>Host crashes with Nvidia drivers<\/em>. A similar thread can be found <a href=\"https:\/\/forums.servethehome.com\/index.php?threads\/troubleshooting-gpu-passthrough-esxi-6-5.12631\/page-4\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/p>\n<p>The affected person at administrator.de is using ESXi 6.7 U2 and observes these host crashes. It doesn't always occur, but always when shutting down the guest VMs, when the PCI devices are pass-through. Quote:<\/p>\n<blockquote>\n<p>The problem occurs with all tested ESXi constellations, &#8230;. According to other reports from the web, VMware ESXi 5.5 is said to have a much lower incidence of the problem, but still be present in some. \u2026.<\/p>\n<p>The used hardware doesn't seem to play a role either, because among other things subsumer boards from MSI, as well as systems from Supermicro were involved.<\/p>\n<\/blockquote>\n<p>The affected person states that according to forum contributions the problem is limited to older PCI-E devices. For example, he mentions the AMD Sky500 graphics card he used (identical in construction to AMD S7000). It belongs to the generation of Radeon HD 7700 HD 7800 graphics cards. <\/p>\n<h2>No solution, just a workaround<\/h2>\n<p>The affected person suspects that the PCI-E bus is not completely reset when the VM is shut down. There does not seem to be an official solution from VMware. A workaround is to disable the relevant PCI-E devices in the host's Device Manager before shutting down the VM. Any of you who are affected by the bug and know a fix?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[German]A brief note about an issue that may occurs with VMware ESXi virtualization solutions when PCI passthrough is used. Then the host may rashes when the virtual machines (guests) shut down.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1218],"tags":[2021,532,1405,1710],"class_list":["post-10368","post","type-post","status-publish","format-standard","hentry","category-virtualization","tag-esxi","tag-problemlosung","tag-virtualisierung","tag-vmware"],"_links":{"self":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10368","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/comments?post=10368"}],"version-history":[{"count":0,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/posts\/10368\/revisions"}],"wp:attachment":[{"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/media?parent=10368"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/categories?post=10368"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/borncity.com\/win\/wp-json\/wp\/v2\/tags?post=10368"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}