← Back to team overview

kernel-packages team mailing list archive

[Bug 785394] Re: Hard-coded crashkernel=... memory reservation in /etc/grub.d/10_linux is insufficient

 

** Also affects: grub (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: kexec-tools (Ubuntu Precise)
   Importance: Undecided
       Status: New

** Also affects: grub (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: kexec-tools (Ubuntu Quantal)
   Importance: Undecided
       Status: New

** Also affects: grub (Ubuntu Raring)
   Importance: Undecided
       Status: New

** Also affects: kexec-tools (Ubuntu Raring)
   Importance: Undecided
       Status: New

** Also affects: grub (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** Also affects: kexec-tools (Ubuntu Saucy)
   Importance: Undecided
       Status: New

** No longer affects: kexec-tools (Ubuntu Precise)

** No longer affects: kexec-tools (Ubuntu Quantal)

** No longer affects: kexec-tools (Ubuntu Raring)

** No longer affects: kexec-tools (Ubuntu Saucy)

** Changed in: grub (Ubuntu)
       Status: In Progress => Fix Released

** Changed in: grub (Ubuntu)
     Assignee: Chris J Arges (arges) => (unassigned)

** Changed in: grub (Ubuntu)
   Importance: Medium => Undecided

** Changed in: grub (Ubuntu Precise)
   Importance: Undecided => Medium

** Changed in: grub (Ubuntu Precise)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: grub (Ubuntu Quantal)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: grub (Ubuntu Raring)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: grub (Ubuntu Saucy)
     Assignee: (unassigned) => Chris J Arges (arges)

** Changed in: grub (Ubuntu Precise)
       Status: New => In Progress

** Changed in: grub (Ubuntu Quantal)
       Status: New => In Progress

** Changed in: grub (Ubuntu Raring)
       Status: New => In Progress

** Changed in: grub (Ubuntu Saucy)
       Status: New => In Progress

** Changed in: grub (Ubuntu Quantal)
   Importance: Undecided => Medium

** Changed in: grub (Ubuntu Raring)
   Importance: Undecided => Medium

** Changed in: grub (Ubuntu Saucy)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kexec-tools in Ubuntu.
https://bugs.launchpad.net/bugs/785394

Title:
  Hard-coded crashkernel=... memory reservation in /etc/grub.d/10_linux
  is insufficient

Status in “grub” package in Ubuntu:
  Fix Released
Status in “kexec-tools” package in Ubuntu:
  Fix Released
Status in “grub” source package in Precise:
  In Progress
Status in “grub” source package in Quantal:
  In Progress
Status in “grub” source package in Raring:
  In Progress
Status in “grub” source package in Saucy:
  In Progress

Bug description:
  Binary package hint: grub-pc

  This concerns grub-pc 1.99~rc1-13ubuntu3 in Ubuntu Natty.

  The /etc/grub.d/10_linux file contains this snippet:

      # add crashkernel option if we have the required tools
      if [ -x "/usr/bin/makedumpfile" ] && [ -x "/sbin/kexec" ]; then
          GRUB_CMDLINE_EXTRA="$GRUB_CMDLINE_EXTRA crashkernel=384M-2G:64M,2G-:128M"
      fi

  I am on a system with 2GB of RAM (reported as 2038MB), and according
  to the kernel startup messages, 64MB is reserved for the crash kernel.

  Unfortunately, this does not appear to be enough memory for the
  regular Ubuntu kernel to boot. I am attaching a kernel log obtained
  via serial cable; it shows the initial boot, a crash in the kernel's
  video-driver-related code, the subsequent crashkernel boot, and then
  an apparent "out of memory" kernel panic. (A side effect of the
  "double crash" is that the system is left unresponsive, requiring a
  manual reset instead of rebooting itself automatically.)

  If I double the memory numbers in the crashkernel=... argument, so
  that the reservation is 128MB, the system correctly goes on to attempt
  a vmcore dump and reboot.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub/+bug/785394/+subscriptions