LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 04-26-2006, 11:53 PM   #1
mrinal mishra
LQ Newbie
 
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8

Rep: Reputation: 0
Kernel Panic unable to mount root filesystem


hi,
i am trying to recompile my kernel 2.4.21-15.ELsmp
i am inserting generic serial drtiver as a module in make xconfig .but i am getting kernel panic unable to mount root file system.i have done
1. make mrproper 2. make xconfig 3. make dep
4.make clean 5.make bzImage 6.make modules
7. make module_install 8.make install
is it sufficiant or i have to do anything else.
can anyone help me
 
Old 04-27-2006, 12:21 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: Russia
Distribution: NixOS (http://nixos.org)
Posts: 1,893

Rep: Reputation: 68
Well, EL means RHEL, right? RH (and some other) like to compile fs drivers as modules (hopefully they don't do the same with IDE/ATA drivers) and use initrd. The simpliest way to do (as gunzip-ping, uncpio-ing and editing initrd is too much work) is simply go to settings for fs and ide/ata and replace modules by compiled-in.
 
Old 04-27-2006, 02:00 AM   #3
mrinal mishra
LQ Newbie
 
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8

Original Poster
Rep: Reputation: 0
thanks for your reply
i want detailed explnation .if u have steps to follow .
after doing make install and rebooting
 
Old 04-28-2006, 09:41 AM   #4
sundialsvcs
Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 5,401

Rep: Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119Reputation: 1119
"Kernel panic" is, of course, just a situation where the kernel can't continue.

The phrase "not syncing" means that the panic occurred when the system was not frantically trying to flush unsaved data to disk (before finishing the panic). That's a Good Thing.

"Unable to mount root filesystem" usually means that the 'root=' parameter specified in the kernel command-line (in the boot loader, LILO or Grub) is missing or incorrect. If it is correct, then it may also mean that the correct filesystem driver isn't loaded: it can be compiled into the kernel or it can be loaded by the so-called "initrd" stage.

Messages which precede this one usually give sufficient clues as to the exact cause of the problem.
 
Old 05-03-2006, 07:47 AM   #5
mrinal mishra
LQ Newbie
 
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8

Original Poster
Rep: Reputation: 0
thanks all i am able to recompile.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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: It won't mount the root filesystem (2.6.8 and 2.6.9) and LILO hates me edman007 Linux - General 4 11-13-2004 05:41 PM
Kernel Panic! Unable to mount root fs... DarkNebula Linux - General 7 10-24-2004 06:38 PM
2.6 Kernel Panic : won't mount root filesystem Neorio Linux - Software 2 02-26-2004 09:38 PM
Kernel Panic: won't mount root filesystem Neorio Linux - Software 4 02-05-2004 06:32 PM
Kernel panic - unable to mount root fs felecha Linux - General 3 06-17-2002 08:57 AM


All times are GMT -5. The time now is 11:18 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration