Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Default for KDUMP_AUTO_RESIZE to "no" #133

Merged
merged 3 commits into from Dec 7, 2022

Conversation

shundhammer
Copy link
Contributor

@shundhammer shundhammer commented Dec 7, 2022

Bugzilla

https://bugzilla.suse.com/show_bug.cgi?id=1205816

Problem

The new KDUMP_AUTO_RESIZE causes problems with Xen virtualization: Both subsystems have a race condition against each other with memory allocation, and the Xen guest finally throws a kernel panic.

Cause

The deeper cause must be left to the kernel experts to discuss.

But one of the latest changes to yast-kdump switched that new feature on by default, and after a long discussion this turned out to be wrong:

https://github.com/openSUSE/kdump/blob/SLE-15-SP5/sysconfig.kdump.in#L57-L65

## Type:        yesno
## Default:     "no"
#
# When this option is set to yes, kdump tries to shrink the crash
# kernel reservation at boot.
#
# See also: kdump(6).
#
KDUMP_AUTO_RESIZE="no"

Fix

Set the default to "no". That is what this PR does.

Side Effect

The default crash kernel sizes now shrink dramatically.

@shundhammer shundhammer changed the title Changed Default for KDUMP_AUTO_RESIZE to "no" Change Default for KDUMP_AUTO_RESIZE to "no" Dec 7, 2022
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 39.89% when pulling e08165f on huha-no-auto-resize into 06124bf on master.

@shundhammer shundhammer merged commit 0125c67 into master Dec 7, 2022
@shundhammer shundhammer deleted the huha-no-auto-resize branch December 7, 2022 17:57
@yast-bot
Copy link
Contributor

yast-bot commented Dec 7, 2022

✔️ Public Jenkins job #43 successfully finished
✔️ Created OBS submit request #1041196

@yast-bot
Copy link
Contributor

yast-bot commented Dec 7, 2022

❌ Internal Jenkins job #32 failed

@yast-bot
Copy link
Contributor

yast-bot commented Dec 8, 2022

❌ Internal Jenkins job #33 failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants