bug-grub
[Top][All Lists]
Advanced

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

[bug #26874] support for crashkernel= in 10_linux.in


From: Michael Vogt
Subject: [bug #26874] support for crashkernel= in 10_linux.in
Date: Wed, 24 Jun 2009 09:49:54 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11

URL:
  <http://savannah.gnu.org/bugs/?26874>

                 Summary: support for crashkernel= in 10_linux.in
                 Project: GNU GRUB
            Submitted by: mvogt
            Submitted on: Wed 24 Jun 2009 09:49:52 AM GMT
                Category: Booting
                Severity: Major
                Priority: 5 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.96
         Reproducibility: Every Time
         Planned Release: 

    _______________________________________________________

Details:

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




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 24 Jun 2009 09:49:52 AM GMT  Name: 10_crashkernel.patch  Size: 919B
  By: mvogt

<http://savannah.gnu.org/bugs/download.php?file_id=18313>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?26874>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

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