Kernel panic after compiling 2.4.26
Hi
I am trying to complie a 2.4.26 kernel for click modular router kernel mode
I did patch -p1 < ~/projects/shaper/click/click/etc/debian-2.4.26-patch , and there is no error.
then I cp /boot/config-2.4.26-1-386 .config (a working copy from my debian sarge)
and disabled the modules which conflict with click.
then
make xconfig
make dep
make clean
make bzImage
make install
make modules
make modules_install
mkinitrd -o initrd.img-2.4.26-click @ /boot
add below to menu.1st
title Debian GNU/Linux, kernel 2.4.26-click
root (hd0,5)
kernel /boot/vmlinuz-2.4.26-click root=/dev/hda6 ro
initrd /boot/initrd.img-2.4.26-click
savedefault
boot
when I reboot and choose Debian GNU/Linux, kernel 2.4.26-click
I got modprob: can't open dependencis file /lib/modules/2.4.26-click/modules.dep (no such file or directory)
pivot_root: No such file or directory
/sbin/init :431: can not open dev/console: nosuch file
kernel panic :attempt to kill init
and system hangs. But /lib/modules/2.4.26-click/modules.dep exists.
So I searched internet and did this make-kpkg kernel_image @ /usr/src/linux
then wajig install kernel-image-2.4.26-click_10.00.Custom_i386.deb
when I reboot with Debian GNU/Linux, kernel 2.4.26-click
I got
VFS: Can not open root device "hda6" or 03:06
please append a correct "root=" boot option
kernel panic : VFS unable to mount root fs on 03:06
and system hangs
Does anyone have an idea what I did wrong?
|