public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Since when does module-rebuild delete modules for previous kernel version?
@ 2021-07-07 23:09 Nikos Chantziaras
  2021-07-07 23:18 ` Neil Bothwick
  2021-07-10  8:22 ` Nikos Chantziaras
  0 siblings, 2 replies; 7+ messages in thread
From: Nikos Chantziaras @ 2021-07-07 23:09 UTC (permalink / raw
  To: gentoo-user

So I just noticed that when I run:

emerge @module-rebuild

after having installed a kernel update, the kernel modules of the 
previous kernel version are being deleted. I am sure this didn't use to 
be the case. I have two entries configured in grub:

   Gentoo
   Gentoo (previous kernel)

They load /boot/vmlinuz and /boot/vmlinuz.old respectively (these are 
created by "make install" of gentoo-sources.)

Right now, I have gentoo-sources-5.10.47 booted. Modules are in:

   /lib/modules/5.10.47-gentoo

I just built 5.10.48 and did the usual "make install" and "make 
modules_install". This updated the vmlinuz and vmlinuz.old symlinks in 
/boot (as well as the config[.old] and System.map[.old] symlinks) and 
installed its modules into:

   /lib/modules/5.10.48-gentoo

So far, so good. But when I ran "emerge @module-rebuild", which rebuilds 
these two packages:

   app-emulation/vmware-modules
   x11-drivers/nvidia-drivers

The vmwware and nvidia kernel modules got deleted from 
/lib/modules/5.10.47-gentoo.

This is bad. When did this change? How can I prevent this from happening?



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-07-10 13:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07 23:09 [gentoo-user] Since when does module-rebuild delete modules for previous kernel version? Nikos Chantziaras
2021-07-07 23:18 ` Neil Bothwick
2021-07-07 23:46   ` [gentoo-user] " Nikos Chantziaras
2021-07-08  0:36     ` Dale
2021-07-08  7:37     ` Neil Bothwick
2021-07-10  8:22 ` Nikos Chantziaras
2021-07-10 13:34   ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox