Skip to contentSkip to conversation

Document kernel taint flags properly

PATCH In review Greg KH 3 participants 5 messages Oct 17, 2008 – Oct 20, 2008

Subsystems (2)
lore
Share & tools
lore

Greg KH

author
#0 lore raw

PATCH 1/1 Document kernel taint flags properly

From: Greg Kroah-Hartman <[email protected]>

This fills in the documentation for all of the current kernel taint flags, and fixes the number for TAINT_CRAP, which was incorrectly described.

Cc Michael Kerrisk <[email protected]>
Cc Randy Dunlap <rdunlap-/[email protected]>
---
 Documentation/sysctl/kernel.txt |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
Documentation/sysctl/kernel.txt +17 -7
@@ -363,11 +363,21 @@ tainted: 
 Non-zero if the kernel has been tainted.  Numeric values, which
 can be ORed together:
 
-  1 - A module with a non-GPL license has been loaded, this
-      includes modules with no license.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  2 - A module was force loaded by insmod -f.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
- 64 - A module from drivers/staging was loaded.
+   1 - A module with a non-GPL license has been loaded, this
+       includes modules with no license.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   2 - A module was force loaded by insmod -f.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
+   8 - A module was forcefully unloaded from the system by rmmod -f.
+  16 - A hardware machine check error occured on the system.
+  32 - A bad page was discovered on the system.
+  64 - The user has asked that the system be marked "tainted".  This
+       could be because they are running software that directly modifies
+       the hardware, or for other reasons.
+ 128 - The system has died.
+ 256 - The ACPI DSDT has been overridden with one supplied by the user
+        instead of using the one provided by the hardware.
+ 512 - A kernel warning has occurred.
+1024 - A module from drivers/staging was loaded.
 

--
To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#1 lore raw

Greg,

Small corrections below.

Quoted 24 lines · Greg KH

From: Greg Kroah-Hartman <[email protected]>

This fills in the documentation for all of the current kernel taint flags, and fixes the number for TAINT_CRAP, which was incorrectly described.

Cc Michael Kerrisk <[email protected]>
Cc Randy Dunlap <rdunlap-/[email protected]>
---
 Documentation/sysctl/kernel.txt |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
Documentation/sysctl/kernel.txt +0 -4
@@ -363,11 +363,21 @@ tainted:
 Non-zero if the kernel has been tainted.  Numeric values, which
 can be ORed together:
 
-  1 - A module with a non-GPL license has been loaded, this
-      includes modules with no license.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  2 - A module was force loaded by insmod -f.

Documentation/sysctl/kernel.txt tainted: · line 372

Quoted 10 lines
Documentation/sysctl/kernel.txt +7 -3
-      Set by modutils >= 2.4.9 and module-init-tools.
-  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
- 64 - A module from drivers/staging was loaded.
+   1 - A module with a non-GPL license has been loaded, this
+       includes modules with no license.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   2 - A module was force loaded by insmod -f.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
+   8 - A module was forcefully unloaded from the system by rmmod -f.

s/forcefully/forcibly/

Documentation/sysctl/kernel.txt tainted: · line 373

Quoted 1 line
Documentation/sysctl/kernel.txt +1 -0
+  16 - A hardware machine check error occured on the system.

occurred

Documentation/sysctl/kernel.txt tainted: · line 382

Quoted 9 lines
Documentation/sysctl/kernel.txt +9 -0
+  32 - A bad page was discovered on the system.
+  64 - The user has asked that the system be marked "tainted".  This
+       could be because they are running software that directly modifies
+       the hardware, or for other reasons.
+ 128 - The system has died.
+ 256 - The ACPI DSDT has been overridden with one supplied by the user
+        instead of using the one provided by the hardware.
+ 512 - A kernel warning has occurred.
+1024 - A module from drivers/staging was loaded.

Cheers,

Michael

Signature · 9 lines
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
git://git.kernel.org/pub/scm/docs/man-pages/man-pages.git
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
author
#2 lore raw
Quoted 42 lines · Michael Kerrisk

Greg,

Small corrections below.

Quoted 24 lines · Greg KH

From: Greg Kroah-Hartman <[email protected]>

This fills in the documentation for all of the current kernel taint flags, and fixes the number for TAINT_CRAP, which was incorrectly described.

Cc Michael Kerrisk <[email protected]>
Cc Randy Dunlap <rdunlap-/[email protected]>
---
 Documentation/sysctl/kernel.txt |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
Documentation/sysctl/kernel.txt +0 -4
@@ -363,11 +363,21 @@ tainted:
 Non-zero if the kernel has been tainted.  Numeric values, which
 can be ORed together:
 
-  1 - A module with a non-GPL license has been loaded, this
-      includes modules with no license.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  2 - A module was force loaded by insmod -f.

