grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

support for crashkernel= in 10_linux.in


From: Michael Vogt
Subject: support for crashkernel= in 10_linux.in
Date: Wed, 24 Jun 2009 13:20:49 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

Hello,

in ubuntu we are working on making it easier to capture kernel
crashes. The system we use is based around kdump and it works by
triggering a kexec of a special crashdump kernel if the regular
kernels crashes. In order for this to work the normal kernel needs a
additional commandline option "crashkernel=".

Attached is a very simple patch that adds this option automatically if
kexec and makedumpfile are available.

If its not general enough for inclusion into the default grub2, may a
mechanism to pass additional kernel commandline paramters via some
sort of defaults.d/ directory would be the right apporoach? Then I
could just ship a config file in kexec-tools that looks like this:

GRUB_LINUX_CMDLINE_EXTRA="$GRUB_LINUX_CMDLINE_EXTRA 
crashkernel=384M-2G:64M,2G-:128M"


Thanks,
 Michael

P.S. I also put the patch in the bugtracker at
https://savannah.gnu.org/bugs/?26874

Attachment: 10_crashkernel.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]