Use the kernel default for crashkernel offset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Ubuntu-power-systems project |
Fix Released
|
High
|
Canonical Kernel Team | ||
makedumpfile (Ubuntu) |
Fix Released
|
High
|
Connor Kuehl | ||
Xenial |
Fix Released
|
High
|
Connor Kuehl | ||
Bionic |
Fix Released
|
High
|
Connor Kuehl | ||
Disco |
Fix Released
|
High
|
Connor Kuehl | ||
Eoan |
Fix Released
|
High
|
Connor Kuehl | ||
Focal |
Fix Released
|
High
|
Connor Kuehl |
Bug Description
[Impact]
* The value chosen for ppc64el of 128MB aligns with that of the kernel default. That may change some day, so it would be best to let the kernel decide what value it should use. If the value does change and the kernel is not allowed to choose a value, this may stop the kernel from booting on a production system.
[Test Case]
Run `cat /etc/default/
* Expected result: there is no offset specified at the end of the line (.e.g, @128M).
* Actual result: For Xenial, Bionic, Disco, and Eoan there are offsets specified.
[Regression Potential]
* Right now, the offset described in the kdump-tools.cfg aligns with that of what the kernel would select, so since they are the same we would expect no change in operation.
Original bug description follows:
-------
== Comment: #0 - Hari Krishna Bathini <email address hidden> - 2018-01-08 01:06:41 ==
---Problem Description---
A default offset of 128MB is enforced for crashkernel by kdump-tools utility
overriding the kernel default.
While the kernel default offset for crashkernel is also 128MB, that may change
and the right thing to do would be to let the kernel decide on the offset of
crashkernel in the default scenario..
Get rid of "@128M" in kdump-tools.cfg file
Contact Information = <email address hidden>
---uname output---
na
Machine Type = na
---Debugger---
A debugger is not configured
---Steps to Reproduce---
# cat /etc/default/
GRUB_CMDLINE_
---
The offset is specified via kdump-tools where as the kernel may be the right place to
set an offset by default..
Userspace tool common name: kdump-tools
The userspace tool has the following bit modes: 64-bit
Userspace rpm: kdump-tools
Userspace tool obtained from project website: na
*Additional Instructions for <email address hidden>:
-Attach ltrace and strace of userspace application.
== Comment: #3 - MAMATHA INAMDAR <email address hidden> - 2018-01-08 03:05:05 ==
This bug is opened to follow-up other bug based on the comment 19
https:/
tags: | added: architecture-ppc64le bugnameltc-163190 severity-medium targetmilestone-inin--- |
Changed in ubuntu: | |
assignee: | nobody → Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) |
affects: | ubuntu → makedumpfile (Ubuntu) |
Changed in ubuntu-power-systems: | |
importance: | Undecided → Medium |
assignee: | nobody → Canonical Kernel Team (canonical-kernel-team) |
status: | New → Triaged |
tags: | added: ppc64el-kdump triage-g |
Changed in ubuntu-power-systems: | |
status: | Triaged → In Progress |
Changed in makedumpfile (Ubuntu): | |
importance: | Undecided → Medium |
assignee: | Ubuntu on IBM Power Systems Bug Triage (ubuntu-power-triage) → Canonical Kernel Team (canonical-kernel-team) |
Changed in makedumpfile (Ubuntu): | |
status: | New → In Progress |
Changed in ubuntu-power-systems: | |
status: | In Progress → Incomplete |
Changed in makedumpfile (Ubuntu): | |
status: | In Progress → Incomplete |
Changed in ubuntu-power-systems: | |
status: | Incomplete → Confirmed |
Changed in makedumpfile (Ubuntu): | |
status: | Incomplete → Confirmed |
importance: | Medium → High |
Changed in ubuntu-power-systems: | |
importance: | Medium → High |
Changed in makedumpfile (Ubuntu Disco): | |
status: | New → In Progress |
Changed in makedumpfile (Ubuntu Eoan): | |
status: | Confirmed → In Progress |
Changed in makedumpfile (Ubuntu Bionic): | |
status: | New → In Progress |
Changed in makedumpfile (Ubuntu Xenial): | |
status: | New → In Progress |
assignee: | nobody → Connor Kuehl (connork) |
Changed in makedumpfile (Ubuntu Bionic): | |
assignee: | nobody → Connor Kuehl (connork) |
Changed in makedumpfile (Ubuntu Disco): | |
assignee: | nobody → Connor Kuehl (connork) |
Changed in makedumpfile (Ubuntu Eoan): | |
assignee: | Thadeu Lima de Souza Cascardo (cascardo) → Connor Kuehl (connork) |
Changed in makedumpfile (Ubuntu Disco): | |
importance: | Undecided → High |
Changed in makedumpfile (Ubuntu Bionic): | |
importance: | Undecided → High |
Changed in makedumpfile (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in ubuntu-power-systems: | |
status: | Confirmed → In Progress |
tags: |
added: verification-done verification-done-disco removed: verification-needed verification-needed-disco |
Changed in ubuntu-power-systems: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-power-systems: | |
status: | Fix Committed → Fix Released |
------- Comment From <email address hidden> 2018-01-22 13:19 EDT------- grub.d/ kdump-tools. cfg LINUX_DEFAULT= "$GRUB_ CMDLINE_ LINUX_DEFAULT 2G-4G:320M, 4G-32G: 512M,32G- 64G:1024M, 64G-128G: 2048M,128G- :
(In reply to comment #0)
> ---Problem Description---
> A default offset of 128MB is enforced for crashkernel by kdump-tools utility
> overriding the kernel default.
>
> While the kernel default offset for crashkernel is also 128MB, that may
> change
> and the right thing to do would be to let the kernel decide on the offset of
> crashkernel in the default scenario..
>
> Get rid of "@128M" in kdump-tools.cfg file
>
>
> Contact Information = <email address hidden>
>
> ---uname output---
> na
>
> Machine Type = na
>
> ---Debugger---
> A debugger is not configured
>
> ---Steps to Reproduce---
> # cat /etc/default/
> GRUB_CMDLINE_
> crashkernel=
> 4096M@128M"
While the offset is changed to 128MB in some releases, it is still 32M on some.
Having the default crashkernel offset as 32MB is NOT a good idea. It would leave
the production kernel un-bootable. Please drop the offset of 32M/128M and
let the kernel decide on the offset in default case to ensure we don't end up
in a scenario where production kernel is unbootable. This applies to all
Canonical releases..
Thanks
Hari