[Crash-utility] [Patch v4] Show module taint flags

Aaron Tomlin atomlin at redhat.com
Sun May 19 16:51:19 UTC 2013


Hi Dave,


Since v4:

 - Updated help_mod[] help page
 - User is notified if no tainted modules exists
 - Added the '-t' option, to display the hexadecimal value of a module's "taint" flag

 
Examples:

	crash> mod -T
	NOTE: modules have changed on this system -- reinitializing
	NAME                     TAINT
	test                     GFO
	
	crash> mod -t
	NAME                     TAINT
	test                     0x1002
	
	crash> mod -T
	NAME                 TAINT
	vxfs                 P(U)
	vxspec               P(U)
	dmpaa                P(U)
	dmpap                P(U)
	dmpjbod              P(U)
	fdd                  P(U)
	vxportal             P(U)
	vxdmp                P(U)
	vxio                 P(U)
	llt                  P(U)
	gab                  P(U)
	vxfen                P(U)
	amf                  P(U)
	vxodm                P(U)
	
	crash> mod -t
	NAME                 TAINT
	vxfs                 0x1
	vxspec               0x1
	dmpaa                0x1
	dmpap                0x1
	dmpjbod              0x1
	fdd                  0x1
	vxportal             0x1
	vxdmp                0x1
	vxio                 0x1
	llt                  0x1
	gab                  0x1
	vxfen                0x1
	amf                  0x1
	vxodm                0x1

	
Regards,
Aaron

---8<---

 help.c   |   23 +++++++-
 kernel.c |  181 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 202 insertions(+), 2 deletions(-)

 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: show-mod-taint-flags-v4.patch
Type: text/x-patch
Size: 8433 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/crash-utility/attachments/20130519/8e6190c7/attachment.bin>


More information about the Crash-utility mailing list