LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-31-2010, 07:55 AM   #1
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Rep: Reputation: 0
Question Kernel Panic on kernel installation


Hi Everybody..

I am new facing problem.
KERNEL PANIC.
i am using
"HP Pavilion dvb 111x"
"AMD Turion X2"
"ATI RADEON Graphic Card"
And "RHEL5"
i am not regiter user of Redhat

i am trying to switch kernel form linux-2.6.18.X To linux-2.6.27.53
i had download source of kernel and install it as per README file.
During installation everything was fair but as i am trying to boot from my new kernel it shows me "KERNEL PANIC" error.

it Displays

" ide_generic :I/O resorce 0x1F0-0x1F7 not free.
ide_generic :I/O resorce 0x170-0x177 not free.
Redhat nash version 5.1.19.6 starting.
mount : Could not find filesystem. '/dev/root'
setuproot : mounting /dev failed : no such file or directory

setuproot : mounting /proc failed : no such file or directory

setuproot : mounting /sys failed : no such file or directory

switchroot : mount failed : no such file or directory

Kernel Panic not Synching:
attempt to kill init! "


please help me its all upto you.
And please dont suggest me to use anyother version of linux.
Specially for my Friend TBOne,

Thank you..thanks in advance.
 
Old 08-31-2010, 08:14 AM   #2
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
What type of filesystem is your root filesystem? when you configured your kernel did you compile that filesystem module? That is the problem I had a while back, I had a EXT4 root filesystem but did not configure EXT4 in my kernel.
 
Old 08-31-2010, 05:48 PM   #3
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you.. i am using "ext3" file system for my /boot and / partion.
please help me out.i cant find any solution.
can i switch my filesystem to any other filesystem without formating it.

thanks in advance.
 
Old 08-31-2010, 08:42 PM   #4
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Temporarily, if you need access to your system immediately, I would switch back to your old Kernel. Let me know if you need help with this.

Did you configure/compile the new kernel yourself, or did you download a binary?

If you did configure the kernel yourself, did you add ext3 support? Did you create an initrd?
 
Old 09-02-2010, 04:23 PM   #5
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Talking thank you again

Quote:
Originally Posted by lewisforlife View Post
Temporarily, if you need access to your system immediately, I would switch back to your old Kernel. Let me know if you need help with this.

Did you configure/compile the new kernel yourself, or did you download a binary?

If you did configure the kernel yourself, did you add ext3 support? Did you create an initrd?


Thank you budy..
but my system automatically creates initrd.img copies it to /boot dir
i had downloaded the kernel source from kernel.org
extract it to /usr/src dir
then in the extracted dir i had type following commands

/usr/src/linux-2.6.27.53#make mrproper
/usr/src/linux-2.6.27.53#make xconfig


after configuring kernel in various way like
xconfig,oldconfig, even i apply old configuration file for configuration.

/usr/src/linux-2.6.27.53#make
/usr/src/linux-2.6.27.53#make modules_install install


my terminal displays lots of process and at the last it shows system.map and initrd.img with vmliuz-2.6.27.53 to /boot

after that i had just reboot my system for new kernel
at the boot up my grub displays me both kernel version,after clicking the newer ver the kernel panic message appears.

is their any binary available for newer ver of kernel.
and yes i can access my system with old ver. of kernel.
i had add all file type support with ext2,ext3 and DOS/FAT/NTFS
i am using ATA/ACPI hard drive by FUJISTU.
is their any problem due to my HARD DRIVE

is their any thing wrong in my commands or in steps.
please tell me.
i am most awaited for your reply it my 8th time kernel compilation but still i have no success.


Thank you lewisforlife. its all upto you yar..
 
Old 09-03-2010, 06:25 AM   #6
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Did you enable SCSI in your kernel config? Would you mind posting your kernel config here and I will take a look at it. In the meanwhile, please post the contents of:

lspci
/etc/fstab
/etc/menu.lst or if you have grub2 whatever the config file is named
fdisk -l
e2label /dev/sda2 (or whatever your root partition is)

Oh yeah, and what distro are you using?

Last edited by CincinnatiKid; 09-03-2010 at 06:30 AM.
 
1 members found this post helpful.
Old 09-04-2010, 01:12 PM   #7
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Thank you lewisforlife.. your instructions are very much help-full for me...
i m booted my system with newer version of kernel.

but their is one problem with my sound card and xorg.conf
will you please help me regarding this topic.
i ll provide all my conf files to you.
and yes i am using RedHat Enterprise Linux 5.

for kernel problem i had formatted m system with and BUILD initrd.img myself.
but their are some problems with it.but that is ignorable.

your system is REALLY REALLY helpful for me..
Thank you VERY VERY much..
 
Old 09-04-2010, 01:47 PM   #8
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Hi lewisforlife .. here are some files from my system.
please have a look.
Attached Files
File Type: txt my.config.txt (78.5 KB, 10 views)
File Type: txt menu.lst.txt (828 Bytes, 17 views)
File Type: txt fstab.txt (456 Bytes, 11 views)
 
Old 09-04-2010, 01:57 PM   #9
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
read this it works http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding&s[]=kernel&s[]=compile
 
Old 09-04-2010, 01:58 PM   #10
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Sorry but this forum doesn't support more than 3 files so i have to..

My /root partition is on /dev/sda8
and /boot is on /dev/sda6.

can yo please check my my.conf file and suggest me some more modification.
or should i apply new Kernel.
Attached Files
File Type: txt fdisk.txt (1.1 KB, 15 views)
 
Old 09-06-2010, 09:44 AM   #11
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Hmm... I am not to familiar with grub, have someone else take a look at your grub entry and make sure it looks right. As far the sound and video issues, you might create a new thread for those, they might get more exposure that way.
 
Old 09-08-2010, 12:06 AM   #12
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
is this home work
 
Old 09-08-2010, 08:23 AM   #13
CincinnatiKid
Member
 
Registered: Jul 2010
Posts: 454

Rep: Reputation: 47
Quote:
Originally Posted by Drakeo View Post
is this home work
Is that a joke Drakeo? What specifically makes think this is homework?
 
Old 09-09-2010, 04:15 PM   #14
rahul.identity
LQ Newbie
 
Registered: Aug 2010
Location: India
Distribution: Fedora14 , Ubuntu 11.04
Posts: 16

Original Poster
Rep: Reputation: 0
Sorry to intrupt..bt yes this is homework..Home work for newbies..if somebody have problem please follow some other forum.

just tell me what is the purpose of this forum..
Helping people..m i right..?
then let it be..
SORRY

and thank you lewisforlife again..
 
Old 09-09-2010, 11:36 PM   #15
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Let me explain My self to you this is not funny this is a question asked very often in this forum. Since I live 2 block from National Center for Supercomputing Applications at the University of Illinois. And Many students this time of the year are beginning to understand the kernel and the GNU. I believe if you could understand a fstab and post it and a grub menu.1st you would understand where I am coming from. for the years I have helped with hardware and answered questions in this forum I do also understand what courses are being handed out. the 2.6.27 is old stuff and is well documented.
solved
 
  


Reply

Tags
build, compile, kernel, panic



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel panic during installation Bojevnik Slackware - Installation 2 05-29-2010 07:39 AM
Kernel Panic for New Installation rajtendulkar Red Hat 6 03-16-2006 09:09 PM
installation - kernel panic niezdrowywglowe Slackware - Installation 8 11-15-2005 10:40 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel Panic on installation mobius69 Linux - Software 45 08-17-2002 11:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration