[Bug 1582728] /proc/dasd/devices example

bugproxy bugproxy at us.ibm.com
Fri Jun 3 12:41:28 UTC 2016


------- Comment on attachment From Jan.Hoeppner at de.ibm.com 2016-06-03 08:27 EDT-------


This is an example output of my test system. With that setup, trying to
format 'dasdd' or 'dasdh' would trigger the bug, because an FBA device
is listed prior to them. (The whitespace after FBA is the actual parsing
issue by the way)

Best regards,
Jan

** Attachment added: "/proc/dasd/devices example"
   https://bugs.launchpad.net/bugs/1582728/+attachment/4675976/+files/proc_dasd_devices

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to s390-tools in Ubuntu.
https://bugs.launchpad.net/bugs/1582728

Title:
  DASDFMT fails with a buffer overflow error

Status in Ubuntu on IBM z Systems:
  In Progress
Status in s390-tools package in Ubuntu:
  Triaged
Status in s390-tools source package in Xenial:
  Triaged

Bug description:
  [Impact]

   * In certain hardware configurations, dasdfmt fails to format a
  drive, thus preventing successful installation and/or initialisation
  of a new disk.

  "there is a bug in the parsing of /proc/dasd/devices which is being
  triggered only if an FBA device is listed prior to the ECKD device in
  question. And since you've had FBA devices attached to your system
  during the installation, you ran into that bug."

  [Test Case]

   * On a system with FBA and ECKD devices, perform dasdfmt

  [Regression Potential]

   * Minimal. Bug fix cherrypick from upstream.

  [Original Description]
   
  During installation, either through the menu or in an ssh session , dasdfmt fails with a buffer overflow error and does not format the dasd volume. The volume is a z/VM minidisk - defined as 1 to end, this is common in this environment. The DASD volume was formatted from z/VM as a minidisk volume. These are the same steps taken for other distributions running under z/VM. I've attached some screen shots.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-z-systems/+bug/1582728/+subscriptions



More information about the foundations-bugs mailing list