TECH SOLUTION

TECH SOLUTION

Sunday, 20 October 2013

WHAT IS LINUX KERNEL PANICS (BASIC)

How to Troubleshoot Linux Kernel Panics (Basic)

Problem Description:
Ø  Kernal panics on linux are hard to identify and troubleshoot.
Ø  Troubleshooting kernel panics often requires reproducing a situation that occurs rarely and collecting data that is difficult to gater.

What is a kernel panic?
Ø  The Linux kernel gets into a situation where it doesn’t know what to do next. When this happens,

Ø  The kernel gives as much information as it can about what caused the problem, depending on what caused the panic.


There are two main kinds of kernel panics: 

1.     Hard Panic (also known as Aieee) 

2.    Soft Panic (also known as Oops) 

What can cause a kernel panic?
ü  Only modules that are located within kernel space can
directly cause the kernel to panic.
ü  To see what modules are dynamically loaded,
 # lsmod
ü  The above command this shows all dynamically loaded modules
(Dialogic drivers, SCSI driver, filesystem etc.
ü  In addition to these dynamically loaded modules, components that are built
into the kernel (memory map, etc.) can cause a panic.

Since
hard panics and soft panics are different in nature, how to deal with each I will write in next blog.

No comments:

Post a Comment