hi all,
i am installing kernel 2.6.15.5 in my system. the default working kernel at present is 2.4.20-8
i installed the kernel source under /home/src where i also installed module-init-tools-3.2 & modutils-2.4.27-1.src.rpm.
i followed the steps to recompile as:
copy the existing config file under boot which is /boot/config-2.4.20-8 into the /home/src/linux-2.6.15.5 after i which i did make oldconfig.
this led to series of quesions for which i think i answered with the important options like loopback device support built into the module & initrd support built into the kernel.
#### how to configure this ? is this system dependent ?
further i did make bzImage followed by make modules,make modules install & make install.
at the last stage i.e after make install i am getting the error message as :
all of your loopback device are in use !mkinitrd failed
#####what might be wrong?
for installing module init tools-3.2 in /home/src directory i did ,
./configure --prefix=/
make
make install
./generate-modprobe.conf /etc/modprobe.conf
#### my question is everytime we recompile the kernel is the above steps needed ?
i can't boot from kernel 2.6.15.5 due to the above reasons(mkinitrd failed)
but i can boot from the original kernel 2.4.20-8 which halso has some error messages displaying during booting as:
modprobe :Error inserting ipv6
modprobe.old:i am not the old version!
modprobe:FATAL:module eth0 not found
kernel requires old modprobe, but couldnot run modprobe.old: no such file or directory.
when i give commands like ifconfig -a
it displays only loopback device support! it wont display eth0 because of which there is no network connection for my system!
####what might be the problem? is it that old modules are not backed-up? if so, how to backup the old modules?
i recompiled the default kernel 2.4.20-8 thinking to check whether the old kernel is working fine! i gave commands as:
make oldconfig,make dep,make bzImage
after this stage i get following error message:
WARNING: /sbin/insmod.old :I am not the old version!
insmod : error inserting '.tmp_vmlinux1': -1 unknown symbol in module
make[1]:***[kallsyms]error 1
make [1]:leaving directory '/usr/src/linux-2.4.20-8"
make:*** [vmlinux]error 2
what is wrong ?
pls help me in this regard!!!!!!!!!!!!!
kiran kumar s.k
N.I.T.K,surathkal