v4l2loopback无法在AWS ubuntu 18.04上加载模块 [英] v4l2loopback cannot load module on aws ubuntu 18.04
问题描述
当前试图将v4l2loopback安装到aws的ubuntu 18.04实例中并面对当前情况
Currently trying to install v4l2loopback into a ubuntu 18.04 instance at aws and facing the current situation
运行后(源安装也是如此)
After running (the same happens from source install)
sudo apt-get install linux-generic (tempts to load videodev)
sudo apt-get install v4l2loopback-dkms
sudo modprobe v4l2loopback
我遇到以下错误:
modprobe: ERROR: could not insert 'v4l2loopback': Unknown symbol in module, or unknown parameter (see dmesg
加载 videodev
( sudo modprobe videodev
)
是否有任何方法可以重新编译加载 v4l2
/ videodev
模块的内核?还是在云实例上进行v4l2loopback的任何替代选择?
Is there any way to recompile the kernel loading the v4l2
/videodev
modules? Or any alternative for v4l2loopback on cloud instances?
推荐答案
我在Ubuntu 20.04 LTS中遇到了相同的错误,并通过禁用将模块锁定到内核的安全启动来进行修复.
I get the same error in my Ubuntu 20.04 LTS and fix by disabling secure boot which lock modules loading into kernel.
sudo mokutil --disable-validation
使用此命令需要新密码,然后重新启动系统.
在启动阶段,密码验证和启动到系统 modprobe
功能启动后,您需要选择更改安全启动阶段"部分的蓝色窗口.
Use this command which require new password, then reboot the system.
In the boot stage, a blue window appear where you need to choose the "change secure boot stage" section, after password validation and booting to system modprobe
function should work.
如果系统中不存在 mokutil
,则可以从 apt-get
安装它们.
If mokutil
does not exist in your system you can install them from apt-get
.
这篇关于v4l2loopback无法在AWS ubuntu 18.04上加载模块的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!