Main Menu

Search

LINUX: WHAT IS KERNEL PANIC AND WHY DOES IT HAPPEN?

Kernel Panic on Linux hosts is a condition where Linux operating system (OS) cannot quickly or easily recover. Kernel panics can happen due to many reasons like bad drivers, overtaxed memory, race conditions, kernel bugs, firmware version bugs, Hardware issues and software bugs etc. When kernel panic condition happens, one of the following things would happen.

- Linux node will stop responding and will hang where you will not be able to connect to Linux host OS. Manual intervention is needed to force stop and start Linux host
- Linux node will force shutdown due to kernel panic. Manual intervention is needed to start the Node.
- Linux node will crash reboot automatically.

Often times when kernel panic happens, there are panic traces logged in /var/log/messages file on Linux host and ILOM host console log which will be useful for diagnosing the kernel panic issue. Also, when a Linux host gets into a panic condition, VM core file can be generated if KDumps are configured on the Linux node. VM Core file will provide more details on kernel state at the time of the panic - like exact state of kernel threads, module which was causing the panic etc.

Products to which Article Applies

All Linux Operarting Systems.

Search Keywords: Linux Kernel Kernels Panic KernelPanic Hang What happen why

 

 
Article Author: Tarun Boyella

No comments:

Post a Comment