Tag: dkms

无法构建EVDI安装DisplayLink驱动程序

在我的Dell XPS 13 9360上安装DispalyLink驱动程序(特别是Dell DA100适配器)时遇到了严重问题。我从官方网站下载并解压缩了Displaylink驱动程序。 然后我做了sudo displaylink-driver-1.3.54.run我得到了这个: Verifying archive integrity… All good. Uncompressing DisplayLink Linux Driver 1.3.54 100% DisplayLink Linux Software 1.3.54 install script called: install Distribution discovered: Ubuntu 16.04.2 LTS Installing Configuring EVDI DKMS module Registering EVDI kernel module with DKMS Building EVDI kernel module with DKMS ERROR (code 3): Failed to build evdi/1.3.54. […]

`错误! 无法找到dkms.conf文件`

在最近的apt-get dist-upgrade 12.10期间,我收到了以下错误: Setting up linux-headers-3.5.0-19-generic (3.5.0-19.30) … Examining /etc/kernel/header_postinst.d. run-parts: executing /etc/kernel/header_postinst.d/dkms 3.5.0-19-generic /boot/vmlinuz-3.5.0-19-generic Error! Could not locate dkms.conf file. File: does not exist. 有任何想法吗?

如何修复VirtualBox中的vboxdrv安装失败?

所以,我尝试用VirtualBox创建一个操作系统,我收到了这个错误: Kernel driver not installed (rc=-1908) The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall the kernel module by executing ‘/etc/init.d/vboxdrv setup’ as root. If it is available in your distribution, you should install the DKMS package first. This package keeps track of Linux […]

是否为所有已安装的内核重建所有DKMS模块的命令?

偶尔,我的系统会进入某些内核缺少一两个模块的状态,因为DKMS不知何故忘记为该内核编译这些模块。 如果有一个命令我可以运行woudl只是为每个已安装的内核重建每个 dkms控制的模块,而不是花时间诊断问题。 有这样的命令吗?

Ubuntu 13.10上的VirtualBox 4.3无法运行VM

像Ubuntu 13.10没有安装VirtualBox错误内核驱动程序(rc = -1908) 我也遇到问题我一直收到以下错误: Trying to register the VirtualBox kernel modules using DKMSError! Your kernel headers for kernel 3.8.0-25-generic cannot be found. Please install the linux-headers-3.8.0-25-generic package, or use the –kernelsourcedir option to tell DKMS where it’s located …failed! (Failed, trying without DKMS) Recompiling VirtualBox kernel modules …failed! (Look at /var/log/vbox-install.log to find out […]

dpkg重新配置问题

我在使用apt安装软件包时遇到了一些问题。 终端在安装过程中挂断了,除了关闭终端外我别无选择。 然而,问题是我似乎无法解决这导致的问题。 通常,我得到: E: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? 这让我无处可去,我被锁定,直到我运行sudo dpkg –configure -a 。 说得通。 但是,此过程会吐出以下内容,然后挂起最后一行: Setting up virtualbox-dkms (5.2.10-dfsg-6) … Removing old virtualbox-5.2.10 DKMS files… ——– Uninstall Beginning ——– Module: virtualbox Version: 5.2.10 Kernel: […]

升级到Ubuntu 16.04后无法加载’vboxdrv’(我想保持安全启动)

我从Ubuntu 15.10升级到16.04,从那以后VirtualBox 5.0.18不再启动我的VM了。 它抱怨’vboxdrv’没有加载。 所以我尝试加载它并得到以下错误: $ sudo modprobe vboxdrv modprobe: ERROR: could not insert ‘vboxdrv’: Required key not available 我相信它与我使用的安全启动有关,我想继续使用它。 实际上用Ubuntu 15.10安全启动和VirtualBox工作得很好。 另外我尝试了$ sudo apt-get –reinstall install virtualbox-dkms ,它成功构建了内核模块,但没有解决这个问题。 知道如何在保持安全启动的同时加载vboxdrv吗? 更新2 :我也尝试执行sudo mokutil –disable-validation 。 执行此命令时,在下次引导期间,系统会提示您禁用安全引导,从磁盘添加密钥或哈希。 由于我不想禁用安全启动,似乎这也无法解决我的问题。 此外,我想为并行Windows安装激活UEFI。 注意 :如果您不介意禁用安全启动,请参阅安装第三方内核模块或内核升级后为什么会出现“必需密钥不可用”? 代替。

安装第三方内核模块或内核升级后,为什么会出现“必需密钥不可用”?

此问题仅在启用了安全启动的UEFI系统上发生。 当我尝试安装像VirtualBox,Nvidia或Broadcom驱动程序这样的DKMS模块时,它们没有安装,当我尝试对它们进行modprobe时,我得到了Required key not available 。 VirtualBox抱怨没有加载vboxdrv 。 Broadcom wl驱动程序在lspci -k为内核模块但未使用。 sudo modprobe wl throws Required key not available 。 当我从git源安装一些内核模块时,也可能发生此问题。 内核更新后禁用无线适配器,重启后黑屏等可能会出现此问题。 我该如何解决?