On 13.11.2014 18:55, Marcy Cortes wrote:
> I think I found a bug.
>
> Server on a zEC12 with crypto accelerator
> zlinux-maint:~ # lszcrypt
> card2b: CEX4A
>
> Reports
> zlinux-maint:~ # lnxhc run crypto_opencryptoki_ckc -V
> Collecting system information
> Host 'zlinux-maint'
> file::/proc/cpuinfo
> [SUCCESS]
> program::/bin/rpm -qa
> --queryformat='%{name}-%{version}-%{release}.%{arch}\n'
> [SUCCESS]
> program::/sbin/lszcrypt
> [SUCCESS]
> program::/usr/sbin/pkcsconf -t
> [SUCCESS]
> program::ls /dev/z90crypt
> [SUCCESS]
> Running checks (1 checks)
> CHECK NAME HOST
> RESULT
> ========================================================================================================================================
> crypto_opencryptoki_ckc ................ zlinux-maint
> EXCEPTION-MED
>
> >EXCEPTION crypto_opencryptoki_ckc.crypto_adapters_not_available(medium)
>
> SUMMARY
> Required cryptographic adapters are not available (Cryptographic
> Coprocessor, Cryptographic Accelerator)
This is indeed a bug in the corresponding health check (and other crypto
related health checks). It appears that the check program didn't expect
hexadecimal card numbers (such as 2b) and therefore incorrectly assumes
that the hardware is missing. I've added a fix to our code repository.
It will be included in the next release. Thanks for pointing out this issue!
Regards,
Peter Oberparleiter
--
Peter Oberparleiter
Linux on System z Development - IBM Germany
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/