*** This bug is a duplicate of bug 1958260 ***
    https://bugs.launchpad.net/bugs/1958260

You're not the only one having this problem, see bug 1958260. But it's
unclear how one ends up in this situation without having removed modules
manually. I'm not saying that's what happened here, I just don't see how
this could happen 'automatically'.

Basically what's happening is that copymods detects that there are no
modules available for the running kernel, so it mounts a tmpfs to
/lib/modules and copies all modules from the initrd. That's why you only
see a subset of modules under /lib/modules. If then a linux-modules
package is installed later on, the modules are written to the tmpfs
which gets thrown away on reboot.

To revover:

Reboot into the original kernel:
$ sudo flash-kernel --force 5.13.0-1008-raspi
$ sudo reboot

Verify that copymods is *not* active:
$ grep copymods /proc/mounts

Reinstall all modules packages:
$ dpkg -l | awk '{print $2}' | grep linux-modules | xargs sudo apt get install 
--reinstall

Reboot into the latest kernel:
$ sudo flash-kernel
$ sudo reboot

Verify that copymods is *not* active:
$ grep copymods /proc/mounts


** This bug has been marked a duplicate of bug 1958260
   cloud-initramfs-copymods hides the full list of modules from the system

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1962053

Title:
  Modules missing from package install

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-raspi/+bug/1962053/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to