Re: Compiling a new kernel
> bash-2.03# insmod ./es1371.o
> ./es1371.o: kernel-module version mismatch
> ./es1371.o was compiled for kernel version 2.2.18pre21
> while this kernel is version 2.2.17.
Hi Kaloyan!
I think you shold look whether your new kernel is booting. The new vmlinuz
should be in /boot or if you made no changes in sourcetree/Makefile in /,
your root directory. If vmlinuz is in /boot you have to make shure that your
/etc/lilo.conf lokes like mine :
default=Linux
image=/boot/vmlinuz-2.4.0
label=Linux
read-only
image=/boot/vmlinuz-2.2.18
label=old
read-only
other=/dev/hda2
label=dos
Then you can be shure that your new kernel will be used at boottime. Note
that the default label (default=Linux) will be loaded if you use the Enter
key or do nothing while LILO is comming! And don´t forget to type
# lilo
on console. With this, your new lilo configuration will be written into MBR.
Mathias
Reply to: