[UBUNTU 18.04] Ubuntu 18.04 kernel 4.15.0-194 crashes on IPL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Critical
|
Skipper Bug Screeners | ||
linux (Ubuntu) |
Invalid
|
Undecided
|
Canonical Kernel Team | ||
Bionic |
Fix Released
|
Undecided
|
Luke Nowakowski-Krijger |
Bug Description
SRU Justification:
==================
[ Impact ]
* Ubuntu 18.04 / bionic installations with latest kernel 4.15.0-194
are no longer able to IPL (boot) on IBM z14 or newer hardware.
* This issue got introduced by upstream commit e4f74400308c
"s390/
that was SRUed to 18.04/bionic based on LP#1989625,
which made changes in the s390s IPL/boot area of kernel/arch/random.
* The reason seems to be that the bad patch moves the decision about
if arch randomness is available to setup.c function setup_randomness().
This code uses a static_key s390_arch_
But in the Canonical kernel the initialization function
for the jump labels (where the static keys are based on)
jump_
wheres in the upstream kernel the init function is
called early in setup_arch().
* Reverting this commit from bionic master-next makes bionic systems
again bootable.
(https:/
[ Test Plan ]
* An IBM z14 or LinuxONE II or newer system is needed.
* Now install latest bionic on that system - doesn't if it's on LPAR,
z/VM or KVM.
* After the installation (an the trigger of the post install reboot),
the system will not come up.
* To test a patched kernel with e4f74400308c can be tested in the
following way:
* Install 18.04 GA and prevent it from doing any kernel updates.
* Means, install in 'island' mode
or select in d-i 'Advanced Installation'
and explicitly choose '4.15.0-50 generic' to install.
* That allows the system to come up and to update the kernel to
a modified one.
* Then reboot and verify if the system comes up properly.
[ Where problems could occur ]
* Problems could occur due to the fact that the commit
was not cleanly reversible because of minor context changes.
* Adjustments that were needed might break other things if not
done carefully.
* Further commits (applied after e4f74400308c) may still rely
on the bad e4f74400308c commit - or even further patches
(from upstream stable).
* In worst case IPL / boot might get broken,
even on hardware older than z14.
* If the revert works fine can be easily tested and was tested based on
https:/
and the above test plan.
[ Other Info ]
* Ubuntu 20.04 (focal, using legacy image with virt-install)
was tested as well, but is not affected by this issue.
__________
---Problem Description---
Ubuntu 18.04 crashes during IPL with no output on the console.
Contact Information = Viktor Mihajlovski <email address hidden>
---uname output---
n/a
Machine Type = 3096
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install Ubuntu 18.04 as a KVM guest using the following command:
virt-install -n bionic --cdrom /var/lib/
then reboot.
Stack trace output:
no
Oops output:
no
== Comment: #1 - Viktor Mihajlovski <email address hidden> - 2022-10-25 10:48:30 ==
Installing under z/VM leads to the same failure.
== Comment: #2 - Viktor Mihajlovski <email address hidden> - 2022-10-25 10:55:10 ==
I have captured a dump using virsh dump --memory-only. The output of crash log is uploaded
== Comment: #7 - Harald Freudenberger <email address hidden> - 2022-10-26 07:33:52 ==
Looks like all ubuntu 18.04 installations on s390 are not working any more.
It is not an issue with z14 but z17 also fails to run a fresh installed ubuntu 18.04.
== Comment: #8 - Harald Freudenberger <email address hidden> - 2022-10-26 08:25:52 ==
when I use the 'advanced installation' where I am able to choose the kernel package and then choose the 4.15.0-50 generic the installed Ubuntu 18.04 comes up fine. So this issue is somewhere between kernel 4.15.0-50 and 4.15.0-194.
tags: | added: patch |
description: | updated |
summary: |
- [UBUNTU 18.04] Ubuntu 18.04 crashes during IPL + [UBUNTU 18.04] Ubuntu 18.04 kernel 4.15.0-194 crashes on IPL |
Changed in linux (Ubuntu Bionic): | |
assignee: | nobody → Luke Nowakowski-Krijger (lukenow) |
status: | New → Fix Committed |
Changed in ubuntu-z-systems: | |
status: | In Progress → Fix Committed |
tags: |
added: targetmilestone-inin1804 removed: targetmilestone-inin--- |
Changed in linux (Ubuntu): | |
status: | In Progress → Invalid |
Changed in ubuntu-z-systems: | |
status: | Fix Committed → Fix Released |
Default Comment by Bridge