Kernels are not compiled with V4L2 support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-meta-kvm (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
* Distribution: VM Distribution is Ubuntu 22.04 x86_64, Host Distribution is Ubuntu 22.04 x86_64
# Issue description
I can't install the v4l2loopback kernel modules in the VM because the kernel was compiled without v4l2 support. Please compile the kernel with v4l2 support or tell me how to do this. Please see this [relevant issue](https:/
# Steps to reproduce
1. `lxc launch ubuntu:22.04 ubuntu-vm --vm`
2. `lxc exec ubuntu-vm -- su - ubuntu`
3. `sudo apt update`
4. `sudo apt install -y gcc make build-essential`
5. `git clone https:/
6. `cd v4l2loopback`
7. `make`
# Information to attach
```
ubuntu@
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/home/
make[1]: Entering directory '/usr/src/
CC [M] /home/ubuntu/
MODPOST /home/ubuntu/
ERROR: modpost: "video_ioctl2" [/home/
ERROR: modpost: "v4l2_event_
ERROR: modpost: "v4l2_event_
ERROR: modpost: "v4l2_fh_add" [/home/
ERROR: modpost: "v4l2_fh_init" [/home/
ERROR: modpost: "v4l2_format_info" [/home/
ERROR: modpost: "v4l2_fh_exit" [/home/
ERROR: modpost: "v4l2_fh_del" [/home/
ERROR: modpost: "video_devdata" [/home/
ERROR: modpost: "__video_
WARNING: modpost: suppressed 14 unresolved symbol warnings because there were too many)
make[2]: *** [scripts/
make[2]: *** Deleting file '/home/
make[1]: *** [Makefile:1830: modules] Error 2
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:53: v4l2loopback.ko] Error 2
```