On RHEL5 Xen kernel, it shows multiple garbage graphic characters, and I
cannot even transpose it, because it must have a CR, LF, or something else
embedded in the garbarge.
If you want to re-post, fix the module list truncation issue, try to do
something to handle kernel versions that do not have the same #define's
as what you're hardwiring, and perhaps make it into a "mod -t" option
that displays just the module name and its TAINT flag.
Dave
Hi Dave,
Firstly, sorry for the delay.
Here's another attempt.
An example:
crash> linux_banner
linux_banner = $3 = "Linux version 2.6.32-220.28.1.el6.x86_64
(mockbuild(a)x86-022.build.eng.bos.redhat.com) (gcc version 4.4.6 20110731 (Red Hat 4.4.6-3)
(GCC) ) #1 SMP Wed Oct 3 12:26:28 EDT 2012\n"
crash> mod -T
NAME TAINT
vxspec (P)(U)
dmpaa (P)(U)
emcpgpx (P)(U)
dmpap (P)(U)
dmpjbod (P)(U)
emcp (P)(U)
emcpmpx (P)(U)
emcpdm (P)(U)
emcpxcrypt (P)(U)
emcpvlumd (P)(U)
vxfs (P)(U)
fdd (P)(U)
vxportal (P)(U)
vxdmp (P)(U)
vxio (P)(U)
llt (P)(U)
gab (P)(U)
vxfen (P)(U)
vxglm (P)(U)
vxgms (P)(U)
vxodm (P)(U)
crash> mod -t vxfs
NAME TAINT
vxfs (P)(U)
--8<--
$ diffstat show-mod-taint-flags-v2.patch
defs.h | 11 ++++
kernel.c | 150 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
2 files changed, 160 insertions(+), 1 deletion(-)