When trying to IPL with the HMC setting "Enable Secure Boot for Linux" selected, the system did not start. HMC messages are:
Preparing system.
Starting system.
System version 8.
Watchdog enabled.
Running 'ZBootLoader' version '1.0.0' level 'D41C.D41C_0013'.
ZBootLoader 2.0.0.
MLOLOA6269050E Secure IPL: Execute entry does not point to the beginning of a si
gned component on device HBA=0.0.1900, WWPN=500507630B01C320, LUN=40504047000000
00.
IPL failed.
With the setting "secure=1" in /etc/zipl.conf, the zipl command yields the following output:
------- Comment From <email address hidden> 2020-02-03 07:03 EDT-------
Retest by doing an "apt upgrade" which provided
root@t35lp36:~# apt list --installed s390-tools focal,now 2.12.0-0ubuntu1 s390x [installed]
Listing... Done
s390-tools/
root@t35lp36:~#
When trying to IPL with the HMC setting "Enable Secure Boot for Linux" selected, the system did not start. HMC messages are:
Preparing system.
Starting system.
System version 8.
Watchdog enabled.
Running 'ZBootLoader' version '1.0.0' level 'D41C.D41C_0013'.
ZBootLoader 2.0.0.
MLOLOA6269050E Secure IPL: Execute entry does not point to the beginning of a si 01C320, LUN=40504047000000
gned component on device HBA=0.0.1900, WWPN=500507630B
00.
IPL failed.
With the setting "secure=1" in /etc/zipl.conf, the zipl command yields the following output:
root@t35lp36:/# zipl -V tools/zipl_ helper. device- mapper /boot ....... ....... ....... ....: fd:00 *) ....... ....... ....... .: fd:01 ....... ....... ....: dm-0 ....... ....... ....... ....: disk partition ....... ....... ......: SCSI disk layout *) ....... ....... : 2048 *) dc6b7633- 49f0-4095- 8c35-678cbc212c a5 crashkernel=196M' 0x00005fff 0x0000ffff 0x0000dfff 0x000091ff 0x007d8fff 0x007da1ff 0x01a883ff img.old dc6b7633- 49f0-4095- 8c35-678cbc212c a5 crashkernel=196M' 0x00005fff 0x0000ffff 0x0000dfff 0x000091ff 0x007d7fff 0x007d91ff 0x01a865ff
Using config file '/etc/zipl.conf'
Run /lib/s390-
Target device information
Device.
Partition.
Device name...
Device driver name..............: device-mapper
Type...
Disk layout.
Geometry - start..
File system block size..........: 4096
Physical block size.............: 512 *)
Device size in physical blocks..: 37746688
*) Data provided by script.
Building bootmap in '/boot'
Building menu 'menu'
Adding #1: IPL section 'ubuntu' (default)
initial ramdisk...: /boot/initrd.img
kernel image......: /boot/vmlinuz
kernel parmline...: 'root=UUID=
component address:
heap area.......: 0x00002000-
stack area......: 0x0000f000-
internal loader.: 0x0000a000-
parameters......: 0x00009000-
kernel image....: 0x00010000-
parmline........: 0x007da000-
initial ramdisk.: 0x007e0000-
Adding #2: IPL section 'old'
initial ramdisk...: /boot/initrd.
kernel image......: /boot/vmlinuz.old
kernel parmline...: 'root=UUID=
component address:
heap area.......: 0x00002000-
stack area......: 0x0000f000-
internal loader.: 0x0000a000-
parameters......: 0x00009000-
kernel image....: 0x00010000-
parmline........: 0x007d9000-
initial ramdisk.: 0x007e0000-
Preparing boot device: dm-0.
Detected SCSI PCBIOS disk layout.
Writing SCSI master boot record.
Syncing disks...
Done.
root@t35lp36:/#
In this output there is no line that reads "signature for ..." which leads to the assumption that the Ubuntu kernel is not (yet) signed.
root@t35lp36:~# uname -a
Linux t35lp36 5.4.0-12-generic #15-Ubuntu SMP Tue Jan 21 17:56:00 UTC 2020 s390x s390x s390x GNU/Linux
root@t35lp36:~#
I tried the former kernel 5.4.0-9-generic too but the result is just the same.
So the fix cannot be tested with the "as-is" distro kernels.