** Package changed: linux (Ubuntu) => s390-tools

** Also affects: ubuntu-z-systems
   Importance: Undecided
       Status: New

** Changed in: ubuntu-z-systems
   Importance: Undecided => Medium

** Changed in: ubuntu-z-systems
     Assignee: (unassigned) => Skipper Bug Screeners (skipper-screen-team)

** Also affects: s390-tools (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: s390-tools (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: s390-tools (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: s390-tools (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: s390-tools
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1903984

Title:
  [UBUNTU 20.04] Cannot run zcryptstats in the Hosting Appliance

Status in s390-tools:
  Invalid
Status in Ubuntu on IBM z Systems:
  New
Status in s390-tools package in Ubuntu:
  New
Status in s390-tools source package in Focal:
  New
Status in s390-tools source package in Groovy:
  New
Status in s390-tools source package in Hirsute:
  New

Bug description:
  ---Problem Description---
  I have had trouble collecting data via the zcryptstats 
(https://github.com/ibm-s390-tools/s390-tools/blob/master/zconf/zcrypt/zcryptstats.c)
 tool for our Hosting Appliance - VPC environment. Basically, the tool reports 
data for only the last two domain IDs. Further, it hangs if I collect data for 
a complete crypto card, and then I have to kill the ssh session to get back. 

  strace attached, ltrace not available and can't be installed due to no
  Internet access.

  ===================
  Addl. Information:

  This seems to be a problem with the handling of partial responses of
  the SCDMD CHSC command.

  When many domains are available, then the output of all domains does
  not fit into the output buffer of one CHSC call. Thus, the response
  contains a partial-response-bit that indicates that there is more data
  to be retrieved. This is done in a subsequent CHSC call, but there is
  an error in zcryptstats with populating the request with the next
  domain number to obtain data for. This results in the fact that it
  retrieves the data for domains 1 to n over and over again, and always
  gets the partial-response bit set. So this loops forever.

  ===================
  The fix for this in now upstream:
  
https://github.com/ibm-s390-tools/s390-tools/commit/cf2311f1f1de17435b49ba8c8697be91705ba031

  This need to be integrated in all Ubuntu distros, from 20.04 on. F/G/H

To manage notifications about this bug go to:
https://bugs.launchpad.net/s390-tools/+bug/1903984/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to