Documentation/sysctl/kernel.txt tainted: · line 372

Quoted 10 lines
Documentation/sysctl/kernel.txt +7 -3
-      Set by modutils >= 2.4.9 and module-init-tools.
-  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
- 64 - A module from drivers/staging was loaded.
+   1 - A module with a non-GPL license has been loaded, this
+       includes modules with no license.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   2 - A module was force loaded by insmod -f.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
+   8 - A module was forcefully unloaded from the system by rmmod -f.

s/forcefully/forcibly/

Quoted 3 lines

Documentation/sysctl/kernel.txt tainted: · line 373

Quoted 1 line
Documentation/sysctl/kernel.txt +1 -0
+  16 - A hardware machine check error occured on the system.

occurred

Thanks, I've updated this in my version.

Randy, I can send this through my tree, is that ok? Or do you want it to go through yours?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 48 lines · Greg KH
Quoted 46 lines · Michael Kerrisk

Greg,

Small corrections below.

Quoted 25 lines · Greg KH

From: Greg Kroah-Hartman <[email protected]>

This fills in the documentation for all of the current kernel taint flags, and fixes the number for TAINT_CRAP, which was incorrectly described.

Cc Michael Kerrisk <[email protected]>
Cc Randy Dunlap <[email protected]>
---
 Documentation/sysctl/kernel.txt |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
Documentation/sysctl/kernel.txt +0 -5
@@ -363,11 +363,21 @@ tainted:
 Non-zero if the kernel has been tainted.  Numeric values, which
 can be ORed together:
 
-  1 - A module with a non-GPL license has been loaded, this
-      includes modules with no license.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  2 - A module was force loaded by insmod -f.
-      Set by modutils >= 2.4.9 and module-init-tools.

Documentation/sysctl/kernel.txt tainted: · line 373

Quoted 10 lines
Documentation/sysctl/kernel.txt +7 -2
-  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
- 64 - A module from drivers/staging was loaded.
+   1 - A module with a non-GPL license has been loaded, this
+       includes modules with no license.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   2 - A module was force loaded by insmod -f.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
+   8 - A module was forcefully unloaded from the system by rmmod -f.
 

s/forcefully/forcibly/

Quoted 2 lines
Documentation/sysctl/kernel.txt +1 -0
+  16 - A hardware machine check error occured on the system.
Quoted 8 lines
Quoted 2 lines

occurred

Thanks, I've updated this in my version.

Randy, I can send this through my tree, is that ok? Or do you want it to go through yours?

You please go ahead with it.

Thanks,
~Randy

author
#4 lore raw
Quoted 52 lines · Randy Dunlap
Quoted 51 lines · Greg KH
Quoted 48 lines · Michael Kerrisk

Greg,

Small corrections below.

Quoted 25 lines · Greg KH

From: Greg Kroah-Hartman <[email protected]>

This fills in the documentation for all of the current kernel taint flags, and fixes the number for TAINT_CRAP, which was incorrectly described.

Cc Michael Kerrisk <[email protected]>
Cc Randy Dunlap <[email protected]>
---
 Documentation/sysctl/kernel.txt |   24 +++++++++++++++++-------
 1 file changed, 17 insertions(+), 7 deletions(-)
Documentation/sysctl/kernel.txt +0 -5
@@ -363,11 +363,21 @@ tainted:
 Non-zero if the kernel has been tainted.  Numeric values, which
 can be ORed together:
 
-  1 - A module with a non-GPL license has been loaded, this
-      includes modules with no license.
-      Set by modutils >= 2.4.9 and module-init-tools.
-  2 - A module was force loaded by insmod -f.
-      Set by modutils >= 2.4.9 and module-init-tools.

Documentation/sysctl/kernel.txt tainted: · line 373

Quoted 10 lines
Documentation/sysctl/kernel.txt +7 -2
-  4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
- 64 - A module from drivers/staging was loaded.
+   1 - A module with a non-GPL license has been loaded, this
+       includes modules with no license.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   2 - A module was force loaded by insmod -f.
+       Set by modutils >= 2.4.9 and module-init-tools.
+   4 - Unsafe SMP processors: SMP with CPUs not designed for SMP.
+   8 - A module was forcefully unloaded from the system by rmmod -f.
 

s/forcefully/forcibly/

Documentation/sysctl/kernel.txt tainted: · line 373

Quoted 2 lines
Documentation/sysctl/kernel.txt +1 -0
+  16 - A hardware machine check error occured on the system.

occurred

Quoted 6 lines
Quoted 5 lines

Thanks, I've updated this in my version.

Randy, I can send this through my tree, is that ok? Or do you want it to go through yours?

You please go ahead with it.

Will do.

thanks,

greg k-h