天天看点

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

背景:

使用EXSI6.7.0,采用显卡直通模式添加PCIE设备,但是进入系统后运行nvidia-smi报错:unable to determine the device handle for GPU unknown error

根据回答:

This is a VMWare pass-through (directpath) problem.

You must add to your vmx file the following directive:

hypervisor.cpuid.v0 = "FALSE"

设置vmx添加该项后重启宿主机后,发现该虚拟机系统无法启动,后看有回答说必须更新ESXi补丁至最新版本。

【下载地址】

补丁下载链接:https://my.vmware.com/en/web/vmware/downloads

也可在这里下载ESXI补丁:https://www.dinghui.org/vmware-iso-download.html

上传补丁

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

开启SSH 使用CRT ssh登录

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

目录根据显示情况自己修改

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

安装补丁

esxcli software vib install -d=/vmfs/volumes/5eb2bb03-22ffd90e-8622-000af78bb166/ESXi670-202006001.zip 目录根据自己实际情况修改

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

安装完成后重启重启宿主机即可

原始版本

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

打完补丁的版本

ESXi6.7虚拟机无法添加PCIE显卡设备报错Unknow error解决方法

结果:

再进入该虚拟机即可正常启动,并显示GPU信息