128M is not enough for kdump on s390 LPARs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu on IBM z Systems |
Fix Released
|
Critical
|
Louis Bouchard | ||
makedumpfile (Ubuntu) |
Invalid
|
Low
|
Skipper Bug Screeners | ||
Xenial |
Invalid
|
Low
|
Skipper Bug Screeners | ||
s390-tools (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned | ||
zipl-installer (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Unassigned |
Bug Description
== Comment: #0 - Michael Holzheu <email address hidden> - 2016-03-31 10:59:26 ==
With the current Ubuntu default setting "crashkernel=128M" kdump on LPARs crashes with out-of-memory (see attachment "dmesg_
On z/VM guests 128M seems to be sufficient.
One reason on our test LPAR is that a lot of devices are attached (see attachment "lscss_lpar.txt") which are not required for kdump but consume a lot of memory because the s390 CIO layer allocates data structures in the kernel for those devices.
We can disable the devices by using the "cio_ignore=" kernel parameter in "/etc/default/
KDUMP_CMDLINE_
For more information on the "cio_ignore=" kernel parameter see:
https:/
Even with "cio_ignore=" we still get out-of-memory with "crashkernel=128M".
With "crashkernel=196M" and "cio_ignore=" we are able to create a dump on our LPAR. We currently do not know why kdump with "cio_ignore=" on LPAR consumes more memory than on z/VM guests.
== Comment: #1 - Michael Holzheu <email address hidden> - 2016-03-31 11:03:15 ==
Kernel messages of kdump out-of-memory crash on LPAR with many devices without cio_ignore parameter and 128M crashkernel memory.
== Comment: #2 - Michael Holzheu <email address hidden> - 2016-03-31 11:04:10 ==
Output of lscss showing all attached (not online) devices on the LPAR.
== Comment: #3 - Michael Holzheu <email address hidden> - 2016-03-31 11:07:35 ==
To solve this issue our recommendation is:
1) Increase "crashkernel=" default to 196M on Ubuntu for s390.
2) Document that KDUMP_CMDLINE_
The most user friendly solution would be to automatically determine the required kdump devices and set the correct "cio_ignore=" kernel parameter. But this is not trivial, because it can be difficult to find out the required devices for stacked setups like LVM or for network dump.
affects: | ubuntu → makedumpfile (Ubuntu) |
Changed in ubuntu-z-systems: | |
importance: | Undecided → Critical |
Changed in ubuntu-z-systems: | |
assignee: | nobody → Louis Bouchard (louis-bouchard) |
Changed in makedumpfile (Ubuntu Xenial): | |
importance: | High → Low |
Changed in s390-tools (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in zipl-installer (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in s390-tools (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in zipl-installer (Ubuntu Xenial): | |
status: | New → In Progress |
Changed in ubuntu-z-systems: | |
status: | New → Fix Released |
Changed in makedumpfile (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
tags: |
added: targetmilestone-inin1604 removed: targetmilestone-inin--- |
Default Comment by Bridge