To what I see the modules for different kernel versions are stored below
/lib/modules
, i.e as /lib/modules/{version}/...../...ko
Now, while this makes it evident where to store the modules for each different kernel version, I have currently changed the .config
(i.e. what I think is the configuration) of a kernel I have already have.
My question is where would the modules for this new kernel configuration of the now two times existing kernel version go?
Would /lib/modules/{version}_{configsuffix}/...../...ko
be the way?
How would a tool like modprobe
know where to find those modules?
Additionally I also want to state my suspicion that for a fair share of the modules, even different values in the kernel's configuration .config
would lead to the same identical kernel module. Yet even in this case there might be some settings in the .config
to make adjust the modules and hence create different modules even for the same kernel version