Originally Posted by Captain Pinkeye
Slackware (64bit) has two kernels (kernel-huge and kernel-generic packages) but only one kernel-modules for both kernels. So, if i understand correctly, the kernel-modules contains ALL kernel modules?
If i recompile kernel from default kernel-source, do i have to do 'make modules' or not?
The kernel README is very enlightening and easy to read.
With the default kernel version > 3, make
(no args) makes the image and the modules. There is no point running make modules
unless you are meaning to skip building the kernel. To install your modules, you need to run make modules_install
. Now you have to be careful, because modules get installed into /lib/modules/$(uname -r)
. If you are building the stock kernel that came with Slackware, then you will collide with the kernel-modules package. An easy workaround is to change CONFIG_LOCALVERSION in the kernel config to something unique. This problem disappears if you are building a kernel version different from the stock.
P.S. Not the current output of uname -r
, but what it would say in the future, when the new kernel is running.