Hard-coded crashkernel=... memory reservation in /etc/grub.d/10_linux is insufficient
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
kexec-tools (Ubuntu) |
Fix Released
|
Medium
|
Chris J Arges |
Bug Description
Binary package hint: grub-pc
This concerns grub-pc 1.99~rc1-13ubuntu3 in Ubuntu Natty.
The /etc/grub.
# add crashkernel option if we have the required tools
if [ -x "/usr/bin/
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-
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.
Related branches
no longer affects: | grub2 (Ubuntu) |
no longer affects: | grub2 (Ubuntu Precise) |
no longer affects: | grub2 (Ubuntu Raring) |
no longer affects: | grub2 (Ubuntu Quantal) |
no longer affects: | grub2 (Ubuntu Saucy) |
no longer affects: | grub2 (Ubuntu Trusty) |
no longer affects: | kexec-tools (Ubuntu) |
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) |
no longer affects: | kexec-tools (Ubuntu Trusty) |
Changed in grub (Ubuntu): | |
assignee: | nobody → Chris J Arges (arges) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in kexec-tools (Ubuntu): | |
assignee: | nobody → Chris J Arges (arges) |
importance: | Undecided → Medium |
status: | New → In Progress |
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 |
assignee: | Chris J Arges (arges) → nobody |
importance: | Medium → Undecided |
Changed in grub (Ubuntu Precise): | |
importance: | Undecided → Medium |
assignee: | nobody → Chris J Arges (arges) |
Changed in grub (Ubuntu Quantal): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in grub (Ubuntu Raring): | |
assignee: | nobody → Chris J Arges (arges) |
Changed in grub (Ubuntu Saucy): | |
assignee: | nobody → 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 |
no longer affects: | grub (Ubuntu Raring) |
no longer affects: | grub (Ubuntu Quantal) |
no longer affects: | grub (Ubuntu Saucy) |
Changed in grub (Ubuntu Precise): | |
assignee: | Chris J Arges (arges) → nobody |
status: | In Progress → Confirmed |
importance: | Medium → Undecided |
Hmm. 128MiB seems like an awful lot to reserve, particularly towards the lower end of that memory range. It would be nice to not need quite so much.