Linux - Kernel This forum is for all discussion relating to the Linux kernel. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-27-2006, 12:53 AM
|
#1
|
LQ Newbie
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8
Rep:
|
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
|
|
|
04-27-2006, 01:21 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
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.
|
|
|
04-27-2006, 03:00 AM
|
#3
|
LQ Newbie
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8
Original Poster
Rep:
|
thanks for your reply
i want detailed explnation .if u have steps to follow .
after doing make install and rebooting
|
|
|
04-28-2006, 10:41 AM
|
#4
|
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 11,089
|
"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.
|
|
|
05-03-2006, 08:47 AM
|
#5
|
LQ Newbie
Registered: Apr 2006
Location: Hyderabad
Distribution: redhat(linux 2.4.21-15.ELSMP)
Posts: 8
Original Poster
Rep:
|
thanks all i am able to recompile.
|
|
|
All times are GMT -5. The time now is 07:34 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|