2

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

I have the following error:

modprobe: ERROR: could not insert 'v4l2loopback': Unknown symbol in module, or unknown parameter (see dmesg

The same happens for loading videodev (sudo modprobe videodev)

Is there any way to recompile the kernel loading the v4l2/videodev modules? Or any alternative for v4l2loopback on cloud instances?

David Maze
  • 130,717
  • 29
  • 175
  • 215
lpeixotoo
  • 68
  • 1
  • 6

1 Answers1

0

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 

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.

If mokutildoes not exist in your system you can install them from apt-get.

β.εηοιτ.βε
  • 33,893
  • 13
  • 69
  • 83
Areg Gasparyan
  • 101
  • 1
  • 5