Re: Linux 2.6.32.9 kernel compilation issue on Redhat 5.4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Sandeep,

On Thu, Mar 4, 2010 at 10:35 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
> 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!

Is it possible for you to add some more lines which are printed above
the lines you have mentioned (Kernel Panic). There can be various
reasons for such a panic which can be explained by reading a couple
(or probably more) lines above the panic line.

As for the steps in compiling the kernel, they look fine to me. It is
possible that while performing the config selection (make menuconfig)
you have missed out some necessary driver from kernel as well as
Module.

--
Shreyansh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux