Hi On Thu, Mar 4, 2010 at 6:05 PM, san deep <sandeep.albur@xxxxxxxxx> wrote: > Hi, > > In my system I am having linux Redhat 5.4 . in that I am having > 2.6.18 has the kernel version. > I have downloaded the latest linux kernel source code 2.6.32.9 and try > to and complie the code with below mentioned steps . after completing > all the steps I try to boot with complied kernel but I am hitting the > kernel panic. so please let me know if I am missing something in below > mentioned steps. > > Steps: > 1> Downloaded the 2..6.32.9 linux kernel code from > http://www.kernel.org/ > 2> tar -xjvf linux-2.6.32.9.tar.bz2 -C /usr/src > 3> make mrproper I think you miss make make cloneconfig or make oldconfig to get correct .config for new compilation. If you just make menuconfig then not all modules (functions) was compiled to kernel and this could lead to panic. > 4> make menuconfig > 5> make > 6> make modules > 7> make modules_install > 8> make install > 9> #cp arch/x86_64/boot/bzImage /boot/bzImage-2.6.32.9 ( my system > arch is x86_64 uname –m) > #cp System.map /boot/System.map-2.6.32.9 > #ln -s /boot/System.map-2.6.32.9 /boot/System.map > 10> mkinitrd -o initrd.img-2.6.32.9 2.6.32.9 > 11> vi /boot/grub/menu.lst > title Redhat Enterprise linux (2.6.32.9) > root (hd0,0) > kernel /boot/vmlinuz-2.6.32.9 ro root=LABEL=/ rhgb > initrd /boot/initrd.img-2.6.32.9 > > Kernel panic: > kernel panic -not syncing: Attempted to kill init! > > Thanks and Regards, > Sandeep > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > good luck, Marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