LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2004, 12:02 AM   #1
MasterKin8T
Member
 
Registered: Jul 2003
Location: Maryland
Distribution: Slackware 9.1
Posts: 56

Rep: Reputation: 15
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
 
Old 02-05-2004, 01:13 AM   #2
Neorio
Member
 
Registered: Jun 2003
Distribution: Debian
Posts: 110

Rep: Reputation: 15
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.
 
Old 02-05-2004, 01:56 AM   #3
MasterKin8T
Member
 
Registered: Jul 2003
Location: Maryland
Distribution: Slackware 9.1
Posts: 56

Original Poster
Rep: Reputation: 15
Does it matter how you include them? For example should I load the file systems as modules or builtin?
 
Old 02-05-2004, 02:04 AM   #4
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
Old 02-05-2004, 02:18 AM   #5
MasterKin8T
Member
 
Registered: Jul 2003
Location: Maryland
Distribution: Slackware 9.1
Posts: 56

Original Poster
Rep: Reputation: 15
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.
 
Old 02-05-2004, 02:50 AM   #6
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
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.
 
Old 02-05-2004, 06:07 AM   #7
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
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.
 
  


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 2.4 in Zipslack (Waring: unable to open an initial console | Kernel Panic...) kurtamos Linux - General 2 05-10-2006 12:58 PM
kernel panic: try passing init= option to kernel...installation with Red Hat 9 kergen Linux - Hardware 1 09-30-2004 03:28 AM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 04:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 03:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 12:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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