LinuxQuestions.org

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

MasterKin8T 02-05-2004 12:02 AM

Kernel Panic
 
I have done everything that is said in the following How-To:
http://www.linuxquestions.org/questi...t=kernel+panic

yet I still get "Kernel Panic blah blah try passing init="

I originally had 2.4.20-8 and am upgrading to 2.4.24 and am running Red Hat 9. When I did "make menuconfig" I didnt change anything, just saved since all I needed to do what update to a new kernel.

I have literally tried everything except the right solution. If anyone can help me it would be greatly appreciated

-Thanks

Neorio 02-05-2004 01:13 AM

Kernel Panics usually come about due to a bad config of the kernel.

Could you give more detail on what the Kernel Panic message actually was?
Like a few lines before the Panic?

Also in your config, make sure all the important stuff in in there... I used to get kernel panics a lot when I left out filesystem (ext3) and hard disk controller support.

MasterKin8T 02-05-2004 01:56 AM

Does it matter how you include them? For example should I load the file systems as modules or builtin?

adz 02-05-2004 02:04 AM

Your primary filesystem you HAVE to compile into the kernel. Otherwise it can't actually find the module to load it. I compile ext2, ext3 amd resier into the kernel. Everything else which isn't needed to boot the system is modularised.

MasterKin8T 02-05-2004 02:18 AM

I'll try doing that in the morning, I really hope thats all I forgetting to do. I followed the "How to" completely, so when I recompile with the new settings I'll follow that again and hope for the best. Thanks for the very quick replies.

Demonbane 02-05-2004 02:50 AM

Copy the 2.4.20-8 config from /boot and load it in menuconfig, then save and do the compile.
IIRC 2.4 won't find your old config automatically, unlike 2.6, but I could be wrong.
There's no need to compile the filesystem/ide chipset etc into the kernel since the initrd in rh9 is suppose to take care of that, in fact I don't think it'll work properly if you do compile it in, unless you change the references to labels in fstab and grub.conf to actual devices.

adz 02-05-2004 06:07 AM

Oh an becareful just copying an old config file and compiling directly. Each new kernel has new options and it's a good idea to have a look through them.


All times are GMT -5. The time now is 02:11 PM.