Author: disparage.solvency678 Date: To: dng Old-Topics: Re: [DNG] usrmerge Subject: [DNG] kernel and module upgrades [Was: usrmerge]
On Fri, Aug 29, 2025 at 10:31:17AM +0200, Didier Kryn wrote:
> > > You don't need to reboot after kernel upgrade. The new kernel is
> > > loaded on next reboot, but the previous one remains perfectly
> > > functionnal; it just lacks the latest refinement or security fix
> > > which you are most often not concerned with. > > What about modules? Presumably if you're upgrading the kernel
> > image you're also upgrading the modules tree. If that
> > actually*overwrites* the modules tree being used by the running
> > kernel, i.e. if the upstream kernel version didn't change, I see
> > potential grief when the running kernel tries to load a module
> > from the new tree. > The modules are not overwritten. They are stored under /lib/modules,
> in which you can find one directory tree per kernel version. And
> modutils loads the modules corresponding to the running kernel
> version.
Yes. But the *package* can be, and on my "desktop" is, upgraded with
the same upstream kernel version (presumably patched in new /
different ways).
Here's how my distribution names the modules tree:
/lib/modules/6.12.10-76061203-generic
this gets updated over and over, at least monthly. With the same name.