Exsi上ubuntu虚拟机显卡tesla p100 驱动和cuda踩坑。

news/2024/10/17 20:35:20/

1. 显卡直通后无法开启电源

报错如下:

Module 'DevicePowerOn' power on failed.

解决方法:

在虚拟机高级选项里面添加参数 (note:这个其实是ubuntu 18.04,当初ubuntu16.04装驱动现实gcc内核编译版本不匹配,后面装了ubuntu 18.04名字打错了。)

pciPassthru.use64bitMMIO = TRUE


pciPassthru.64bitMMIOSizeGB = 96

参考 https://gridforums.nvidia.com/default/topic/1037/general-discussion/esxi-6-5-tesla-m60-cant-start-vw/

2. 在能开启电源后,无法打上驱动。Unable to determine if Secure Boot is enabled

报错如下:

-> done.
-> Kernel module compilation complete.
-> Unable to determine if Secure Boot is enabled: No such file or directory
ERROR: Unable to load the kernel module ‘nvidia.ko’. This happens most frequently when t
his kernel module was built against the wrong or improperly configured kernel sources, wi
th a version of gcc that differs from the one used to build the target kernel, or if a dr
iver such as rivafb, nvidiafb, or nouveau is present and prevents the NVIDIA kernel modul
e from obtaining ownership of the NVIDIA graphics device(s), or no NVIDIA GPU installed i
n this system is supported by this NVIDIA Linux graphics driver release.

解决方法:

1. 把虚拟机的bios模式改成EFI模式(我重新安装了虚拟机。开始的时候就选择efi模式,安装了系统后,不知道怎么改efi。)。

2. sudo apt install mokutil

3. sudo mokutil --disable-validation

4. reboot

5. 此时电脑重启,出现蓝屏,按任意键,出现四个选项:选择change secure boot state

6. 输入相应密码的第几个字符。然后修改为disable就可以了。

详细操作参考:https://blog.csdn.net/qq_40212975/article/details/106542165


http://www.ppmy.cn/news/177988.html

相关文章

中职网络安全竞赛训练设备P100-wireshark数据包分析

任务实施: Wireshark数据包分析 1.某公司网络系统存在异常,猜测可能有黑客对公司的服务器实施了一系列的扫描和攻击,使用Wireshark抓包分析软件查看并分析Kali Linux的/root目录下dump.pcapng数据包文件,找到黑客的IP地址,并将黑客的IP地址作为Flag值(如:172.16.1.1)提…

【炼丹炉】CentOS 7安装GPU(Tesla P100)驱动

下载驱动 https://www.nvidia.cn/Download/index.aspx?langcn CentOS 7操作 1. 启动方式 需要是 UEFI/EFI 的 非安全启动方式; 2. 基础环境准备 检查 GPU 是否支持 CUDA lspci | grep -i nvidia 00:09.0 3D controller: NVIDIA Corporation GP100GL [Tesla P…

Nvidia GPU卡演进架构及(P100)介绍

转载自: Nvidia GPU卡演进架构及(P100)介绍 http://linuxperformance.top/ 关于GPU 关于GPU我们可以回退到1985年ATi公司成立,开发出了第一款图形芯片和图形卡,那时候这种芯片还没有GPU的称号, ATI都是把…

英伟达Tesla P100超级计算机组件全面登陆PCIe总线

英伟达公司已经推出了其Tesla P100加速芯片,采用PCIe卡形式且可接入标准服务器节点以支持人工智能与超级计算机级别的工作负载处理工作。 P100公布于今年4月在加利福尼亚州召开的英伟达GPU技术大会上:这款16纳米FinFET图形处理器在一块600平方毫米晶片上…

上海贝尔s1240程控交换机

有没有懂上海贝尔s1240的大佬,有问题想咨询一下,有偿。

大族激光打标机与西门子300以太网通讯协议

大族激光打标机与西门子300以太网通讯协议 技术交流 资源共享 博主QQ:68823886 原创文章,转载请注明: 转载自莫如技术团队 本文链接地址: http://mooru.cn/19029.html

性能远超小型机?新华三推出最新HPE Superdome Flex 280服务器

今年6月,新华三宣布推出专门针对企业数字化转型的关键业务服务器HPE Superdome Flex 280,用于承载SAP HANA或Oracle数据库等核心应用,同时兼顾大规模物联网和人工智能数据集等新技术带来的创新需求。 源自HPE的Superdome Flex系列产品&…

飞思卡尔智能车经验

本人参加了第九届飞思卡尔智能车比赛,光电组。现在分享下自己的心得和体会,希望能够给后来人带来点帮助。为什么不在智能车论坛发,因为那个论坛我现在不经常上了,如果有人回复我怕不能及时回复,下面这些内容适合新手&a…