#include <linux/debug_locks.h>
#include <linux/interrupt.h>
#include <linux/kmsg_dump.h>
#include <linux/kallsyms.h>
#include <linux/notifier.h>
#include <linux/module.h>
#include <linux/random.h>
#include <linux/reboot.h>
#include <linux/delay.h>
#include <linux/kexec.h>
#include <linux/sched.h>
#include <linux/sysrq.h>
#include <linux/init.h>
#include <linux/nmi.h>
#include <linux/dmi.h>
Go to the source code of this file.
#define PANIC_BLINK_SPD 18 |
#define PANIC_TIMER_STEP 100 |
void add_taint |
( |
unsigned |
flag | ) |
|
core_param |
( |
pause_on_oops |
, |
|
|
pause_on_oops |
, |
|
|
int |
, |
|
|
0644 |
|
|
) |
| |
early_param |
( |
"oops" |
, |
|
|
oops_setup |
|
|
) |
| |
late_initcall |
( |
init_oops_id |
| ) |
|
panic - halt the system : The text string to print
Display a message, then perform cleanups.
This function never returns.
Definition at line 69 of file panic.c.
print_tainted - return a string to represent the kernel taint state.
'P' - Proprietary module has been loaded. 'F' - Module has been forcibly loaded. 'S' - SMP with CPUs not designed for SMP. 'R' - User forced a module unload. 'M' - System experienced a machine check exception. 'B' - System has hit bad_page. 'U' - Userspace-defined naughtiness. 'D' - Kernel has oopsed before 'A' - ACPI table overridden. 'W' - Taint on warning. 'C' - modules from drivers/staging are loaded. 'I' - Working around severe firmware bug. 'O' - Out-of-tree module has been loaded.
The string is overwritten by the next call to print_tainted().
Definition at line 230 of file panic.c.
int test_taint |
( |
unsigned |
flag | ) |
|
int panic_on_oops = CONFIG_PANIC_ON_OOPS_VALUE |