Comment 3 for bug 1928563

Revision history for this message
Antoine (myroad) wrote :

> When you use the Bento boxes, do they come with modules-extra as well?

Yes, I made sure of that by checking:
vagrant@vagrant:~$ dpkg -l |grep linux-i
ii linux-image-5.4.0-58-generic 5.4.0-58.64 amd64 Signed kernel image generic
ii linux-image-generic 5.4.0.58.61 amd64 Generic Linux kernel image
vagrant@vagrant:~$ dpkg -l |grep linux-mod
ii linux-modules-5.4.0-58-generic 5.4.0-58.64 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP
ii linux-modules-extra-5.4.0-58-generic 5.4.0-58.64 amd64 Linux kernel extra modules for version 5.4.0 on 64 bit x86 SMP

Inside this box
  config.vm.box = "bento/ubuntu-20.04"
  config.vm.box_version = "202012.23.0"

I understand we don't want to increase the size of the image. Should we however move back specific module from extra to linux-modules, like the solution of this ticket https://bugs.launchpad.net/cloud-images/+bug/1873506? That would concerns at least sound (snd-intel8x*.ko but also some module for video I did not identified)

But the less costly solution would be to just document this "issue" in the vagrant page of the box. I consider myself to have some experience in virtualbox and Linux, and it took me days to find out that the box did not include important modules for a normal Desktop experience (sound + resize). The majority of documentation related to no sound in Ubuntu with Virtualbox talks about adding some line in /etc/modprobe/alsa-pulse.conf, or changing AC97 to Intel HDA.

I don't know how much user use the box without graphic, but as soon as we add a desktop, it is absolutely necessary to have these modules.