LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
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
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,659
Blog Entries: 4

Rep: Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941Reputation: 3941
"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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 06:50 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