You have just recompiled a new kernel and rebooted your system with the new kernel.
Unfortunately you are getting “Can’t locate module” error messages. Which of the following is most likely to be the source of the problem?
A.
You copied the modules to the wrong directory.
B.
You did not configure modular support into the kernel.
C.
You did not run depmod after installing the modules.
D.
You dud not install the modules.
Explanation:
There is one more step needed for the build process, however. You have created the kernel, but now you need to create all the loadable modules if you have them
configured. Be aware thattypical distribution kernels tend to have almost every feature installed, plus a few others for good measure. These can typically take an hour or so to build on our
Athlon XP1800. The stock kernels are somewhat leaner by default and take, on average, 25 minutes to compile. To build the modules we run:
$ make modules
If you forget to enter make modules command, you will get that message.
Follow these steps while recompile the kernel.
Installation steps cd/usr/srcbzcatlinux-2.4.17.tar.bz | tar xvf -cdlinuxmakeconfig | make menuconfig | make xconfigmakedepmakecleanmakebzImagemakemodules(if modular kernel)makemodules_install (if modular kernel)cpSystem.map /boot/System.map- 2.4.17cparch/i386/boot/bzImage /boot/vmlinuz-2.4.17cp.config /boot/
config- 2.4.17mkinitrd/boot/initrd-<version> <kernel version> # Depending on kernel configurationUpdate LILO or GRUBReboot into new kernel