Advertisement
Guest User

Untitled

a guest
Oct 12th, 2017
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.50 KB | None | 0 0
  1. # cat /proc/sys/kernel/tainted
  2. 128
  3.  
  4. # dmesg | grep -i taint
  5. [ 8306.955523] Pid: 4511, comm: chrome Tainted: G D 3.9.10-100.fc17.i686.PAE #1 Dell Inc.
  6. [ 8307.366310] Pid: 4571, comm: chrome Tainted: G D 3.9.10-100.fc17.i686.PAE #1 Dell Inc.
  7.  
  8. ---------------------------------------------------------------------------
  9. Tainted kernels:
  10.  
  11. Some oops reports contain the string 'Tainted: ' after the program
  12. counter. This indicates that the kernel has been tainted by some
  13. mechanism. The string is followed by a series of position-sensitive
  14. characters, each representing a particular tainted value.
  15.  
  16. 1: 'G' if all modules loaded have a GPL or compatible license, 'P' if
  17. any proprietary module has been loaded. Modules without a
  18. MODULE_LICENSE or with a MODULE_LICENSE that is not recognised by
  19. insmod as GPL compatible are assumed to be proprietary.
  20.  
  21. 2: 'F' if any module was force loaded by "insmod -f", ' ' if all
  22. modules were loaded normally.
  23.  
  24. 3: 'S' if the oops occurred on an SMP kernel running on hardware that
  25. hasn't been certified as safe to run multiprocessor.
  26. Currently this occurs only on various Athlons that are not
  27. SMP capable.
  28.  
  29. 4: 'R' if a module was force unloaded by "rmmod -f", ' ' if all
  30. modules were unloaded normally.
  31.  
  32. 5: 'M' if any processor has reported a Machine Check Exception,
  33. ' ' if no Machine Check Exceptions have occurred.
  34.  
  35. 6: 'B' if a page-release function has found a bad page reference or
  36. some unexpected page flags.
  37.  
  38. 7: 'U' if a user or user application specifically requested that the
  39. Tainted flag be set, ' ' otherwise.
  40.  
  41. 8: 'D' if the kernel has died recently, i.e. there was an OOPS or BUG.
  42.  
  43. 9: 'A' if the ACPI table has been overridden.
  44.  
  45. 10: 'W' if a warning has previously been issued by the kernel.
  46. (Though some warnings may set more specific taint flags.)
  47.  
  48. 11: 'C' if a staging driver has been loaded.
  49.  
  50. 12: 'I' if the kernel is working around a severe bug in the platform
  51. firmware (BIOS or similar).
  52.  
  53. 13: 'O' if an externally-built ("out-of-tree") module has been loaded.
  54.  
  55. 14: 'E' if an unsigned module has been loaded in a kernel supporting
  56. module signature.
  57.  
  58. 15: 'L' if a soft lockup has previously occurred on the system.
  59.  
  60. The primary reason for the 'Tainted: ' string is to tell kernel
  61. debuggers if this is a clean kernel or if anything unusual has
  62. occurred. Tainting is permanent: even if an offending module is
  63. unloaded, the tainted value remains to indicate that the kernel is not
  64. trustworthy.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement