Posts tagged How check if the Kernel is tainted or not

Tainted Kernel

What is Kernel Taint ?

The Linux kernel maintains a “taint state” and logs for the same are stored in Kernel error messages.
Kernel taint state indicates that something has happened to the running kernel that results in Kernel error or hang and this can be troubleshooted by analysing the kernel source code.
Some of the information in the taint relates to whether the information provided by the kernel in an error message can be considered trustworthy.

Steps to  check kernel taint status

[email protected][#] cat /proc/sys/kernel/tainted

If  it returns  any non-zero  value then it means your kernel is tainted . The value will be a combined number of all applying kernel taint flags added together. You can find a list of currently used kernel flags under:
Continue reading Tainted Kernel