• Home
  • Raw
  • Download

Lines Matching +full:0 +full:- +full:9 +full:a +full:- +full:f

2 ---------------
6 most of the time it's not a problem to run a tainted kernel; the information is
13 (i.e. unload a proprietary kernel module), to indicate the kernel remains not
15 notices an internal problem (a 'kernel bug'), a recoverable error
16 ('kernel oops') or a non-recoverable error ('kernel panic') and writes debug
18 check the tainted state at runtime through a file in ``/proc/``.
24 You find the tainted state near the top in a line starting with 'CPU:'; if or
25 why the kernel was tainted is shown after the Process ID ('PID:') and a shortened
30 CPU: 0 PID: 4424 Comm: insmod Tainted: P W O 4.20.0-0.rc6.fc30 #1
32 RIP: 0010:my_oops_init+0x13/0x1000 [kpanic]
35 You'll find a 'Not tainted: ' there if the kernel was not tainted at the
42 the kernel got tainted earlier because a proprietary Module (``P``) was loaded,
43 a warning occurred (``W``), and an externally-built module was loaded (``O``).
51 ``cat /proc/sys/kernel/tainted``. If that returns ``0``, the kernel is not
53 decode that number is the script ``tools/debugging/kernel-chktaint``, which your
54 distribution might ship as part of a package called ``linux-tools`` or
55 ``kernel-tools``; if it doesn't you can download the script from
56 …git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/tools/debugging/kernel-chktaint>`_
57 and execute it with ``sh kernel-chktaint``, which would print something like
61 * Proprietary module was loaded (#0)
62 * Kernel issued warning (#9)
63 * Externally-built ('out-of-tree') module was loaded (#12)
64 See Documentation/admin-guide/tainted-kernels.rst in the the Linux kernel or
65 https://www.kernel.org/doc/html/latest/admin-guide/tainted-kernels.html for
66 a more details explanation of the various taint flags.
72 number, as it is a bitfield, where each bit indicates the absence or presence of
73 a particular type of taint. It's best to leave that to the aforementioned
77 $ for i in $(seq 18); do echo $(($i-1)) $(($(cat /proc/sys/kernel/tainted)>>($i-1)&1));done
85 0 G/P 1 proprietary module was loaded
86 1 _/F 2 module was force loaded
89 4 _/M 16 processor reported a Machine Check Exception (MCE)
93 8 _/A 256 ACPI table overridden by user
94 9 _/W 512 kernel issued warning
97 12 _/O 4096 externally-built ("out-of-tree") module was loaded
105 Note: The character ``_`` is representing a blank in this table to make reading
111 0) ``G`` if all modules loaded have a GPL or compatible license, ``P`` if
112 any proprietary module has been loaded. Modules without a
113 MODULE_LICENSE or with a MODULE_LICENSE that is not recognised by
116 1) ``F`` if any module was force loaded by ``insmod -f``, ``' '`` if all
124 3) ``R`` if a module was force unloaded by ``rmmod -f``, ``' '`` if all
127 4) ``M`` if any processor has reported a Machine Check Exception,
130 5) ``B`` If a page-release function has found a bad page reference or some
131 unexpected page flags. This indicates a hardware problem or a kernel bug;
135 6) ``U`` if a user or user application specifically requested that the
140 8) ``A`` if an ACPI table has been overridden.
142 9) ``W`` if a warning has previously been issued by the kernel.
145 10) ``C`` if a staging driver has been loaded.
147 11) ``I`` if the kernel is working around a severe bug in the platform
150 12) ``O`` if an externally-built ("out-of-tree") module has been loaded.
152 13) ``E`` if an unsigned module has been loaded in a kernel supporting
155 14) ``L`` if a soft lockup has previously occurred on the system.