kernel compile and modules
Hi,
I'm about to build a new kernel (2.2.10), and would like to go over the
steps for compiling (not make kpkg) as I'm not sure about them:
# make config (or menuconfig)
here I have a doubt about the options which can be configured as
loadable modules instead of compiling into the kernel. Say I use a
device too often, eg. cdrom. If I configure it as a loadable module,
would this imply the performance would be any different than if compiled
it in the kernel? Or, ppp, or other services which can be used oftenly.
# make dep
# make clean
# make zImage
probably bzImage for 2.2.x kernels?
# make modules
# rm -rf /lib/modules/2.0.36/
well, if I removed the old modules and had problems with the new kernel,
I wouldn't be able to use the old kernel, so this step should probably
(definately) be avoided.
# make modules_install
# depmod -a
# mv /path/to/zImage /boot/vmlinuz-2.2.10
# mv /path/to/System.map /boot/System.map-2.2.10
# cd /
# rm vmlinuz
# ln -s /boot/vmlinuz-2.2.10 vmlinuz
next, reflect the changes in /etc/lilo.conf
# lilo
Anything missing?
TIA,
--
Horacio Anno MMDCCLII ad Urbe condita
mailto:homega@ciberia.es
~ Spain ~Spanje ~ Spanien
--------------------------------------------------------------------
Key fingerprint = F4EE AE5E 2F01 0DB3 62F2 A9F4 AD31 7093 4233 7AE6
Reply to: