[Bug 1582728] Comment bridged from LTC Bugzilla

bugproxy bugproxy at us.ibm.com
Wed Jun 1 11:30:18 UTC 2016


------- Comment From Jan.Hoeppner at de.ibm.com 2016-06-01 07:28 EDT-------
Hi everyone,

unfortunately, I'm not able to reproduce the error here. However, with
some additional data, we might be able to track it down.

Can you please mount the MDISK in question in raw-track-access mode and copy the first 2-3 tracks so that we can see if there is
any data in the label information on the disk that dasdfmt doesn't like?

Here is how you can do it in the restricted installer environment:

# Set device offline
$ echo 0 > /sys/bus/ccw/devices/0.0.0200/online
# Enable raw-track-access
$ echo 1 > /sys/bus/ccw/devices/0.0.0200/raw_track_access
# Set device online
$ echo 1 > /sys/bus/ccw/devices/0.0.0200/online
# Copy the first few tracks using dd (assuming it is dasda, look at /sys/bus/ccw/devices/0.0.0200/block to be certain )
$ dd if=/dev/dasda of=dasda_first_tracks bs=4096 count=30

You won't be able to scp the file to another machine (at least I wasn't) so you might want to attach another disk
where you can copy the file to.

Furthermore, it would be very helpful, if you could get 'strace' running within the installer and attach any trace here.
Strace should be able to tell us where dasdfmt is crashing.

Best regards,
Jan

-- 
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:
  Triaged
Status in s390-tools package in Ubuntu:
  In Progress

Bug 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