s390x from xenial has broken zipl

Bug #1524553 reported by Rafael David Tinoco
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
s390-tools (Ubuntu)
Fix Released
Critical
Dimitri John Ledkov

Bug Description

## s390-tools from SID

root@aupkg01:~# dpkg -l | grep s390-tools
ii s390-tools 1.32.0-1 s390x A set of fundamental utilities for Linux on S/390

root@aupkg01:~# zipl -V
Using config file '/etc/zipl.conf'
Target device information
  Device..........................: 5e:00
  Partition.......................: 5e:01
  Device name.....................: dasda
  Device driver name..............: dasd
  DASD device number..............: 0200
  Type............................: disk partition
  Disk layout.....................: ECKD/compatible disk layout
  Geometry - heads................: 15
  Geometry - sectors..............: 12
  Geometry - cylinders............: 10016
  Geometry - start................: 24
  File system block size..........: 4096
  Physical block size.............: 4096
  Device size in physical blocks..: 125004
Building bootmap in '/boot/'
Building menu 'zipl-automatic-menu'
Adding #1: IPL section 'ubuntu' (default)
  initial ramdisk...: /boot/initrd.img
  kernel image......: /boot/vmlinuz
  kernel parmline...: 'root=/dev/mapper/vg_ubuntu-root'
  component address:
    kernel image....: 0x00010000-0x00c5efff
    parmline........: 0x00c5f000-0x00c5ffff
    initial ramdisk.: 0x00c60000-0x0139dfff
    internal loader.: 0x0000a000-0x0000cfff
Preparing boot menu
  Interactive prompt......: disabled
  Menu timeout............: disabled
  Default configuration...: 'ubuntu'
Preparing boot device: dasda (0200).
Syncing disks...
Done.

# Workaround:

This causes QETH 0.0.600, 0.0.601, 0.0.602 not to come online automatically.

echo 0.0.0600,0.0.0601,0.0.0602 > /sys/bus/ccwgroup/drivers/qeth
echo 1 > /sys/devices/qeth/0.0.0600/online

"Solves" the problem when using S390-TOOLS from Debian into Xenial.

## s390-tools from XENIAL:

root@aupkg01:~# dpkg -l | grep s390-tools
ii s390-tools 1.32.0-1ubuntu2 s390x A set of fundamental utilities for Linux on S/390

root@aupkg01:~# zipl -V
Error: Internal error: Size mismatch of FBA stage 0 loader

Tags: s390 s390x sts
Revision history for this message
Rafael David Tinoco (rafaeldtinoco) wrote :

A kernel upgrade is impossible due to the fact that zipl won't work. The way to workaround this is to use s390-tools from Debian into Xenial but, then, the network devices are not brought online (due to missing CCW GROUP logic possibly).

Changed in s390-tools (Ubuntu):
status: New → Confirmed
tags: added: s390 s390x
tags: added: sts
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

size mismatch indicates a miss compilation.

lack of bringing up qeth devices indicates lack of discovery / boot integration, will investigate.

Changed in s390-tools (Ubuntu):
assignee: nobody → Dimitri John Ledkov (xnox)
importance: Undecided → Critical
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package s390-tools - 1.32.0-1ubuntu3

---------------
s390-tools (1.32.0-1ubuntu3) xenial; urgency=high

  * Do -no-pie harder. LP: #1524553.

 -- Dimitri John Ledkov <email address hidden> Fri, 11 Dec 2015 15:52:54 +0000

Changed in s390-tools (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.