LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Kernel Panic on kernel installation (https://www.linuxquestions.org/questions/linux-newbie-8/kernel-panic-on-kernel-installation-829503/)

rahul.identity 08-31-2010 07:55 AM

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.:banghead:

CincinnatiKid 08-31-2010 08:14 AM

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.

rahul.identity 08-31-2010 05:48 PM

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.

CincinnatiKid 08-31-2010 08:42 PM

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?

rahul.identity 09-02-2010 04:23 PM

thank you again
 
Quote:

Originally Posted by lewisforlife (Post 4084215)
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.:banghead:


Thank you lewisforlife. its all upto you yar..

CincinnatiKid 09-03-2010 06:25 AM

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?

rahul.identity 09-04-2010 01:12 PM

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..

rahul.identity 09-04-2010 01:47 PM

3 Attachment(s)
Hi lewisforlife .. here are some files from my system.
please have a look.

Drakeo 09-04-2010 01:57 PM

read this it works http://alien.slackbook.org/dokuwiki/doku.php?id=linux:kernelbuilding&s[]=kernel&s[]=compile

rahul.identity 09-04-2010 01:58 PM

1 Attachment(s)
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.

CincinnatiKid 09-06-2010 09:44 AM

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.

Drakeo 09-08-2010 12:06 AM

is this home work

CincinnatiKid 09-08-2010 08:23 AM

Quote:

Originally Posted by Drakeo (Post 4091061)
is this home work

Is that a joke Drakeo? What specifically makes think this is homework?

rahul.identity 09-09-2010 04:15 PM

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..

Drakeo 09-09-2010 11:36 PM

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

CincinnatiKid 09-10-2010 08:05 AM

@Drakeo

I stand corrected, I didn't get any indication from the post that this was homework. I don't have a problem with helping with homework though.

Drakeo 09-12-2010 07:13 AM

Ok lewisforlife your pretty nice person. check out this kernel build .

CincinnatiKid 09-12-2010 05:01 PM

That's great, lol.

Drakeo 09-14-2010 12:13 AM

that is a fun one.


All times are GMT -5. The time now is 06:22 PM.