Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Alexander_Naumov:SLE-12:Update
kdump
kdump-fadump-bootloader-always.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File kdump-fadump-bootloader-always.patch of Package kdump
Date: Fri Sep 26 08:10:38 2014 +0200 From: Petr Tesarik <ptesarik@suse.cz> Subject: Always turn on fadump if KDUMP_FADUMP is true References: bsc#889192 Patch-mainline: v0.8.16 Git-commit: 1f7e52d908f0ad2b2a33cdd374a8888bcf6f8234 The problem is that fadump-related files under /sys/kernel are created only if the kernel is booted with fadump=on. So, this is a chicken-and-egg problem, and a reboot is always necessary if the current kernel is loaded without fadump=on. However, if the command line is not modified here, the admin must first add fadump=on to the bootloader command line, and then enable KDUMP_FADUMP, i.e. enable it in two different places. If the command line is modified unconditionally, there is only one "big switch" for FADUMP. Signed-off-by: Petr Tesarik <ptesarik@suse.cz> --- init/rc.kdump.functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/init/rc.kdump.functions +++ b/init/rc.kdump.functions @@ -259,6 +259,8 @@ function fadump_bootloader() # Update fadump configuration function load_kdump_fadump() { + fadump_bootloader on + if ! fadump_enabled; then echo ": fadump is not enabled in the kernel." rc_status -s @@ -266,8 +268,6 @@ function load_kdump_fadump() rc_exit fi - fadump_bootloader on - # The kernel fails with EINVAL if registered already # (see bnc#814780) if [ "$(cat $FADUMP_REGISTERED)" != "1" ]; then
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor