File s390-tools-sles11sp3-dbginfo-enhancement-for-crypto.patch of Package s390-tools
Subject: [PATCH] [BZ 94741] dbginfo.sh: enhancement for cryptograhic adapters
From: Wolfgang Taphorn <taphorn@de.ibm.com>
Description: dbginfo.sh: enhancement for cryptograhic adapters
Symptom: The collected information from the system does not provide
enough data about cryptographic adapters for debugging purposes
Problem: The relevant commands are not issued and files providing further
information are not collected
Solution: * Collecting the following additional configuration files:
- /etc/groups
- /var/lib/opencryptoki/pk_config_data
* Collecting the following additional proc file:
- /proc/driver/z90crypt
* Running the following additional commands:
- icainfo
- icastats
- lszcrypt -VV
- ivp.e
- pkcsconf -mlist
- ls -al /usr/lib64/opencryptoki/stdll
Reproduction: -
Upstream-ID: -
Problem-ID: 94741
Signed-off-by: Wolfgang Taphorn <taphorn@de.ibm.com>
---
scripts/dbginfo.sh | 9 +++++++++
1 file changed, 9 insertions(+)
--- a/scripts/dbginfo.sh
+++ b/scripts/dbginfo.sh
@@ -134,6 +134,7 @@ PROCFILES="\
/proc/dasd/statistics\
/proc/devices\
/proc/diskstats\
+ /proc/driver/z90crypt\
/proc/interrupts\
/proc/iomem\
/proc/mdstat\
@@ -216,6 +217,7 @@ CONFIGFILES="\
/etc/dracut.conf.d\
/etc/exports\
/etc/fstab\
+ /etc/groups\
/etc/hosts*\
/etc/iscsi\
/etc/inittab\
@@ -283,6 +285,13 @@ CMDS="uname -a\
:lszfcp\
:lszfcp -D\
:lszfcp -V\
+ :icainfo\
+ :icastats\
+ :lszcrypt -VV\
+ :ivp.e\
+ :pkcsconf -mlist\
+ :cat /var/lib/opencryptoki/pk_config_data\
+ :ls -al /usr/lib64/opencryptoki/stdll\
:SPident\
:rpm -qa | sort\
:sysctl -a\