LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-01-2012, 02:32 AM   #1
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Rep: Reputation: Disabled
Angry Kernel panic


suddenly while booting my centos system it shows that kernel panic not syncing attempting to kill init.. i have lot of data in it please help me to recover it
 
Old 11-01-2012, 02:35 AM   #2
dushyantgohil
Member
 
Registered: Aug 2011
Location: India
Distribution: Cent OS & Ubuntu
Posts: 107

Rep: Reputation: 3
hi,


once i have faced this kind of issue in my cent os too, if any of your ram is not proper or failed in that case you can face this kind of error too.

once check/change your RAM and try.

Last edited by dushyantgohil; 11-01-2012 at 02:37 AM.
 
Old 11-01-2012, 06:51 AM   #3
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,568

Rep: Reputation: 164Reputation: 164
Have you performed an update before the problems started? If not, you can try to test the memory. In the meantime, download a LiveCD. For example from http://mirrors.usc.edu/pub/linux/dis...3/isos/x86_64/
It should give you access to your files so you can copy them.
 
Old 11-01-2012, 10:26 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,358
Blog Entries: 12

Rep: Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740
Just to be safe, I suggest booting to a Live CD of something and copying your crucial data to external media or a network share before continuing your troubleshooting.
 
Old 11-02-2012, 04:33 AM   #5
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
yes i updated recently.
 
Old 11-02-2012, 04:52 AM   #6
cbtshare
Member
 
Registered: Jul 2009
Posts: 610

Rep: Reputation: 42
try booting into an older kernel, the update you did might not have all the drivers, so its throwing a panic.
 
Old 11-02-2012, 12:36 PM   #7
lakhera2010
LQ Newbie
 
Registered: Mar 2010
Posts: 20

Rep: Reputation: 1
Can you please share with us complete panic logs..What version you are trying to update..may be we get some clue...
 
Old 11-02-2012, 02:25 PM   #8
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Angry

Red hat linux starts
JBD: failed to read block at offset 200
JBD:recovery failed
EXT3-fs error loading journal
mount:error mounting/dev/root
setuproot:mount/dev failed:no such file/directory
setuproot:error mounting/sys:no such file or directory
switchroot:mount failed:no such file or directory
kernel panic-not syncing:attempting to kill init


hangs on there..............
 
Old 11-02-2012, 02:29 PM   #9
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
After update it worked fine up to one week..then suddenly
 
Old 11-02-2012, 02:31 PM   #10
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
I used a ubuntu bootable flash drive but I could not able to mount the hard disk drive......
 
Old 11-05-2012, 04:49 AM   #11
dushyantgohil
Member
 
Registered: Aug 2011
Location: India
Distribution: Cent OS & Ubuntu
Posts: 107

Rep: Reputation: 3
download live cd of cent os from http://mirrors.usc.edu/pub/linux/dis...3/isos/x86_64/ and try
 
Old 11-05-2012, 08:41 AM   #12
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 7,183

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Here is what happened and here is what that message means:
  • A "kernel panic" is any condition from which the system cannot continue; it must stop immediately.
  • The message "not syncing" is actually unrelated to what precedes it: it means that the system was not in the middle of doing a disk-write at the time that the failure occurred. (Which is a Good Thing.)
  • The specific message, "attempted to kill 'init'," is a bit of a misnomer. What it actually means is that the init process died, or couldn't be started.
The init process (pid #1) is special: it is hand-made by the kernel during initialization, it must start successfully, and it must never, ever die. It's a privileged, user-land process that carries out very important duties without which system operation cannot continue.

Usually, when you see this message, it's at startup, and other messages immediately precede it to show you why the process couldn't start.

The best solution usually is to boot a kernel DVD, use it to check the filesystems (if the vendor-provided scripts don't do this automagically), then use it to repeat the Linux install procedure. You only need to install the core system files: you should not, for example, reinitialize the disks. This is probably the most reasonable and easy-to-do process that is likely to succeed.

For the more adventurous, It can also be useful to boot up the DVD, enter the command line, cd to the directory where this program is located, and type, init. (It is an ordinary program...) If an error-message pops up to the effect that the program doesn't start running, there probably is your answer.

Last edited by sundialsvcs; 11-05-2012 at 08:43 AM.
 
Old 11-05-2012, 07:33 PM   #13
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mint, OpenBSD
Posts: 11,358
Blog Entries: 12

Rep: Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740Reputation: 2740
If the drive won't mount, perhaps an fsck is called for.
 
Old 11-08-2012, 03:34 PM   #14
BABU R
LQ Newbie
 
Registered: Nov 2012
Posts: 7

Original Poster
Rep: Reputation: Disabled
Unhappy data recovery

Please suggest any free linux data recovery software for recovering kernel paniced un bootable hard disk drive.............
 
Old 11-08-2012, 06:16 PM   #15
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,827

Rep: Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409Reputation: 2409
what Operating system ?
there is a bad kernel update on ScientificLinux 6.3
( so RHEL6.3 and CentOS 6.3 will also be affected )
that causes the "menu.lis" to not be correctly updated
the "root uuid line is BLANK

boot into the old kernel ( the 3 sec. countdown )
and look at your /boot/grub/menu.lis file

and compaire the NEW boot line to the OLD boot line
 
  


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
Fedora 16 Kernel upgrade broke system - kernel panic and unable to boot itsjustarumour Fedora 7 05-15-2012 10:51 AM
Logging a Kernel Panic Event - Problem writing the log in panic situation lucasct Linux - Embedded & Single-board computer 5 09-08-2011 02:44 PM
Kernel panic puts me in a panic theeeg Linux - Software 2 07-31-2004 05:46 PM
kernel panic (narius panic) narius Linux - Newbie 3 06-20-2002 04:56 PM
Kernel panic making me panic! Linux_N0oby Linux - Software 19 05-29-2002 01:31 AM


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