LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 05-04-2013, 04:25 AM   #1
_BaZinGa
LQ Newbie
 
Registered: Apr 2013
Distribution: backtrack, kali linux, rhel
Posts: 7

Rep: Reputation: Disabled
Question dealing with kernel panic attacks


recently i had an interview for Linux Admin. One of the questions i was asked was
"There is a kernel Panic Attack on your machine and your machine has stopped responding. Even when you reboot your machine, immediate kernel panic attack occurs and you are devoid of any terminal or console. How will you fix this issue?"

I answered: by using a live disc to mount and repair the fs....!

Please let me know the possible answers to this situation.
 
Old 05-04-2013, 05:47 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 26,944
Blog Entries: 54

Rep: Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731Reputation: 2731
IMHO any well-structured diagnostics starts with an analysis of the situation. For example knowing if the machine is stored in a remote Data Centre (as in Out of or Side Band methods) or not, if it's a physical or virtual machine, if the machine is part of a cluster or if other fail-over methods are in place, if there's central syslog storage or not, any Service Level Agreements, response priority or explicit client instructions may (or may not) cause you to change your approach. Plus without diagnostics you won't be able to prove it's a file system error that lead to the kernel panic, its cause might be Something Completely Different. So depending on the situation and the priority of the incident you might not choose to resurrect this machine at all but first check if fail-over worked properly, or go for virtualization or syslog analysis first, mount an ISO via whatever method available or ask the colo people to do that for you, open a ticket, inform the client, etc, etc. Being able to start your explanation that way should convey you have practical experience with Real Life troubleshooting and its pitfalls in heterogeneous environments, an analytical mindset, know how to work efficiently and have an eye for client perception / relations ;-p
 
Old 05-04-2013, 11:49 AM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,058

Rep: Reputation: 295Reputation: 295Reputation: 295
Note that a kernel panic does not necessarily indicate an attack (although some attacks could cause a kernel panic). A kernel panic is simply when the kernel experiences some unexpected condition that should never occur, and therefore stops itself (and the whole system) to prevent any further damage. As UnSpawn indicates, you would need to figure out what caused the kernel panic (it need not be filesystem related). If it turns out to be caused by something malicious, you would want to isolate the system and follow standard incident response procedures. There are many threads over on the security forum that go over this in detail; I suggest you read through them if you're looking for a career as a professional sysadmin.
 
  


Reply

Tags
attack, hang, kernel, panic, redhat


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
LXer: Kernel Log: No unstable series; Linux 2008.7; dealing with security fixes LXer Syndicated Linux News 0 07-24-2008 12:20 AM
LXer: Dealing With Contentious Kernel Blobs LXer Syndicated Linux News 0 01-04-2008 06:30 PM
Dealing with alsa after a kernel recompile jrdioko Slackware 5 01-08-2007 02:33 AM
Samba attacks. Should I panic? Ganbare Linux - Security 6 01-28-2005 08:55 AM
optimal kernel cooking & dealing with incompatible patches Ben2210 Linux - Software 5 10-31-2004 12:32 PM


All times are GMT -5. The time now is 03:45 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration