Missing /boot/vmcoreinfo-{version} file is breaking kdump
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kexec-tools (Ubuntu) |
Fix Released
|
High
|
Louis Bouchard | ||
Precise |
Fix Released
|
High
|
Louis Bouchard | ||
Quantal |
Fix Released
|
High
|
Louis Bouchard |
Bug Description
[Impact] The kernel package no longer delivers the vmcoreinfo file so the kdump functionality is now broken.
When using linux-image-
This is caused by the following test in /etc/init.d/kdump :
KERNEL_
INITRD=
VMCORE=
# Without makedumpfile, there will be no vmcore on crash, so no point
test -x /usr/bin/
if [ ! -e "$VMCORE" -o ! -e "$KERNEL_IMAGE" -o ! -e "$INITRD" ]; then
exit 0;
fi
The /boot/vmcoreinf
[Test Case]
While running a 12.04 Precise system, install the linux-crashdump package that will enable the kdump functionality. Reboot the server then, as root, issue the following :
$ echo c > /proc/sysrq-trigger
Normally, the kernel dump should be created in /var/crash. Currently the kdump process fails silently and the system reboots.
[Regression Potential]
Upstream developer of makedumpfile which produces the vmcoreinfo file has confirmed that vmcoreinfo is no longer required (http://
Package : linux-image-
Release : Ubuntu 12.04 LTS
---
AlsaDevices:
total 0
crw-rw---T 1 root audio 116, 1 Apr 25 15:19 seq
crw-rw---T 1 root audio 116, 33 Apr 25 15:19 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.0.1-0ubuntu5
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
CRDA: Error: [Errno 2] No such file or directory
CurrentDmesg: [ 15.888032] eth0: no IPv6 routers present
DistroRelease: Ubuntu 12.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Alpha amd64 (20111220)
IwConfig:
lo no wireless extensions.
eth0 no wireless extensions.
Lsusb: Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: Bochs Bochs
Package: linux (not installed)
PciMultimedia:
ProcEnviron:
TERM=linux
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.79
RfKill: Error: [Errno 2] No such file or directory
Tags: precise
Uname: Linux 3.2.0-6-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
dmi.bios.date: 01/01/2007
dmi.bios.vendor: Bochs
dmi.bios.version: Bochs
dmi.chassis.type: 1
dmi.chassis.vendor: Bochs
dmi.modalias: dmi:bvnBochs:
dmi.product.name: Bochs
dmi.sys.vendor: Bochs
Related branches
- Martin Pitt: Approve
-
Diff: 73 lines (+12/-8) (has conflicts)3 files modifieddebian/changelog (+10/-0)
debian/kdump.init.d (+1/-2)
debian/kdump.initramfs (+1/-6)
affects: | linux-meta (Ubuntu) → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | New → Confirmed |
Changed in linux (Ubuntu Precise): | |
importance: | Undecided → Medium |
Changed in linux (Ubuntu Quantal): | |
importance: | Undecided → Medium |
tags: | added: patch |
description: | updated |
Changed in kexec-tools (Ubuntu Precise): | |
importance: | Medium → High |
Changed in kexec-tools (Ubuntu Quantal): | |
importance: | Medium → High |
apport information