Contents
How do you check if the kernel is tainted?
To know if a running kernel is tainted or not, check the numerical value in the file /proc/sys/kernel/tainted. Non-zero if the kernel has been tainted.
What is Linux kernel code?
The Linux kernel is a free and open-source, monolithic, modular, multitasking, Unix-like operating system kernel. Most of the Linux kernel code is written using the GNU extensions of GCC to the standard C programming language and with the use of architecture specific instructions (ISA).
Why is my kernel tainted?
The primary reason for the ‘Tainted: ‘ string is to tell kernel debuggers if this is a clean kernel or if anything unusual has occurred. Tainting is permanent: even if an offending module is unloaded, the tainted value remains to indicate that the kernel is not trustworthy.
What causes a tainted kernel?
The use of a proprietary (or non-GPL-compatible) kernel module—this is the most common cause of tainted kernels and usually results from loading proprietary NVIDIA or AMD video drivers. The use of staging drivers, which are part of the kernel source code but are not fully tested.
Why is the tainted string in the Linux kernel?
The primary reason for the ‘Tainted: ‘ string is to tell kernel debuggers if this is a clean kernel or if anything unusual has occurred. Tainting is permanent: even if an offending module is unloaded, the tainted value remains to indicate that the kernel is not trustworthy.
What happens when you unload a tainted kernel?
That’s why bug reports from tainted kernels will often be ignored by developers, hence try to reproduce problems with an untainted kernel. Note the kernel will remain tainted even after you undo what caused the taint (i.e. unload a proprietary kernel module), to indicate the kernel remains not trustworthy.
What does ” kernel tainted ” mean in Fedora 17?
My OS is Fedora 17. Recently, kernel tainted warning “kernel bug at kernel/auditsc.c:1772!-abrt” occurs: This problem should not be reported (it is likely a known problem). A kernel problem occurred, but your kernel has been tainted (flags:GD).
Is it safe to ignore the taint condition?
In most cases involving proprietary drivers, you can safely ignore the taint condition, but some scenarios which cause the kernel to become tainted may be indicative of serious system problems. The feature is intended to identify conditions which may make it difficult to properly troubleshoot a kernel problem.