LinuxQuestions.org
Help answer threads with 0 replies.
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 03-17-2003, 06:59 PM   #1
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Rep: Reputation: 30
Question Kernel Panic??


I was booting into my RedHat partition just now, after attempting to install the Atmel drivers. I got the message "<o> Kernel Panic: Attempted to kill init!" What does this mean? Please help! I have kernel 2.4.18-14, i586.

When I reboot, I am greeted with a message telling my to "run fcsk manually without options". Then, I am dumped to a shell, I login as root, and I see the prompt "Repair File System # 1" The number changes for every time I press enter.

Please...so lost


Last edited by cclavey; 03-17-2003 at 10:02 PM.
 
Old 03-18-2003, 04:22 AM   #2
zagreb
LQ Newbie
 
Registered: Mar 2003
Posts: 14

Rep: Reputation: 0
I think this thread has posted before, you can see at newbie forum with the same problem. It's probably the processor problem. Red hat Linux wont recognize certain processor.

Hope this help.
 
Old 03-18-2003, 08:13 AM   #3
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
Linux will recognise and use a i586 with no problems

when dumped into the repair shell just run

fsck /dev/hdxy

where x is the drive you use eg hda/hdb and y is the partition number normally hda1

 
Old 03-18-2003, 08:17 AM   #4
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Thanks, what exactly doe that do?
 
Old 03-18-2003, 12:09 PM   #5
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Ok, this just got a little more complicated...
I tied what you said, fsck /dev/hdb1 (A is my XP drive). It ran through some checks, and rebooted. Now, it gives me yet another kernel panic, "Aiee Killing interrupt handler!". So, I tried the same thing again. after I hit <enter>, after typing fsck /dev/hdb1, it just sits there, flashing a cursor at me. What can I do now?
 
Old 03-18-2003, 12:44 PM   #6
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
lol @ aiiee killing interrupt handler (cant you tell that linux kernel hackers are all stoned)

rightyo

addressing your first question, fsck is like scandisk

right i need you to run yout eip number through this program

/usr/src/linux/scripts/ksymoops

eg.

Oops: 0000
CPU: 0
EIP: 0010:[<0015b132>] <=--- this number
EFLAGAS: 00010006

then post the results here, this *should* tell us where the error is occuring and how to fix it , yep you may not know much about linux now but after this you'll know a hell of a lot more

sidey

Last edited by sidey; 03-18-2003 at 12:45 PM.
 
Old 03-18-2003, 12:48 PM   #7
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Roger Cap'n, will do!
 
Old 03-18-2003, 01:02 PM   #8
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
ok, problem, I tried to run the script, but it "has been removed from the kernel". Apparently, I have to re-download it from Kernel.org. But, I'll do that later and post the results here, sorry, and thanks.
 
Old 03-19-2003, 02:35 AM   #9
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
do a locat for ksymoops, you may find a copy lurking in the /bin dir
 
Old 03-19-2003, 01:03 PM   #10
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Right, I found it there, BUT, when I tried to run it, it said that I hadn't specified enough information, and it showed me a list of - orptions ie. -V, which was the one that it recommend I use, so I did and the system hung up. What sould I try, just try it again?
 
Old 03-20-2003, 02:46 AM   #11
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
are you actually getting into the linux box? or is it just sitting there on boot?

an alternate/easier way around, is to recompile your kernel plus you get the benefits of new drivers etc, but if you stil like to solve this problem you could install both kernels and keep working on the other problem.

try it with something like

/usr/bin/ksymoops -m /boot/System.map

i'll keep thinking for you

(but as i say if you really need your box up install a new kernel)

Last edited by sidey; 03-20-2003 at 02:49 AM.
 
Old 03-20-2003, 09:54 AM   #12
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
Ok, how do I install the kernel, I have the 2.4 source code, if that helps...I would like to keep working on this probelm, so can I install both?
 
Old 03-20-2003, 03:46 PM   #13
sidey
Member
 
Registered: Mar 2003
Location: Essex UK
Distribution: rh 8.0 bsd 5.0 slack 9.0 rc2 crux
Posts: 147

Rep: Reputation: 15
yeah you can install both

to install new kernel you need to goto /usr/src/linux

make menuconfig

edit the variables

then make dep, make modules, make modules_install, make bzImage.

then copy the vmlinuz file to summet like /boot/vmlinuz2 then edit lilo.conf. copy the entry already in there, replacing vmlinuz with vmlinuz2
 
Old 03-20-2003, 05:31 PM   #14
cclavey
Member
 
Registered: Feb 2003
Location: N'England
Distribution: Slack 9
Posts: 194

Original Poster
Rep: Reputation: 30
thanks, ill try that!
 
  


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 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 09:00 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration