November 22, 2024, 03:37:44 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Kernel update not working - kernel panic  (Read 14533 times)

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
Kernel update not working - kernel panic
« on: October 12, 2004, 07:59:56 PM »
Hello linux team !!!!

I am using REDHAT 9.0, i have downloaded kernel from www.kernel.org (kernel version is 2.6.0) linux-2.6.0.tar.gz. I have done the following steps to update the kernel :-

1) copied linux-2.6.0.tar.gz to  /usr/src

2) next extracted tar -xzf linux-2.4.22.tar.gz to /usr/src directory

3) created a symbolic link  
cd /usr/src
ln -s linux-2.4.22 /usr/src/linux

4) changed the directory
cd /usr/src/linux

5) now issued the following commands

make xconfig
make  dep
make clean
make modules
make modules_install
make bzImage
taken a backup of old kernal (grub.conf)
make install

installation complets and rebooted the system to the new kernel 2.6.0
but the new kernel is giving the following error likes...
...
......
...........
...................

mounting root filesystems
moun:error 19 mounting ext3
pivotroot:pviot_root(/sysroot,/sysroot/initrd) failed:2
umount /initrd/proc failed:2
Freein unused kernel memory:232k freed
Kernel Panic:No init found. Try passing init=option to kernel

What is this Error ?? What changes to be done to boot to the New Kernel2.60.

Plz give me steps to do...

Thanks

Sathish.

Offline GNUrag

  • Tux Awared
  • **
  • Posts: 41
    • http://tends.ourproject.org/~anurag
Kernel update not working - kernel panic
« Reply #1 on: October 13, 2004, 12:47:59 PM »
did you check your grub.conf ..... is it referring to the new kernel path ?

Offline sathish

  • Linux Learner
  • ***
  • Posts: 73
kernel
« Reply #2 on: October 13, 2004, 03:18:00 PM »
Quote from: "GNUrag"
did you check your grub.conf ..... is it referring to the new kernel path ?

Hi !!
yep.. in grub.conf it is loaded automatically to the new kernel.

in grub.conf itz having new kernel version as well as having old kernel version.

If I select the new kernel... itz not booting..


Thanks !!

Sathish

Offline gauravbajaj

  • LST CareTaker
  • Experienced
  • *****
  • Posts: 658
Kernel update not working - kernel panic
« Reply #3 on: January 06, 2005, 11:06:45 AM »
hi buddy,
Follow these steps :
1 .go to /usr/src/linux-2.4 (version of ur system)
2. make mrproper
3. make oldconfig
4  make xconfig
             { enable the options ,that u want to turn on)
5 .make dep
6.make clean
7. go to /usr/src/linux2.4/makefile
8 .change EXTRAVERSION="any new kernel name u want to give"
9.  make bzImage
10. make modules
11. make modules_install
12. make install
13. reboot
after these steps ur kernel works
bye
gauravbajaj

Offline /root

  • New Member
  • Posts: 3
Kernel update not working - kernel panic
« Reply #4 on: May 13, 2005, 07:35:09 AM »
hey dude,

when i tried to install the kernel source and the typed the following command:

[root@localhost linux]# make xconfig
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2

how to resolve this?????

Offline vivek

  • New Member
  • Posts: 2
Kernel update not working - kernel panic
« Reply #5 on: June 02, 2005, 08:44:33 AM »
Quote from: "/root"
hey dude,

when i tried to install the kernel source and the typed the following command:

[root@localhost linux]# make xconfig
*
* Unable to find the QT installation. Please make sure that the
* QT development package is correctly installed and the QTDIR
* environment variable is set to the correct location.
*
make[1]: *** [scripts/kconfig/.tmp_qtcheck] Error 1
make: *** [xconfig] Error 2

how to resolve this?????





Hi ,
        I am vivek, i saw ur query regarding kernel compilation.
when u r issuing the cmd
#make xconfig
 this is a graphical config tool in gui mode which internally
making use of Qt.
    check whether Qt is installed r not, by issuing this cmd
#echo $QTDIR
 it should point to the path where it is installed eg: /usr/local/qt-3.1/.
if not u have to install Qt.
           select the kernel development packages which includes Qt also.
The env variable QTDIR will also be set to the path.

bye
vivek