Compiling the kernel - and losing my modules
Dear All,
When I compile a new kernel, my modules disappear.
Before, I have a fairly normal selection of modules:
<lsmod1 here>
After, nothing:
<lsmod2 here>
To compile the kernel, I follow instructions (e.g. from
/usr/share/doc/kernel-source-2.4.18/debian.README), like this:
# mv /lib/modules/2.4.18 /lib/modules/2.4.18-save
# cd /usr/src/kernel-source-2.4.18/
# make menuconfig
# make dep
# make-kpkg clean
# make-kpkg --revision=custom.1.0 kernel_image
# dpkg -i ../kernel-image-2.4.18_custom.1.0_i386.deb
// dpkg then asks me various questions about my boot manager (LILO).
/etc/lilo.conf and the relevant files in /boot are all updated.
# shutdown -r now
The boot messages include a lot of "Can't locate module XXX" messages.
What is going wrong? There must (?) be something simple amiss which means
the modules aren't where the machine excpects to find them: non-standard
file locations? Should I add command line options or environment variables?
This is standing between me and alsa, pcmcia and probably a few other
things.
Best wishes,
Ivan
Reply to: